[FFmpeg-devel] How to satisfy two codecs with one decoder?

Timo Rothenpieler timo at rothenpieler.org
Sat Apr 18 14:23:55 EEST 2020


On 18.04.2020 00:53, James Almer wrote:
> See mpeg12dec.c and how both the mpeg1 and mpeg2 AVCodec entries are
> essentially the same for an example. Or the nvenc encoders.

The old cuviddec is probably an even better example. The same decoder 
handles half a dozen codecs.


More information about the ffmpeg-devel mailing list