[Libav-user] Packed variant of PIX_FMT_YUV420P

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Apr 25 00:01:41 CEST 2015


Nisar Ahmed <nisar.med at ...> writes:

> I am demuxing and decoding a quicktime movie file using 
> libav, the decoder always produces a frame in YUV420P, 
> this frame has to go to the DeckLink's frame buffer 
> which expects the format to be YUYV422.

So you are not searching for a packed variant of yuv420p, 
thank you for clarifying.

> Now I need to convert to the desired pix format for 
> which I am using sws_scale.

This is normal / unavoidable and should be fast.

> I was wondering whether is it possible to tell the 
> decoder to decode in YUYV422 to save an additional 
> conversion step?

This would be slow.
(At least not faster.)

Carl Eugen



More information about the Libav-user mailing list