[MPlayer-users] Some issues in FLV encoding

Alexander Bokovikov openworld at uralweb.ru
Mon Feb 25 11:00:14 CET 2008

John Brown wrote:

> Perhaps, but there is no way to know without posting your command line.

mencoder infile.mov -o outfile.flv -ofps 15 -of lavf -oac mp3lame -lameopts 
abr:br=64 -srate 22050 -ovc lavc -lavcopts 

I tried to remove all video codec options but br:256 with no luck -- result 
was just the same -- video is going faster than audio.

I tried mute video creation using this command line:

mencoder infile.mov -o outfile.flv -nosound -ofps 15 -of lavf -ovc 
lavc -lavcopts 

and I'm getting a video, running at normal rate. At least I get good 
synchronization if I apply extracted audio to it using my own utility.

> Try:
> mencoder -of rawaudio -o test.mp3 -oac mp3lame -lameopts br=128 -ovc 
> frameno
> -o test.mp3  myfile.mov

Thanks! It really works just as I need!

>> Also I don't know if it is
>> possible to add MP3 track into FLV, using MEncoder.
> mencoder -oac copy -audiofile test.mp3

I'm afraid I haven't understood it. Where is the source video here? I had in 
mind to embed an MP3 audiotrack into FLV file, already containing a 
videotrack. Is there any command line for that?

> Why do you say that the frame rate is detected incorrectly? If you play 
> the source
> file in MPlayer, doesn't it play correctly? Anyway, you can try -fps
> to force it.

The source movie is running OK when I try to open it in MPLayer. It's a good 
sign. But I'm getting video being out of synch when I'm trying to convert it 
into FLV with simultaneous audio encoding. Perhaps my command line may be 
improved. Appreciate any advice!


More information about the MPlayer-users mailing list