From: Michel L. <wa...@zo...> - 2001-10-05 19:28:32
|
On Fri, Oct 05, 2001 at 09:01:27PM +1000, Paul wrote: > Can I use libmpeg2 to display to an SDL surface? I'm searching for a quick > way to implement Mpeg2 in an application. the mpeg2dec test program has an SDL output mode - I think it does work. Try running mpeg2dec -o sdl foo.mpg (maybe with the -s option too if foo.mpg is multiplexed) The corresponding source code is in libvo/video_out_sdl.c -- Michel "Walken" LESPINASSE Of course I think I'm right. If I thought I was wrong, I'd change my mind. |