[MPlayer-users] mencoder error "VDecoder init failed :("

The Wanderer inverseparadox at comcast.net
Mon Jul 14 22:17:52 CEST 2008


Евгений Шаповал wrote:

> Hi all
> 
> I try convert mpg video to flv, and I have some errors:
> 
> % mencoder 1.mpg -ofps 25 -o 2.flv -of lavf -oac mp3lame -lameopts
> abr:br=64 -srate 22050 -ovc lavc -lavcopts
> vcodec=flv:keyint=50:vbitrate=300:mbd=2:mv0:trell:v4mv:cbp:last_pred=3
> 
> MEncoder 1.0rc2-3.4.6 (C) 2000-2007 MPlayer Team

This is fairly old by now; you are highly advised to update to the
latest SVN version.

> CPU: Intel(R) Celeron(R) CPU 3.33GHz (Family: 15, Model: 4, Stepping: 9)
> CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> 
> success: format: 0  data: 0x0 - 0x148335
> MPEG-PS file format detected.
> VIDEO:  MPEG1  320x240  (aspect 8)  25.000 fps  400.0 kbps (50.0 kbyte/s)
> [V] filefmt:2  fourcc:0x10000001  size:320x240  fps:25.00  ftime:=0.0400
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> ** MUXER_LAVF *****************************************************************
> REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
> INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
> will play these INCORRECT files as if nothing were wrong!
> *******************************************************************************
> OK, exit
> 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 - 320 x 240 (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: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
> Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
> ==========================================================================
> 
> Can you help me?! :'(

I don't see any obvious errors in the output you posted. There is one
big fat warning about B-frames when muxing with libavformat, but since
you aren't using B-frames that isn't a problem; there is one report of a
failed attempt to use the mpegpes decoder, but when that failed it tried
(and apparently succeeded) to use libmpeg12 instead.

What problems are you seeing?

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.



More information about the MPlayer-users mailing list