[FFmpeg-devel] [PATCH V5 1/2] avutil: add ROI (Region Of Interest) data struct and bump version

Nicolas George george at nsup.org
Fri Jan 4 15:22:52 EET 2019


Rostislav Pehlivanov (12019-01-04):
> Which are in pixels, not bytes.

And plain int, not uint32_t.

> This is an encoder-only interface for now. For vp9 the denum would be 255
> for example. They would warn on out of range qdelta.
> I still don't get why this can't be an int.

"For now" is the key. This is a new API, we should try to think of the
likely future uses, not just what we have in mind right now.

So: very likely use of ROI: -vf facedetect.

Since the filter will not know the specifics of the encoder, it needs to
be able to express things (and have default value) in an
encoder-agnostic way.

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: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190104/b6700c5a/attachment.sig>


More information about the ffmpeg-devel mailing list