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

Asad Mehmood asad78611 at googlemail.com
Wed Sep 7 12:07:56 CEST 2011


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-flvdec-Remove-AVFMTCTX_NOHEADER-when-there-is-only-1.patch
Type: text/x-patch
Size: 1163 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110907/8895007a/attachment.bin>

More information about the ffmpeg-devel mailing list