[Libav-user] How to get decoded YUV in desired pixel format

rohit khali khali.rohit at gmail.com
Fri Jul 10 10:07:49 EEST 2020


Hi,

I am using "avcodec_receive_frame()" API to decode video which returns the
decoded output in native pixel
form(yuv420p,yuv422p,yuv420p10le,yuv422p10le...).
I want to get decoded output always in YUV 422-8 bit.Is there any option I
need to set in any data structure OR any API which needs to be used after
decode.

Thanks,
Rohit Khali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20200710/05d4e0e3/attachment.html>


More information about the Libav-user mailing list