eglaysher / rlvm

RealLive clone for Linux and OSX
http://rlvm.net
GNU General Public License v3.0
152 stars 26 forks source link

Support MPEG movies #47

Open eglaysher opened 11 years ago

eglaysher commented 11 years ago

RealLive has a set of commands that play MPEG movies. These should be supported somehow.

Previous attempts at using SMPEG to play the movies failed, since, IIRC, OpenGL support was broken. (The included glmovie didn't work, and I found some discussion online about how it didn't work for other people.) May be possible now that SDL2 is released, but that means I need to port rlvm to SDL2 as a prerequisite.

hi117 commented 10 years ago

There are alternate libraries for this possibly, ffmpeg and libav can decode these videos into just about any format you want. I am not familiar enough with the internals of rlvm's graphics stack to know how well these will integrate though.

darkstar commented 10 years ago

There's also libmpeg2 (http://libmpeg2.sourceforge.net/) which hasn't been updated for a while but is reported to be quite stable. Haven't used it myself yet though

eglaysher commented 10 years ago

This is more of a case where the actual difficulty lies in glueing the two pieces together. I had an aborted attempt at trying to use ffmpeg, but gave up, because there were higher priority things that I could do at the time.

(That said, all attempts to do anything video related were years ago. Things may have gotten better in the interim.)

On Thu, Oct 10, 2013 at 12:10 PM, Michael D. notifications@github.comwrote:

There's also libmpeg2 (http://libmpeg2.sourceforge.net/) which hasn't been updated for a while but is reported to be quite stable. Haven't used it myself yet though

— Reply to this email directly or view it on GitHubhttps://github.com/eglaysher/rlvm/issues/47#issuecomment-26082179 .

-- Elliot