Hi,

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.
>

swscale library is intended for pixel format and image size conversions.
Look at the sws_getContext() and sws_scale() functions and only after that
(if swscale doesn't support something)
try to implement your own ;), because pixel format conversions are not easy
task...

Sorry if you already tried this...
-----------------------------------------------
Kirill Gavrilov,
Software designer.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to