Skip to contentSkip to conversation

dvb mpeg2?

linux-dvb Tobias Stoeber 5 participants 9 messages Jul 24, 2008 – Jul 25, 2008 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Tim Farrington

Can you please give me some guidance as to how to discover what format is output from the v4l-dvb driver.

The DVB-T standard is, as I understand it, MPEG2, however with kaffeine, me-tv, mplayer if I record to a file, (dump from the raw data stream),
it appears to be stored as a MPEG1 file.
If I use GOPchop, it will not open any of these files, as it will only open MPEG2 files.

Well if I remember it right, a DVB stream (in MPEG2) is MPEG2-TS and GOPchop will handle MPEG2-PS!

Cheers, Tobias

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw
Quoted 11 lines · Tobias Stoeber
Quoted 9 lines · Tim Farrington

Can you please give me some guidance as to how to discover what format is output from the v4l-dvb driver.

The DVB-T standard is, as I understand it, MPEG2, however with kaffeine, me-tv, mplayer if I record to a file, (dump from the raw data stream),
it appears to be stored as a MPEG1 file.
If I use GOPchop, it will not open any of these files, as it will only open MPEG2 files.

Quoted 5 lines

Well if I remember it right, a DVB stream (in MPEG2) is MPEG2-TS and GOPchop will handle MPEG2-PS!

Cheers, Tobias

Hi Tobias,
Do you mean GOPchop won't open MPEG2-TS?

What I'm after is some tool/means which will accurately display a format descriptor for
a MPEG(x) file/stream.

MPEG2-TS is what is supposed to be the format, but how can I discover if it really is?

Regards,
Tim Farrington

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw

Hi Tim,

Quoted 1 line · Tim Farrington

Do you mean GOPchop won't open MPEG2-TS?

Yes, that's what I suppose. That it won't open MPEG2-TS.

Quoted 6 lines

What I'm after is some tool/means which will accurately display a format descriptor for
a MPEG(x) file/stream.

MPEG2-TS is what is supposed to be the format, but how can I discover if it really is?

Well, you could possibly try

mplayer -identify -vo null -ao null file.mpg

Cheers, Tobias

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#4 lore raw
In reply to Tim Farrington
Quoted 24 lines · On Thursday 24 July 2008 13:13:51 Tim Farrington wrote:
Quoted 11 lines · Tobias Stoeber
Quoted 9 lines · Tim Farrington

Can you please give me some guidance as to how to discover what format is output from the v4l-dvb driver.

The DVB-T standard is, as I understand it, MPEG2, however with kaffeine, me-tv, mplayer if I record to a file, (dump from the raw data stream),
it appears to be stored as a MPEG1 file.
If I use GOPchop, it will not open any of these files, as it will only open MPEG2 files.

Quoted 4 lines

Well if I remember it right, a DVB stream (in MPEG2) is MPEG2-TS and GOPchop will handle MPEG2-PS!

Cheers, Tobias

Hi Tobias,
Do you mean GOPchop won't open MPEG2-TS?

What I'm after is some tool/means which will accurately display a format descriptor for
a MPEG(x) file/stream.

Quoted 6 lines

MPEG2-TS is what is supposed to be the format, but how can I discover if it really is?

Regards,
Tim Farrington

www.avidemux.org will open it.
file file.ts should say something about it

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#6 lore raw
In reply to Nico Sabbi
Quoted 36 lines · Nico Sabbi
Quoted 26 lines · On Thursday 24 July 2008 13:13:51 Tim Farrington wrote:
Quoted 12 lines · Tobias Stoeber
Quoted 10 lines · Tim Farrington

Can you please give me some guidance as to how to discover what format is output from the v4l-dvb driver.

The DVB-T standard is, as I understand it, MPEG2, however with kaffeine, me-tv, mplayer if I record to a file, (dump from the raw data stream),
it appears to be stored as a MPEG1 file.
If I use GOPchop, it will not open any of these files, as it will only open MPEG2 files.

Quoted 5 lines

Well if I remember it right, a DVB stream (in MPEG2) is MPEG2-TS and GOPchop will handle MPEG2-PS!

Cheers, Tobias

Hi Tobias,
Do you mean GOPchop won't open MPEG2-TS?

What I'm after is some tool/means which will accurately display a format descriptor for
a MPEG(x) file/stream.

Quoted 7 lines

MPEG2-TS is what is supposed to be the format, but how can I discover if it really is?

Regards,
Tim Farrington

Quoted 9 lines

www.avidemux.org will open it.
file file.ts should say something about it

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Hi Nico,
I was a huge fan of avidemux until about 2 hours ago when I discovered that editing a file caused all sorts of grief with a/v sync. Its doc's tell me to send the file through Projectx first, etc

Hence, I was attracted to gopchop.

All I would like is an mpeg gui editor which can simply edit a file dumped from
my dvb stream. I've tried many such as Cinerra (I think that's its name), but this help from Tobias may give me a clue as to why many of them won't open
these files - they are MPEG2-TS and the apps perhaps need MPEG2-PS

Regards,
Tim Farrington

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#7 lore raw
Quoted 6 lines · On Thursday 24 July 2008 14:02:17 you wrote:

Hi Nico,
I was a huge fan of avidemux until about 2 hours ago when I discovered that editing a file caused all sorts of grief with a/v sync. Its doc's tell me to send the file through Projectx first, etc

avidemux is still the way to go: in order to fix the synchrony just run mplayer on the file beforehand taking notice of the value of "rc" on the status line when the delay between audio and video drops to 0, then insert that value in the delay field of avidemux (-N)

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#8 lore raw
In reply to Tim Farrington
Quoted 5 lines · On Thursday 24 July 2008 13:02:17 Tim Farrington wrote:

Hi Nico,
I was a huge fan of avidemux until about 2 hours ago when I discovered that editing a file caused all sorts of grief with a/v sync. Its doc's tell me to send the file through Projectx first, etc

Quoted 8 lines

Hence, I was attracted to gopchop.

All I would like is an mpeg gui editor which can simply edit a file dumped from
my dvb stream. I've tried many such as Cinerra (I think that's its name), but this help from Tobias may give me a clue as to why many of them won't open
these files - they are MPEG2-TS and the apps perhaps need MPEG2-PS

I tend to use dvbcut for editing MPEG2-TS files these days unless it's a programme I recorded from five US then I have to run it through projectx and avidemux first otherwise I get a flickering effect when I play the file from DVD.

Signature · 9 lines
|\  /| ark Fraser  /Registered Linux User #466407
| \/ | Somerset   /Using Kmail on Kubuntu Hardy Heron
|    |___________/You know what the sig means! 


_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#9 lore raw
In reply to Tim Farrington
Quoted 5 lines

MPEG2-TS is what is supposed to be the format, but how can I discover if it really is?

Regards,
Tim Farrington

I use mplayer e.g.

mplayer -identify 06-29_20_00_Top_Gear.ts -frames 0 -vo null -nosound

Which after lots of output finally gives the following and you can see at the bottom in my case that this is a Mpeg 1/2 video, which is encapsulated inside an mpegts file (ID_DEMUXER line below). For reference I recorded this file from my DVB-T USB stick using mplayer with the -dumpstream command.

VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 6500.0 kbps (812.5 kbyte/s) ID_FILENAME=06-29_20_00_Top_Gear.ts
ID_DEMUXER=mpegts
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=6500000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_LENGTH=2074.19
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 720x576 => 720x576 Mpeg PES
Selected video codec: [mpegpes] vfm: mpegpes (MPEG-PES output (.mpg or DXR3/IVTV/DVB card))
==========================================================================
ID_VIDEO_CODEC=mpegpes
Audio: no sound
Starting playback...

Exiting... (End of file)

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb