<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1493800703352_3484">Thanks for your response.</div><div id="yui_3_16_0_ym19_1_1493800703352_3484"><br></div><div id="yui_3_16_0_ym19_1_1493800703352_3484" dir="ltr">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.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493800703352_3550"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493800703352_3550">The code includes some of the following:</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493800703352_3550"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493800703352_3550"><div id="yui_3_16_0_ym19_1_1493800703352_4391" dir="ltr">c->pix_fmt = AV_PIX_FMT_YUV420P;     // This is the pertinent code that had me interested.</div><div id="yui_3_16_0_ym19_1_1493800703352_4392"><br id="yui_3_16_0_ym19_1_1493800703352_4393"></div><div id="yui_3_16_0_ym19_1_1493800703352_4394">frame->format = c->pix_fmt; </div><div id="yui_3_16_0_ym19_1_1493800703352_4395">frame->width  = c->width;</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493800703352_4396">frame->height = c->height;</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493800703352_4396"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493800703352_4396"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493800703352_4396">Gavin.</div></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493800703352_3550"><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1493800703352_3490" style="display: block;">  <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1493800703352_3489"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1493800703352_3488"> <div dir="ltr" id="yui_3_16_0_ym19_1_1493800703352_3487"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1493800703352_3491"> <hr size="1" id="yui_3_16_0_ym19_1_1493800703352_4363"> <b><span style="font-weight:bold;">From:</span></b> Carl Eugen Hoyos <ceffmpeg@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user@ffmpeg.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, 3 May 2017, 2:55<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Libav-user] Handling uncompressed 10-bit YUYV 422 (packed)<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1493800703352_3492"><br><div dir="ltr" id="yui_3_16_0_ym19_1_1493800703352_3494">2017-05-02 22:13 GMT+02:00 Gavin Smith <<a shape="rect" ymailto="mailto:gcs584-at-yahoo.com@ffmpeg.org" href="mailto:gcs584-at-yahoo.com@ffmpeg.org">gcs584-at-yahoo.com@ffmpeg.org</a>>:<br clear="none"><br clear="none">> One keen feature I'm interested in is being able to encode or decode<br clear="none">> using a packed 10-bit YUYV 422 pixel format.<br clear="none"><br clear="none">Decoding and encoding v210 is supported.<br clear="none">If that is not the feature you are searching for, please elaborate.<br clear="none"><br clear="none">> * ffmpeg v3.2.4<br clear="none"><br clear="none">Only current FFmpeg is supported here.<br clear="none"><br clear="none">Carl Eugen<div class="yqt6858742102" id="yqtfd97227"><br clear="none">_______________________________________________<br clear="none">Libav-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org" id="yui_3_16_0_ym19_1_1493800703352_4842">Libav-user@ffmpeg.org</a><br clear="none"><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank" id="yui_3_16_0_ym19_1_1493800703352_4843">http://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none"></div></div><br><br></div> </div> </div>  </div></div></body></html>