… and red, black and white interference. unichrome via cle266 graphics. Today with the help of Reimar Döffinger I finally got around to be able to use mplayer http://www.mplayerhq.hu/ in X11. I think I’ve been using this box for several years and always switched to the console in order to be able to watch a video — cvidix (console vidix) had been working fine all along. The next thing I’ll attempt is to compile this mplayer for firefox plugin, I guess. (The next thing that happened wasn’t me compiling mozilla plugins, but that I typed out my entry and then tried to run To get mplayer working on X11, the first thing I needed to do was to install the svgalib http://www.svgalib.org/ kernel helper module as is briefly mentioned in the mplayer docs at http://www.mplayerhq.hu/DOCS/HTML/en/output-trad.html#vidix After downloading and compiling the svgalib_helper, after a Now I could run mplayer with xvidix, but all I’d get would be a green window without video! So I jumped in the #mplayer irc channel where reimar told me about Unfortunately, that’s where the real trouble started. The movie had strange horizontal interference lines flickering over it coloured red, black and white — approximately two to three centimetres in width and four pixels thick, with each ten pixels in between. Additionally, mplayer corrupted my X background, leaving black and white miniaturised shadow copies of the movie on my background even after mplayer had ended. Turns out my X and mplayer decided to share the same video ram, so the flickering on the movie was some other X program drawing in the memory where mplayer was trying to play the movie. This also explains the corrupted background. The mplayer docs mention reducing your video ram in the xorg.conf file by four megabyte. My card is using 64 MB (shared), so I added a I asked reimar for help again, and he found out that the vidix driver for my card writes at 6 MB - regardless how much ram the card is really occupying. Trying to set the VideoRam to 6144 KB however, was ignored by X and it proceeded to use all 64 MB. Here’s a patch:
Replace 64 with your actual amount of memory. The vidix driver will write to the last 2 MB. I’m now running my xorg.conf with
Bonus: you can have a movie playing on your console background using
Unfortunately I don’t know how to stretch the movie to full screen (-fs will disable the effect) More Bonus: If you want to play a video on console and it does not fit to your monitor aspect ratio, you are faced with console text showing through at the top and bottom of the screen: +------------------+ | ugly console text| |==================| | | | video here | | | |==================| |more console text | +------------------+ One way to get a blank screen for playing videos is like this: setterm -cursor off >/dev/tty9 mplayer -vo cvidix -fs mymovie.avi </dev/tty9 Then switch to vc9 (<Alt>+<F9>). |
|
Navigation | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| « | (older) | (newer) | » | |||||||
| « | Anti the "let's simplify" Linux movement | ‹ | Main | › | lirc and linux kernel >= 2.6.17 | » | ||||
| « | (monthly archive) | (category archive) | » | |||||||
| « | View entire October 2006 Archives | ‹ | All articles list (Archives) | › | Search | » | Linux | » | ||