[gameprogrammer] Re: Play FMV

for ffmpeg, there is a good tutorial to use it with SDL on this link
http://www.dranger.com/ffmpeg/ffmpeg.html, it's a very helpfull one, but if
you want to render the video with OpenGL you have to do more work on
rendering the SDL_Surface to an OpenGL texture.

However I see that smpeg is more easier, but you have a support for only
mpeg1 files (*.mpg ...), but with ffmpeg you can play any format I guess


On 9/15/07, DARKGuy . <dark.guy.2008@xxxxxxxxx> wrote:
>
> What about ffmpeg?? I haven't been able to find anything helpful with SDL
> and OpenGL with it, only SMPEG and I don't like its license, ffmpeg looks
> more free to me (I'm no lawyer, but ffmpeg also looks more improved and way
> better than smpeg).
>
> On 9/14/07, Husam Zakaria <hzcppff@xxxxxxxxx> wrote:
> >
> > That's depend on what libraries you are using, (DirectX, OpenGL, SDL,
> > SDL with OpenGL ...)
> >
> > there are alot of libraries that you can use (DirectShow, ffmpeg,
> > theora, smpeg, OpenML ...)
> >
> > you can use smpeg library with SDL easly
> >
> >  On 9/11/07, 程嘉 <chengjialeph@xxxxxxxxx> wrote:
> > >
> > > Hi,
> > >
> > > I'm wondering what kind of package I will need for playing FMV
> > > (movies) in game?
> > >
> > > Thanks,
> > > Jia
> > >
> >
> >
>

Other related posts: