[FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon May 9 15:26:13 CEST 2016


On 5/9/2016 2:22 PM, Paul B Mahol wrote:
> Once st->codec is gone, how would this lossless info be gathered back?

As myself and others have said above: decode a frame.

It is not a demuxer's job to provide info gleaned from decoding.

Either avformat should be properly separate as it (kind of) is now, and provide
info required for demuxing and muxing the containers it supports, or it should
be merged into libavcodec like Nicholas wants, and it can provide both. Doing a
little of both for random fields, and keeping them as separate libraries is just
awful, though.

- Derek


More information about the ffmpeg-devel mailing list