[MPlayer-users] help converting avi to flv (my command fails)

Christopher J. Bottaro cjbottaro at alumni.cs.utexas.edu
Fri Nov 17 19:12:29 CET 2006


Hello,
I got the following command off a blog, but it fails when I try to run it:
mencoder test1.avi -o testflv -of lavf -oac mp3lame -lameopts
abr:br=64 -srate 22050 -ovc lavc -lavfopts
i_certify_that_my_video_stream_does_not_use_b_frames -lavcopts
vcodec=flv:keyint=50:vbitrate=300:mbd=2:mv0:trell:v4mv:cbp:last_pred=3

with error:
MEncoder 2:0.99+1.0pre8-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU:         Intel(R) Pentium(R) M processor 1.60GHz (Family: 6, Model: 13,
Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x354270
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO:  [CRAM]  320x240  16bpp  15.000 fps  3454.5 kbps (421.7 kbyte/s)
[V] filefmt:3  fourcc:0x4D415243  size:320x240  fps:15.00  ftime:=0.0667
** 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!
*******************************************************************************
CAN'T GET SPECIFIED FORMAT
Cannot initialize muxer.
Exiting...


Any ideas?  Mplayer can play flv files just fine on my system and I have all
the win32 codecs installed.

Thanks for the help.




More information about the MPlayer-users mailing list