Friday, September 01, 2006

MPlayer

Well, I gave up on SVG for the time being and decided to patch MPlayer to display movies using ROLF instead.

It's simply a matter of adding a new Video Out driver that opens a window and displays each frame as it comes, detatching from the WIMP while the next frame is built so that other windows can do stuff. The MPlayer software even takes care of the YUV to RGB translation transparently. That took a couple of days, the last two days have been spent updating my LFS system to get proper audio (and a 2.6 kernel). I've got to do that more often, so I don't forget how it works!

2 Comments:

Blogger downtown said...

planning to send your mplayer changes upstream ? :)

9:30 pm, December 09, 2007  
Blogger Simon said...

I may do when ROLF is better established, and if the GUI is improved.

While the player works under ROLF, it's simply the picture in a ROLF window, with no mouse control (just the keyboard controls you get with fbdev). The modifications add nothing to the mplayer code, not even a bug fix. (Getting it to work at a reasonable speed involved speeding up the screen display in ROLF considerably, though.)

I've uploaded the patch to
http://stoppers.drobe.co.uk/downloads/MPlayer-1.0rc2.200711161020.patch
.

(The 2007... bit is the date and time the patch was made.)

8:54 am, December 10, 2007  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home