[Ffmpeg-devel] read_header() and AVFMTCTX_NOHEADER
Allan Hsu
allan
Fri Nov 17 01:36:09 CET 2006
Hello all. I've been hacking on the ffmpeg FLV decoder a bit; I'm
working on getting it so that decoding can start before the entire
file is available. I've written an onMetaData parser to pull header
information out of streams that contain the FLV META tag. I'm new to
ffmpeg development though, so I have a few questions that might have
simple answers:
1. How much information is required for a read_header implementation
to *not* set AVFMTCTX_NOHEADER? In my use, I've been able to get away
with creating empty streams (with no codec information set) and
setting duration from the information in the metadata headers. Is
this enough? (It sure doesn't feel like it...)
2. Is it always necessary to call av_find_stream_info() after
av_open_input_stream()?
-Allan
--
Allan Hsu <allan at counterpop dot net>
1E64 E20F 34D9 CBA7 1300 1457 AC37 CBBB 0E92 C779
More information about the ffmpeg-devel
mailing list