[MEncoder-users] duration lost after flv transcoding

James Hastings-Trew jimht at shaw.ca
Wed Jul 1 21:23:26 CEST 2009


oisurge38-web at yahoo.fr wrote:
> Hi,
> I got an issue while trying to transcode an avi file to flv.
> I use this command :
> mencoder -of lavf -ovc lavc -lavcopts vcodec=flv -lavfopts
> i_certify_that_my_video_stream_does_not_use_b_frames -o output.flv
> input.avi
>
> The resulting flv file doesn't have duration information (I got it with ffmpeg).
> I thought that setting the ofps (matching the input fps) could help, but it did not.
>
> How could I resolve that ?
>
> Thanks
>   
You must be using a really old build of mencoder because it hasn't had 
that crazy command line option (i_certify...) for a couple of years now. 
Check this and see if it helps: 
http://lists.mplayerhq.hu/pipermail/mencoder-users/2005-September/001857.html
(first hit on 'mencoder to flv') in Google.


More information about the MEncoder-users mailing list