Hi,<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">I am trying to convert from YUYV to YUV420P. I haven't seen any function
so I decided to do on my own. But I have the problem that it doesn't
seem to work.<br></blockquote><br>swscale library is intended for pixel format and image size conversions.<br>Look at the sws_getContext() and sws_scale() functions and only after that (if swscale doesn't support something)<br>
try to implement your own ;), because pixel format conversions are not easy task...<br><br>Sorry if you already tried this...<br>-----------------------------------------------<br>Kirill Gavrilov,<br>Software designer.<br>