Hi JB,
Which reminds me a little of the xkbd discussion of the other Matrix movies: http://xkcd.com/566/. And I am afraid that you are completely wrong, the Matrix is still the greatest .
Andrew
Hi JB,
Which reminds me a little of the xkbd discussion of the other Matrix movies: http://xkcd.com/566/. And I am afraid that you are completely wrong, the Matrix is still the greatest .
Andrew
You think that's air you're breathing now?
Hi,
I have added some brief details to this guide for turning video ouput into a Matrix simulation with -vo matrixview. Now if I could only decide on the red or the blue pill.....
Andrew
You think that's air you're breathing now?
Nice tips, some I already knew (like the -ao matrixview) but some others I didn't and they are simple awesome.
After compiling a MPlayer from Uoti's git this player is now my favorite.
Last edited by m45t3r; May 18th, 2010 at 04:19 AM.
Hi m45t3r,
It is nice to burrow around in the man pages and dig out a few gems or this great media player .
Andrew
You think that's air you're breathing now?
This is one of my favorites tricks:
Playing videos in TTY (yep, without X.org :O)
- Switch to TTY (Ctrl+Alt+F1);
- Now you can use either of tip 6 options (except the matrixview, because this one need X.org):
Code:mplayer -vo aa -monitorpixelaspect 0.5 myfile.mp4Code:mplayer -vo caca myfile.mp4- Ok, funny. But I want to watch THE video and not lots of letter dacing in my screen. So I can try these:
Code:#mplayer -vo fbdev myfile.mp4Code:#mplayer -vo fbdev2 myfile.mp4Code:#mplayer -vo directfb myfile.mp4- And impress your friends playing TRUE videos in terminal.
Note: you need to use these options as superuser (using "sudo mplayer" or simply type "sudo su") because you need write access to /dev/yourgpu (simply talking, your GPU RAM).
Note 2: note that the framebuffer not always work. In my netbook with Intel GMA945 using X.org's drivers it's completely fine, even with subtitles. But on my desktop with NVIDIA's proprietary driver it didn't work and even crash my system (Update: got a working framebuffer with NVIDIA's proprietary drivers following these instructions: http://idyllictux.wordpress.com/2010...ricted-driver/).
Note 3: you can change the size of the video using "-zoom -x 1024 -y 576" options (where "1024" and "576" are the desired resolution).
Warning: because you are using direct access to your hardware this trick CAN CRASH YOUR SYSTEM. Just a reboot and everything will work again, but I recommend that you save all your job before playing with this.
Last edited by m45t3r; May 18th, 2010 at 05:39 PM.
Is there an easy way to scale to a virtual size so that the monitor acts as a window centered on the virtual video? This can be done playing with the crop values, but it is hard to get the values to retain the proper aspect ratio. It can also be done with zooming with compiz. Can it be done easily with mplayer alone?
Last edited by xzero1; May 28th, 2010 at 11:05 PM.
Hi xzero1,
I will admit I am not completely sure what you mean I'm afraid . Are you referring to the 'geometry' options of either MPlayer or your terminal?
Andrew
You think that's air you're breathing now?
Hi m45t36,
You may be interested in embellishing this line a little. The framebuffer driver is not aware of screensize so you can not only tell it the size but subsequently you can manipulate where your video shows on the screen. For example on my laptop I run the framebuffer on a 640 x 480 screen and I like the video to play in the middle of the screen. This can be done as follows:
Now how cool is that . Edit: Actually it is so cool I have added it to the guide...Code:mplayer -vo fbdev -screenw 640 -screenh 480 -geometry 50%:50% myfile.mp4
Andrew
Last edited by andrew.46; May 29th, 2010 at 05:44 AM.
You think that's air you're breathing now?
Sorry, if I was unclear. I simply want to view the video with the the borders cropped out and with the movie's original aspect ratio.
I found an answer to my own question. Mplayer has an experimental -panscanrange option. If I set it to something around -.45 when viewing the video fullscreen, the "w" and "e" keys will zoom out and in respectively. The docs mention this number is a zoom factor??!? Can anyone explain exactly how this number relates to the video size? At least its easier than using crop. Note this is only supported with the gl driver although xv seems to work for me.
Last edited by xzero1; May 30th, 2010 at 01:07 AM.
This guide has been transferred to the Ubuntu Wiki:
MPlayerTips
https://help.ubuntu.com/community/MPlayerTips
but support is still available from this Forums thread.
Andrew
May 13th, 2012.
You think that's air you're breathing now?
Bookmarks