Пытаюсь MEncoderom AVI файл переконвертировать в FLV.
mencoder video.avi -of lavf -lavfopts format=flv:i_certify_that_my_video_stream_does_not_use_b_frames -ovc lavc -oac mp3lame -o video.flv
Вот что получаю в ответ
MEncoder 1.0rc1-4.0.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 47, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
success: format: 0 data: 0x0 - 0x1d64000
** MUXER_LAVF *****************************************************************
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
AVI file format detected.
VIDEO: [DIV3] 512x419 24bpp 25.000 fps 940.2 kbps (114.8 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:512x419 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm: ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Exiting...
После чего создается пустой файл video.flv в 0 байт. Что ему не нравится в B-кадрах? Как избежать этой ошибки?