Video from the command line?

Booting, installing, newbie
Post Reply
Message
Author
redandwhitestripes
Posts: 179
Joined: Fri 02 Jan 2009, 06:49

Video from the command line?

#1 Post by redandwhitestripes »

Hi everyone,
I'm not a newbie but this is probably a newbie-type question.

Is there any way to run video from mplayer or xine at the command prompt?

This blog:
http://kmandla.wordpress.com/2009/11/23 ... ffer-only/

has some detail but I can't understand it. I know something called the "framebuffer" is required. No idea how to get that working.

By the way I'm using fluxpup.

Any tips? Thanks in advance.
Greg

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2 Post by Béèm »

Interesting question.
I opened a terminal/console and went to a directory where I knew I had music files.
I typed mplayer blabla.bla where blabla.bla is the music file (in my case a .mp3)

I did the same going to a directory where I had video files. Started mplayer again and the video played.

This response to your question to run video from a command line, but I don't know for the framebuffer issue you mentioned.

I noticed however that there are options for video in mplayer.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#3 Post by jamesbond »

Greg, you can always start mplayer or xine or gxine from terminal. Just type "mplayer" or "xine" or "gxine" at the terminal,followed by the filename you want to play.

But if you want to do like what the guy in your link did, the answer is not - not out of the box. He does not run X - I repeat, he does not run X server. Instead he uses console framebuffer driver.

To do what he did, you need to:
a) make sure your hardware is supported by the framebuffer driver
b) make sure your load framebuffer console module (or you see blank screen)
c) compile and install the "screen-vs" program as instructed
d) disable X server (that means, disable your fluxbox), and forego all other programs that require X server
e) compile mplayer specifically to use only framebuffer driver.

Are you sure you really want to do this? if yes, you'd be better off starting with barebones puppy rather than fluxpup ...
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

redandwhitestripes
Posts: 179
Joined: Fri 02 Jan 2009, 06:49

#4 Post by redandwhitestripes »

Thank you for both replies. I apologise that I wasn't clear that I wanted to try and run without X.

So yes, I think I'll give Barebones Puppy a run out. Thanks for the tips!

Post Reply