LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 06-21-2004, 05:11 PM   #1
Necronomicom
Member
 
Registered: Jun 2004
Distribution: Slackware, Solaris
Posts: 127

Rep: Reputation: 15
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
 
Old 06-21-2004, 05:23 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
-vo vesa is the only way i know. don't worry about he codecs.conf not found stuff.
 
Old 06-21-2004, 05:40 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

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


Cheers,
Tink
 
Old 06-21-2004, 05:52 PM   #4
horndude
Member
 
Registered: Sep 2003
Posts: 43

Rep: Reputation: 15
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?
 
Old 06-21-2004, 06:06 PM   #5
Necronomicom
Member
 
Registered: Jun 2004
Distribution: Slackware, Solaris
Posts: 127

Original Poster
Rep: Reputation: 15
I tried with root, and I tried it using vesa, and I always get "Error opening/initializing the selected video_out (-vo) device."
 
Old 06-21-2004, 06:15 PM   #6
horndude
Member
 
Registered: Sep 2003
Posts: 43

Rep: Reputation: 15
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
 
Old 06-21-2004, 06:16 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Hmm ... is aalib installed, then?


Cheers,
Tink
 
Old 06-21-2004, 08:25 PM   #8
Necronomicom
Member
 
Registered: Jun 2004
Distribution: Slackware, Solaris
Posts: 127

Original Poster
Rep: Reputation: 15
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
 
Old 11-15-2004, 01:55 PM   #9
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
play MPEG videos from REDHAT 9 /usr/bin/w1zard Linux - Newbie 2 09-04-2005 03:19 PM
Can't play videos macvag Linux - Newbie 7 03-10-2005 08:10 AM
cannot get videos to play handles Suse/Novell 1 01-18-2005 05:48 PM
How to play .mpg videos in linux balanagireddy Linux - Newbie 2 06-18-2004 09:26 AM
MY Videos Wont Play or My MP3's Please Help lil213 Linux - General 3 10-10-2003 08:37 PM


All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration