[Ffmpeg-devel] ogg2 demuxer and codec init
Måns Rullgård
mru
Fri May 20 12:19:31 CEST 2005
castet.matthieu at free.fr writes:
> Hi,
>
> the ogg2 demuxer seem to have a problem :
> it always call codec init even if we don't use the stream or copy it [1].
> Also when we decode the stream, codec init is call 2 times.
The ogg2 demuxer doesn't call any codec directly. It's
av_find_stream_info() that does it once to figure out the stream
parameters, even if the stream later goes unused, and then ffmpeg
opens the codec as required. The reason you're noticing this with ogg
files is that the theora decoder prints a message on initialization.
The fix: remove that message ;-)
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list