Mplayer Framebuffer UBUNTU

To play full color movies using mplayer from the command line(ie., in text-mode using framebuffer) do the following…

In the file /boot/grub/menu.lst, add vga=791 to the end of the line starting with the word kernel-

kernel /boot/vmlinuz-2.6.20-15-386 root=UUID=65993207-29fd-4fd1-a784-1a8c3cbe12fe ro splash vga=791

Then restart your computer…

(Video modes are: 791 = 1024×768, 788 = 800×600, 785= 640×480)

Then do

$ sudo apt-get install mplayer-nogui

After all these are done… run the file…

$ mplayer -vo sdl file.avi

Congrats… now you can play movies in text-mode!!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: