site  contact  subhomenews

Racy: mplayer and ogle fixed

March 01, 2013 — BarryK
Hmmm, Racy has always had this bug. Videos will not play full-screen, or even play at anything other than 100% size.

Also, and this applies to both Wary and Racy, the screensaver is not disabled when playing a video.

I have fixed both of these.

When you click on a video file, it launches mplayer, or rather 'mplayershell' which is a script that calls mplayer.
The script is supposed to run mplayer with commandline option "-vo x11" if 'vesa' or 'Xvesa' video drivers are running, and "-vo xv" otherwise.
The former mode cannot change video size, the latter can. It was that "otherwise" that was not getting selected.

On my laptop, Racy is running with the 'intel' Xorg driver, so mplayer is supposed to run with "-vo xv" -- not only does this allow video resizing, but it plays videos better/smoother.

The cause of the problem is historical. Older puppies have a full /etc/X11/xorg.conf, which does (usually) contain the name of the driver. However, Racy and all other recent pups use a cutdown xorg.conf -- instead, we have to look inside /var/log/xorg.0.log to determine what driver is actually running.

While I was at it, I fixed the menu position for both mplayer and ogle (DVD player), and fixed so that 'xset' is run to turn off screen-blanking before the video is played, back on afterward.

Woof has a template for 'mplayer_gui', that was also fixed.

Here are the updated PETs (2.1M, 43K):
http://distro.ibiblio.org/quirky/pet_packages-wary5/mplayer_gui-20110929-1-w5c.pet
http://distro.ibiblio.org/quirky/pet_packages-wary5/ogle_gui-0.9.2-patched4.2-1-w5c.pet

By the way, the "stop" button in the ogle GUI still doesn't work. I put out an appeal years ago for someone proficient in C coding, and preferably GTK coding, to look into that.
It is the only thing that spoils what is an excellent DVD player.

The source for ogle and ogle_gui are here:
http://bkhome.org/sources/alphabetical/o/
(us#er#na#me#: pu#pp#y pa#ss#wo#rd#: li#nu#x)

Comments

mplayer dotdesktop file
Username: f00-
Starting mplayer from the menu (via dotdesktop file) in racy 5.4.91 fails - without the extra 'exec' it starts fine Exec=mplayershell


Tags: puppy