LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how do i play videos in the console? (https://www.linuxquestions.org/questions/slackware-14/how-do-i-play-videos-in-the-console-196111/)

Necronomicom 06-21-2004 04:11 PM

how do i play videos in the console?
 
this is the message I get when I try to run videos in the terminal console...

Code:

necro@Slackware:~$ mplayer -vo aa testmovie.mpg
MPlayer 1.0pre4-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 1601 MHz (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/necro/.mplayer/config
Reading /home/necro/.mplayer/codecs.conf: 66 audio & 176 video codecs
Font /home/necro/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Input config file /home/necro/.mplayer/input.conf parsed: 53 binds

Playing testmovie.mpg.
Cache fill:  0.00% (0 bytes)    MPEG-PS file format detected.
VIDEO:  MPEG1  320x240  (aspect 1)  30.000 fps  819.2 kbps (102.4 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 4000->176400 (32.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Error opening/initializing the selected video_out (-vo) device.

before I was getting other error messages, like saying that codecs.conf, font.desc, and input.conf were not found, so i moved those files to my home mplayer folder.

im using a geforce 4 mx 420 64mb video card

whansard 06-21-2004 04:23 PM

-vo vesa is the only way i know. don't worry about he codecs.conf not found stuff.

Tinkster 06-21-2004 04:40 PM

Works fine here (well, it's ugly, I'd prefer vesa ;})... do normal
users have read/write access to the framebuffer device?


Cheers,
Tink

horndude 06-21-2004 04:52 PM

I tried it and NO, without su'ing to root it wouldnt let me play it in console, couldnt get I/o permissions error.

How does one fix that anyway? Cant be as simple as changing permissions on fb0 could it?

Necronomicom 06-21-2004 05:06 PM

I tried with root, and I tried it using vesa, and I always get "Error opening/initializing the selected video_out (-vo) device." :(

horndude 06-21-2004 05:15 PM

try this mplayer -vo help then see what it spits out, it will give you a list of available video output options

I tried mplayer -vo vesa movie.avi and it worked

Tinkster 06-21-2004 05:16 PM

Hmm ... is aalib installed, then?


Cheers,
Tink

Necronomicom 06-21-2004 07:25 PM

I made the video work using caca (ascii mode) and sdl (full screen), but still it wont detect aa or vesa

the latest aalib package is already installed in my comp

khermans 11-15-2004 12:55 PM

I am also having the same problem on a Gentoo box. I have aalib installed and mplayer was supposedly compiled with the aalib use flag on my AMD64 system, but still I cannot use aalib. Setting aside the fact that no one seems to know how to solve this problem, is there anyway I can output a movie in text using libcaca? Anyone know the command to get this working?

Kristian Hermansen


All times are GMT -5. The time now is 06:35 PM.