Mplayer in console?!@#????
:( Read everywhere that mplayer can play in console. Just want to get things really straight, by console, does everybody mean linux without going into X? So is it basically like the DOS of PC?
I am currently using ATI Rage XL AGP video card. I've tried and tried, but nothing worked. I've even used TNT2 and GeForce 2 MX but no dice. Can anyone tell me how to do this? I compiled mplayer with vesa option on, dga on. The command I issued is mplayer -vo vesa filename.avi but at the end of the output, there is always the "killed" word. It also says -vo device not found or something like that. When trying to show the log file here, the killed word is never displayed in the last line of the log file. Plese help. |
is vesa listed when you run "mplayer -vo help"? if so try running it as root. the framebuffer has permissions set on it normally, that do not allow normal users to access it directly.
|
yes, vesa is listed. also, I logged in as root.
|
ok, give us the full error message:
mplayer -vo vesa file.avi 2>&1 > errorfile Presuambly you were only saving the stdout stream, which will not contain any actual error messages. normally easist just to copy it from terminal with a mouse drag. |
Here's the output
Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/local/share/locale MPlayer 0.90rc4-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS) CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Reading config file /usr/local/etc/mplayer/mplayer.confReading config file /root/.mplayer/config Reading /root/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 135 video codecs font: can't open file: /root/.mplayer/font/font.desc Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars) Using Linux hardware RTC timing (1024Hz). Playing yeey.avi AVI file format detected. VIDEO: [DIV3] 352x288 24bpp 29.97 fps 711.5 kbps (86.9 kbyte/s) ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 MP3lib: init layer2&3 finished, tables done AUDIO: 8000 Hz, 2 ch, 16 bit (0x10), ratio: 1000->32000 (8.0 kbit) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3)) ========================================================================== Checking audio filter chain for 8000Hz/2ch/16bit -> 8000Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 8000 hz, little endian signed int AF_pre: 8000Hz 2ch Signed 16-bit (Little-Endian) AO: [oss] 8000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 8000Hz/2ch/16bit -> 8000Hz/2ch/16bit... Starting playback... VDec: vo config request - 352 x 288 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [vesa] 352x288 => 352x288 Planar YV12 Killed |
"Read everywhere that mplayer can play in console. Just want to get things really straight, by console, does everybody mean linux without going into X? So is it basically like the DOS of PC? "
to my knowlege its in a terminal (xterm, aterm, Eterm) in X. i use -vo x11 by the way. |
Hopefully that's not the case. I am really looking forward to seeing this function in console, outside X. I thought this is something that is definitely different from my current Windows setup. Can anyone confirm this? I'm doing ok in mplayer-X setup. Thanks for your reply.
|
Quote:
mplayer -vo vesa /path/to/filename.avi And it plays on your console (if it's available). :) Works great for TV setups. Cool |
I posted my output above. The command I issued is exactly mplayer -vo vesa filename.avi So what's the problem? How come I can't play it?
|
woah. thanks, i didnt know. for me, it worked using that command.
|
Do you mean console outside X???
|
Yes, yes I do...
|
any suggestions?
|
I wish I did...
Are you trying to have it go out to a TV or your monitor? Have you tried any other video/movie to see if that's the problem? Seems a bit odd, it's always worked for me as long as I was root... You are doing this from a Console (CTRL ALT F1-6) and not something like xterm right? If anyone can pull you through this it'll be the resident expert on MPlayer, Acid. Let's see what he has to say... Cool |
tried using a different output such as dga, fbdev or SDL?
|
All times are GMT -5. The time now is 01:35 PM. |