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;
Gavin.
From: Carl Eugen Hoyos <[email protected]>
To: "This list is about using libavcodec, libavformat, libavutil, libavdevice
and libavfilter." <[email protected]>
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 <[email protected]>:
> 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
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user