[MPlayer-users] [Ffmpeg-devel] Patch to add header info to flv format

Adam McCann adam.mccann at pro-g.co.uk
Sat Aug 5 19:45:20 CEST 2006


Hello,

I understand this patch implements the code within 'mencoder / mplayer' 
to insert metadata into FLV files.  From what I understand, this feature 
is not yet documented (it is only in the latest SVN build).  I am 
assuming no additional configuration (in terms of command line) is 
required for the metadata injection into FLV files.  However, when I 
tried to do this myself with the following command:

mencoder test.wmv -o test750.flv -of lavf -oac mp3lame -lameopts 
abr:br=56 -ovc lavc -lavcopts 
vcodec=flv:vbitrate=750:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 
22050 -ofps 30 -lavfopts 
i_certify_that_my_video_stream_does_not_use_b_frames

the outputted FLV *did* contain a 'shell' of metadata, but with 
seemingly no useful information, like the duration of the file, or any 
information that allows you to seek the file.  The result was no moving 
progress bar, and no ability to seek the file.

Running 'MPlayer dev-SVN-r19294-3.4.4' using 'FreeBSD 6.1-STABLE'.
Does anyone have any ideas about what I could be doing wrong?  Or 
perhaps there is a problem with the patch?

I find the whole issue of auto inserting metadata into FLV files 
frustrating, as there must have been a reliable method before ffmpeg or 
mplayer.  Currently alternatives are either not for Unix or are 
unreliable (and/or not command line driven), but YouTube and many other 
sites must have found another solution because they work just fine.

Any help would be appreciated.

Thanks,
Adam McCann

-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/409 - Release Date: 04/08/2006


More information about the MPlayer-users mailing list