[linux-dvb] dvb mpeg2?

Stephen Rowles stephen at rowles.org.uk
Thu Jul 24 13:47:51 CEST 2008


> 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)





More information about the linux-dvb mailing list