[FFmpeg-devel] [PATCH 1/3] lavc/avcodec: Add caps for the support of variable dimension encoding

Nicolas George george at nsup.org
Tue Jun 9 12:48:19 EEST 2020


Anton Khirnov (12020-06-08):
> During the last iteration, I asked how is this preferable to just making
> a new encoder instance. Don't think I got a sufficient reply.

How do we know that we can just put the packets of the new instance
after the packets of the old instance and it will work?

It will work for image codecs, of course.

It will not work for raw video codecs, since the frame size and
characteristics are global.

It may work for some codecs.

It may work if we generate side data to renew the extra data.

Clearly, making a new encoder instance is not an universal solution.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200609/9246cb53/attachment.sig>


More information about the ffmpeg-devel mailing list