[MEncoder-users] Cannot open mpeg2 DVB-Recording with newer versions of mencoder

Bernd Butscheidt bbutscheidt at yahoo.de
Sat Oct 31 14:21:59 CET 2009


Hello,


this one works:

-------------

mplayer test.m2v


MPlayer SVN-r29796-4.3.3 (C) 2000-2009 MPlayer Team  

Playing test.m2v.
MPEG-ES file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9000.0 kbps (1125.0 kbyte/s)
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12
V:   3.8  94/ 94 20%  4%  0.0% 0 0


--------


Now opening the same file "test.m2v" with mencoder to reencode it:

-------

mencoder -ovc lavc -audiofile test.ac3 -channels 2 -oac copy -lavcopts
vcodec=mpeg4:vqscale=2:vmax_b_frames=0:vrc_buf_size=1835:vrc_maxrate=4000
test.m2v -o test.avi

MEncoder SVN-r29796-4.3.3 (C) 2000-2009 MPlayer Team 
success: format: 0  data: 0x0 - 0xe8f85474 
MPEG-ES file format detected. 
libavformat file format detected. 
[ac3 @ 0x27c06d0]max_analyze_duration reached 
[lavf] Audio stream found, -aid 0 
[V] filefmt:65536  fourcc:0x0  size:0x0  fps:0.000  ftime:=0.0000 
Opening video filter: [expand osd=1] 
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 0 
========================================================================== 
Opening video decoder: [raw] RAW Uncompressed Video 
VDecoder init failed :( 
Opening video decoder: [raw] RAW Uncompressed Video 
VDecoder init failed :( 
Opening video decoder: [raw] RAW Uncompressed Video
.
.
.
Opening video decoder: [raw] RAW Uncompressed Video
VDecoder init failed :(
Opening video decoder: [hmblck] Hauppauge Macroblock/NV12/NV21 Decoder
VDecoder init failed :(
Opening video decoder: [hmblck] Hauppauge Macroblock/NV12/NV21 Decoder
VDecoder init failed :(
Opening video decoder: [hmblck] Hauppauge Macroblock/NV12/NV21 Decoder
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x0

-----------------



Using an older version with the same command:


------------

mencoder -ovc lavc -audiofile test.ac3 -channels 2 -oac copy -lavcopts vcodec=mpeg4:vqscale=2:vmax_b_frames=0:vrc_buf_size=1835:vrc_maxrate=4000 test.m2v -o test.avi     



MEncoder SVN-r29463-4.3.3 (C) 2000-2009 MPlayer Team                                                   
success: format: 0  data: 0x0 - 0xe8f85474 
MPEG-ES file format detected. 
libavformat file format detected. 
[lavf] Audio stream found, -aid 0 
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9000.0 kbps (1125.0 kbyte/s) 
[V] filefmt:65536  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400 
Opening video filter: [expand osd=1] 
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 
========================================================================== 
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough 
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES) 
Could not find matching colorspace - retrying with -vf scale... 
Opening video filter: [scale] 
The selected video_out device is incompatible with this codec. 
Try appending the scale filter to your filter list, 
e.g. -vf spp,scale instead of -vf spp. 
VDecoder init failed :( 
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family 
Unsupported PixelFormat -1 
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) 
==========================================================================
audiocodec: framecopy (format=2000 chans=6 rate=48000 bits=0 B/s=56000 sample-0)
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4])
[VE_LAVC] Using constant qscale = 2.000000 (VBR).
Writing header...1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

1 duplicate frame(s)!
Pos:   7.0s    175f ( 0%) 26.26fps Trem:   0min   0mb  A-V:0.000 [2381:448]


------------------


So the file test.m2v, which is a DVB-Recording demuxed by ProjectX, can be played with any recent mplayer version I tried, but not with the newer corresponding ones of mencoder.

What has changed?

Kind regards
Bernd

P.S: I also posted this on the bugs.gentoo.org ( http://bugs.gentoo.org/show_bug.cgi?id=285839 ), because I am using this distribution here.


      


More information about the MEncoder-users mailing list