[FFmpeg-devel] Changing media formats mid stream
Michael Niedermayer
michael at niedermayer.cc
Mon Aug 24 22:29:28 CEST 2015
On Mon, Aug 24, 2015 at 02:09:28PM -0600, Roger Pack wrote:
> I've run into the case today where (if we understand it correctly) you
> setup a directshow graph, it advertises media types, then when you
> "start" the graph, it actually calls through and says "here's your
> *real* media type".
> Does ffmpeg internals have any concept of or support for a "changing
> media type" at runtime? (any other suggestions for how to handle this
> if it doesn't?)
do i understand correctly that the type at read_header() stage is
wrong but the type later at read_packet() stage is correct ?
if that is the case, you can just wait with setting the type till it
is reliably known.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150824/534a9702/attachment.sig>
More information about the ffmpeg-devel
mailing list