[FFmpeg-devel] [PATCH] libavdevice: allow cropping avfoundation screen capture

Alan.Birtles at sony.com Alan.Birtles at sony.com
Thu Sep 13 18:52:42 EEST 2018


Hello,
I've developed  a patch to add an option to allow cropping of the avfoundation screen capture.
Note that if the captured width is not a multiple of 16 then https://trac.ffmpeg.org/ticket/5654 will be triggered.
Also note that the "capture_crop_y" property is bottom up, I don't know If we should fix that or just document it for the user?
Thanks,
Alan Birtles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-allow-specifying-cropRect-for-avfoundation-screen-ca.patch
Type: application/octet-stream
Size: 3194 bytes
Desc: 0001-allow-specifying-cropRect-for-avfoundation-screen-ca.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180913/4208f8c4/attachment.obj>


More information about the ffmpeg-devel mailing list