On Dec 15, 2008, at 12:46 PM, Arnau Font wrote: > I'm trying to develop a videoplayer in opengl. I've followed the SDL > and > FFMPEG tutorial and now I have a functional player under SDL, using > the > SDL_Overlays and all that. But now I want to use openGL. I guess I > have to > do a sws_scale to a opengl format, but I'm quite lost about how to > do it. > Does anybody have a working example or some guidelines?
If you don't mind sifting through some iPhone code (some of it in objective-c), you can check out my video-test player at http://trac.assembla.com/legend/browser/video-test/trunk . You'll probably have to figure out how to create your opengl context, but the general flow should be similar. If you have an simple questions, I may be able to help, but I only learned enough to be able to render to a 2D texture and to render that texture to the screen, so I may not have all the answers you need. Thanks _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
