[Libav-user] Switching codecs from encode to playback on the fly
Bruce Wheaton
bruce at spearmorgan.com
Mon May 7 18:55:29 CEST 2012
On May 7, 2012, at 3:05 AM, Alex Cohn wrote:
>
> Unfortunately, AVFormatContext Struct Reference
> [http://ffmpeg.org/doxygen/trunk/structAVFormatContext.html] says
> explicitly that this object can only be iformat or oformat, not both
> at the same time.
>
> As for AVStream, there is no explicit prohibition, but this structure
> is not populated by user during demuxing/decoding, thus you will gain
> nothing if you attempt to reuse it (the decoder will rebuild it
> anyway).
OK, thank you Alex. No shortcuts for me.
Bruce
More information about the Libav-user
mailing list