[FFmpeg-devel] [PATCH] flvdec: Remove AVFMTCTX_NOHEADER when there is only 1 stream

compn tempn at twmi.rr.com
Wed Sep 7 13:58:24 CEST 2011


On Wed, 7 Sep 2011 11:07:56 +0100, Asad Mehmood wrote:
>Hi
>
>I've written a patch which will unset the NOHEADER flag when a flv's metadata
>contains hasAudio false or hasVideo false. This allows an flv with only 1 stream
>to be played without waiting for av_find_stream_info to read upto probesize
>which is very slow when playing flv's over the network.
>

does this work with files that are concacted together?

cat 1.flv 2.flv > 3.flv 

the flv specs say this is allowed i think.

-compn


More information about the ffmpeg-devel mailing list