[MEncoder-users] -oac copy and -of lavf shows audio data info wrong for flv videos.
Bill Crockett
wsc4 at optusnet.com.au
Wed Aug 3 12:15:13 CEST 2011
I have found now that it is not only the stream copying command, but
encoding an mp4 with AVC and AAC to a Flash Video flv with AVC and AAC
resulted in extremely low audio bit rate. For example, a bit rate of
128 kbps wanted, resulted in only 3 kbps.
Is there anything wrong with this command line please?
mencoder inputfile.mp4 -o outputfile.flv -vf harddup -oac faac -faacopts
mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=flv -ovc x264
-x264encopts
level_idc=30:bframes=0:bitrate=768:global_header:subq=5:frameref=6:part
itions=all:trellis=1:chroma_me:me=umh
This command line below also resulted in 3 kbps for the audio, even
though the original video has 128 kbps for the audio.
mencoder -ovc copy -oac copy -of lavf -lavfopts format=flv -fafmttag
0x706d inputfile.flv -o outputfile.flv
Is this the cause of it all?
==========================================================================
** MUXER_LAVF
*****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
The "-x264encopts bframes=0" made no difference. It only seems to
affect Flash Videos with AVC & AAC and the flv container. Is there any
fix for this please?
More information about the MEncoder-users
mailing list