[Libav-user] Handling uncompressed 10-bit YUYV 422 (packed)

Gavin Smith gcs584 at yahoo.com
Wed May 3 11:52:14 EEST 2017

Thanks for your response.
I had a look at the example code (decoding__encoding.c) which is where my question originates, specifically in the video_encode_example(..) function.  I was trying to understand how I call pass in a packed 10-bit YUYV 422 format for encoding.
The code includes some of the following:
c->pix_fmt = AV_PIX_FMT_YUV420P;     // This is the pertinent code that had me interested.
frame->format = c->pix_fmt; frame->width  = c->width;frame->height = c->height;

      From: Carl Eugen Hoyos <ceffmpeg at gmail.com>
 To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user at ffmpeg.org> 
 Sent: Wednesday, 3 May 2017, 2:55
 Subject: Re: [Libav-user] Handling uncompressed 10-bit YUYV 422 (packed)
2017-05-02 22:13 GMT+02:00 Gavin Smith <gcs584-at-yahoo.com at ffmpeg.org>:

> One keen feature I'm interested in is being able to encode or decode
> using a packed 10-bit YUYV 422 pixel format.

Decoding and encoding v210 is supported.
If that is not the feature you are searching for, please elaborate.

> * ffmpeg v3.2.4

Only current FFmpeg is supported here.

Carl Eugen
Libav-user mailing list
Libav-user at ffmpeg.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170503/df7fa20f/attachment.html>

More information about the Libav-user mailing list