Oh, and my current code setup doing this does this: video format->
YUV420P(via swscale) -> RGB24(via a conversion routine I wrote for YUV420P
to RGB24...)

On Mon, Jul 6, 2009 at 10:22 AM, Tyler Laing <[email protected]> wrote:

> Hi all,
>
> I need to have the capability to convert any video format supported by
> ffmpeg to rgb24, which can be written to an sdl_surface. I currently have a
> setup that does this, but it is slow on large screen sizes. So there's two
> questions here, is swscale fast to convert from arbritary format X to
> rgb24(and what is the right PIX_FMT to use)? And, how would I write that
> data then to the sdl_surface? IE, what format is the AVFrame/Picture going
> to have the data in?
>
> Thanks in advance for any information or links.
>
> Tyler
>
> --
> Visit my blog at http://oddco.ca/zeroth/zblog
>



-- 
Visit my blog at http://oddco.ca/zeroth/zblog
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to