On 7/10/20, rohit khali <[email protected]> wrote: > 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.
The only way is using either swscale API or avfilter API to convert input pixel format to requested pixel format. > > Thanks, > Rohit Khali > _______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
