LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2002, 11:41 PM   #1
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Rep: Reputation: 30
Mplayer


ok i think i did everything right but one thing. I loaded
w32codecs
libdvdread
libdvdcss
libmp3lame
libavcodec (ffmpeg)
divx4linux

then i loaded MPlayer-.60, now i get a error that it cant find codec.conf in the mplayer dir, is there something i need to do extra that i missed?
**EDIT**
I foudn that there is a error on the run. what does this mean?
open: No such device
Couldn't open /dev/mga_vid
Error opening/initializing the selected video_out (-vo) device!

*** free_stream() called ***
~thanks for all the help thus far guys

Last edited by digital bots; 04-11-2002 at 11:49 PM.
 
Old 04-12-2002, 06:06 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
the mga_vid driver is for matrox cards, and i'd assume you're not using one. I'd suggest you recompile it manually disabling matrox support. (mine is disabled by default) also, try running it using a specific video output, such as Xvideo (add "-vo xv" to the command line) use -vo help to get a list of all valid video outputs

as for that other error, it's probably ok, it checks a few different places in turn, so you should be fine.
 
Old 04-12-2002, 06:17 AM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I had the same problem one time (missing .conf file) Now the funny thing was that I compiled mplayer on the same box with the same sources before and it worked fine then - had to download the whole thing again to get it ok - you might try that if you cant get it going.
 
Old 04-12-2002, 03:00 PM   #4
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
i think i will use xine and olge for now, i dont have time to backtrack. LOL!
 
Old 04-12-2002, 03:33 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
pah, lightweight, you'll SOOOOOOOOOOOo regret saying that as and when you do get it going.
 
Old 04-12-2002, 03:34 PM   #6
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by acid_kewpie
pah, lightweight, you'll SOOOOOOOOOOOo regret saying that as and when you do get it going.
i downloaded the build scripts for mplayer and i am going to use this site as my guild but i am still going to install xine an ogle just for kicks. But i know of the xine problems i ran it in red hat. it wasnt pretty.
 
Old 04-12-2002, 03:38 PM   #7
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by digital bots

i downloaded the build scripts for mplayer and i am going to use this site as my guild but i am still going to install xine an ogle just for kicks. But i know of the xine problems i ran it in red hat. it wasnt pretty.
Why do i get this when i run MPlayer i get this codec error. I loaded the ws32config, and divx4linux and when i run this divx file it gives me this. I tried to re complie everything but it seems that MPlayer hates me like so many other apps i dont know how to run correctly. LOL!
***********************
root@router:~# mplayer RT.avi


MPlayer 0.60-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /root/.mplayer/codecs.conf: 26 audio & 70 video codecs
Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux's hardware RTC timing (1024Hz)
Playing RT.avi
Not an URL!
Detected AVI file format!
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
VIDEO: [DIV3] 640x336 24bpp 23.98 fps 866.9 kbps (105.8 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:640x336 fps:23.98 ftime:=0.0417
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
mp3lib: Processor ID: 642
mp3lib: Using AMD 3dnow-dsp(k7)! optimized decore.
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 16000->176400
Detected video codec: [divx] drv:2 prio:0 (DivX ;-) (MS MPEG-4 v3))
Support for win32 codecs disabled, or unavailable on non-x86 platforms!
FATAL: Couldn't initialize video codec
*** free_stream() called ***

Exiting... (End of file)
root@router:~#
********************
Now i will tell ya this much i installed it with a no cpu check this time per the last error instructions.

Last edited by digital bots; 04-13-2002 at 11:13 PM.
 
Old 05-28-2002, 10:36 PM   #8
TwinkieStix
LQ Newbie
 
Registered: May 2002
Posts: 2

Rep: Reputation: 0
The Quick Solution

I'm using Redhat 7.2 I simply typed:

mplayer -vo sdl filename.divx

To force the output to the SDL engine. If you don't have SDL, then you can use:
mplayer -vo x11 filename.divx

Type
mplayer -vo help

for a list of output types.

--TwinkieStix
 
Old 07-01-2002, 12:37 PM   #9
jarle
LQ Newbie
 
Registered: Jun 2002
Location: Norway
Posts: 13

Rep: Reputation: 0
Just curious....
WHich output type is recommended? (When it comes to quality, speed ++)
 
Old 07-02-2002, 08:56 AM   #10
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
judging by the error message you compiled and installed mplayer before you copied the win32 codecs to /usr/lib/win32

it really helps to have the win32 codecs (all you really ever will need) in the appropriate directory before ./configuring mplayer. also in the src dir of mplayer do:

cp etc/codecs.conf ~/.mplayer

(after doing ./configure && make && make install of course)

also justa side note:

xine isnt that bad either but Mplayer RULEZ

PEACE

Last edited by da Perp; 07-02-2002 at 08:58 AM.
 
Old 07-02-2002, 09:30 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
best output generally would be XV i think. X11 uses full software processing and is pretty slow. SDL is quite versatile but doesn't scale well as it is done with external libraries which MPlayer is not able to interact with as much as would be desirable. outside of X i always use vesa, neater and cleaner then fbdev or the others, but i've not looked at performance. check 'top' when you run different video outputs. using xv i get about 22% cpu usage, while X11 uses about 40% if i remember right.
 
  


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
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 09:12 AM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 01:58 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 11:44 AM
More mplayer issues...no /.mplayer folder?! lt1derful Linux - Software 3 08-03-2003 10:09 PM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 11:55 PM


All times are GMT -5. The time now is 02:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration