LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2006, 09:35 AM   #16
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45

Quote:
sorry,but you have to explain for me how to recompile since i never did this before, and what do you mean by reconfigure?? i tried to modify the config file of mplayer , but since it's empty i did'nt know how to ( what exactly to write ) reconfigure it
Reconfigure it is referring to the initial configuration when compiling from the source. The full process is:
Code:
#./configure --with-win32libdir=/usr/lib/codecs --enable-gui
#make && make install
This requires the development packages from your distro such as gcc. When you are done doing the ./configure, scroll up with <shift>+<PgUp> and check out everything it autodetected. If you see a "No" next to anything you have, you will need to reissue the ./configure command with the appropriate option. See './configure --help' for a full list of options. ALso, the '--enable-gui' option requires the correct skins and fonts be installed. See http://www.mplayerhq.hu/design7/dload.html for more info.

note: you might want to uninstall any previous MPlayer packages before installing form the source.

regards,
...drkstr

**edit**
I don't know if I need to mention this or not, but you need to download the MPlayer source from their website and issue the above commands in the parant directory of that source.
**edit**

Last edited by drkstr; 05-01-2006 at 10:05 AM.
 
Old 05-01-2006, 02:08 PM   #17
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
replay ..

hello ,
then , i could successfully get my mplayer play wmv3 ... ,
but once i try to play .avi file the mplayer get stucked ..!
and about .rm files the mplayer give this error message ...
Quote:
Cannot find codec for audio format 0x72706973
from audio and :
Quote:
Cannot find codec matching selected -vo and video format 0x30345652
i have to add that i didn't uninstall the mplayer before starting installing ... and i didn't look at all the no appeared while running ./configure command ...

thanks ,
m-s,
 
Old 05-01-2006, 03:34 PM   #18
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
cd to /usr and do
Code:
whereis mplayer
Make sure you do not have it installed in two diffrent places. Then
Code:
ls -l /usr/local/bin/ | grep mplayer
to make sure the mplayer binary is the more recent one you just installed from the source (might need to change to /usr/bin/ depending on results of first command). You really should uninstall the original package and then redo the make install, but we might be able to work around it if you feel the need to have 2 diffrent versions of MPlayer on your system. It's better to eliminate all posible sources of problems though when trying to debug a problem.

After you are sure you are calling the correct version of mplayer, from a terminal window do a
Code:
mplayer /<location to video>/myvideo.<rm/avi>
for both video types and then copy and paste the full results. This will show exactly what the problem is and why it's happening. I will be able to assist you further with this information.

I have not yet found a video type that is not supported by mplayer. The errors you are getting are a result of something not being installed correctly, or you installed the "windows-all-codec" package instead of the "all-codec" one

regards,
...drkstr

Last edited by drkstr; 05-01-2006 at 03:37 PM.
 
Old 05-02-2006, 09:53 AM   #19
bio71
Member
 
Registered: May 2006
Posts: 32

Rep: Reputation: 15
Post Got another 1 4 ya regarding mplayer

I just looked all over their site to install mplayer. Installed all of the codecs and it says the default is now /usr/local/lib/codecs for... the codecs. The codecs have to be installed 1st so mplayer will find them during compile.

My dilemna is... I can't get past my config script because I have gcc-4 on my system. According to the configure script, this is not the one that they use to compile mplayer with.

for gcc-3.2 and below, they suggest using gcc-core version 3.2 or above. I would think this version would be less of a problem not more of one. Unless, gcc-4 is more unstable than 3, but I find that hard to believe.
 
Old 05-02-2006, 11:33 AM   #20
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
replay ..

well , i uninstalled the mplayer package ..
installed it again from source ( i needed to downgrad to gcc.3.* ) and i could get it play .rm files too( in addition to wmv3 ) but it treet one .avi file that i have as an audio file although it's not , so i tried to run another movie .avi file and it played it successfully ...!!!

there is still one problem .. how to create the mplayer icon back under the kde menu/multimedia/video ???

i added some of it's output here :
Quote:
MPlayer 1.0pre6-3.4.6 (C) 2000-2004 MPlayer Team
CPU: Intel (Family: 6, Stepping: 6)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Playing /mnt/cdrom/xv-low.dvdrip.xvid.cd1.avi.
AVI file format detected.
VIDEO: [XVID] 672x272 12bpp 25.000 fps 1611.1 kbps (196.7 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 20000->192000 (160.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 672 x 272 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.47:1 - prescaling to correct movie aspect.
VO: [xv] 672x272 => 672x272 Planar YV12
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
and another one :
Quote:
MPlayer 1.0pre6-3.4.6 (C) 2000-2004 MPlayer Team
CPU: Intel (Family: 6, Stepping: 6)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Playing test_vm.rm.
REAL file format detected.
======= WAVE Format =======
Format Tag: 26995 (0x6973)
Channels: 1
Samplerate: 8000
avg byte/sec: 8444
Block align: 304
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [0] [6] [0] [1] [0] [30] [1] [0] [0]
===========================
Not audio/video stream or unsupported!
VIDEO: RV30 [30203002,000B1030] 320x240 (aspect 0.00) 15.00 fps
VIDEO: [RV30] 320x240 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
copyright: (C) 2004
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/sipr.so.6.0'
Audio codec: [1] 8.5 Kbps Voice
Audio bitrate: 8.500 kbit/s (1063 bps)
AUDIO: 8000 Hz, 1 ch, 16 bit (0x10), ratio: 1063->16000 (8.5 kbit)
Selected audio codec: [rasipr] afm:realaud (RealAudio Sipro)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
opening shared obj '/usr/local/lib/codecs/drv3.so.6.0'
Selected video codec: [rv30] vfm:realvid (Linux RealPlayer 8 RV30 decoder)
==========================================================================
Checking audio filter chain for 8000Hz/1ch/16bit -> 8000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 1 ch, 8000 hz, little endian signed int
AF_pre: 8000Hz 1ch Signed 16-bit (Little-Endian)
AO: [oss] 8000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 8000Hz/1ch/16bit -> 8000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 320x240 => 320x240 Planar I420
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
and ofcourse my xine player still does not play wmv3 although it played the above .avi movie ...!!!!
thanks alot ,
m-s,

Last edited by mohama; 05-02-2006 at 11:40 AM.
 
Old 05-02-2006, 11:43 AM   #21
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
so everything is working now? that's good. FYI, if you installed your codecs in /usr/local/lib/codecs then you might want to create a link to it in /usr so other programs con fined them (just in case)
Code:
#ln -sf /usr/local/lib/codecs /usr/lib/codecs
Quote:
there is still one problem .. how to create the mplayer icon back under the kde menu/multimedia/video ???
Right click on the K start bar and hit menu editor. Add a new item in the category you want. Under command type 'gmplayer' for gui MPlayer (requires skins). Then select the correct icon. The icons will be with the skin in their own sub-directory.

regards,
...dkrstr
 
Old 05-02-2006, 11:54 AM   #22
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
seems that i don't have the GUI mplayer ...!
m-s,
 
Old 05-02-2006, 12:13 PM   #23
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
you needed to add the option '--enable-gui' when you did your ./configure prior to compiling.

regards,
...drkstr
 
Old 05-02-2006, 08:59 PM   #24
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
replay ..

hello ,

Quote:
you needed to add the option '--enable-gui' when you did your ./configure prior to compiling.
yes , i know , but i have some problem with the dependences and spesificaly with gtk-devel which also requires some other packages like glib , pango , atk ...

and i'll find some time to try fix it in the near future , but for now i wanted to realy thank you very much , and i owe you ... :-)

thanks ,
muhammad-s ,
 
Old 05-02-2006, 09:43 PM   #25
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
No problem my friend, let me know if you have any other questions. I would be happy to help.

regards,
...drkstr

*****unrelated to Linux*****

I'm sure this is not the correct place to be asking these kinds of questions, so feel free not to reply to this, but I noticed you are from Palestine. I am glad you have finally won your independence. How is everything going over there? Is there still a lot of Israeli oppression or is palestine completely autonomous now? What is the new government like? I am just curious because the news media here in the US spoon feeds us what they want us to hear and it's hard to get the truth about what's actually going on in the world. Thanks for your time! ...drkstr

*****unrelated to Linux*****
 
Old 05-02-2006, 10:31 PM   #26
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Original Poster
Rep: Reputation: 31
replay ,

hello ,
well , this is such a complicated and long issue , hmmmmm ,
Quote:
I am glad you have finally won your independence
why do you think that we got our independence..??????
Quote:
Is there still a lot of Israeli oppression or is palestine completely autonomous now?
when you say palestine you mean the complete(historical) one or the west bank -gaza ?? well , it does not matter that much because niether of them is autonomous ( free ) ..!!!
Quote:
What is the new government like?
well,the fact that the party leading the government won the majority of the parliament ( if i remeber truely 76 seats out of possible 120-130 ) tells every thing ..!!
thanks for asking and being interested ... and one last sentence , i have to add that i believe that most of arabs and muslims do not agree with terrorist attacks agains american people such as 11/9 tragedy.....
and to the moderator .. sorry don't get upset because few sentences in politics ..:-)

thanks,
muhammad,
 
Old 05-03-2006, 12:36 AM   #27
Madd the Sane
Member
 
Registered: Apr 2006
Location: USA
Distribution: Ubuntu 12.04
Posts: 42

Rep: Reputation: 15
Quote:
Originally Posted by bio71
My dilemna is... I can't get past my config script because I have gcc-4 on my system. According to the configure script, this is not the one that they use to compile mplayer with.

for gcc-3.2 and below, they suggest using gcc-core version 3.2 or above. I would think this version would be less of a problem not more of one. Unless, gcc-4 is more unstable than 3, but I find that hard to believe.
have you tried doing "gcc_select 3" I can't remember the exact command, but when you're in SuperUser mode, you can enter it in to change the default GCC compiler. I got this from Mac OS 10.2. The command might be something minorly different since I can't remember exactly what it was, and I don't want to look it up.
 
Old 05-03-2006, 01:45 AM   #28
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
*****unrelated to Linux*****

muhammad, thank you for your response. I am grateful to be able to speak to someone with first hand knowledge of the area. Unfortunately your response has actually made me more interested/curious about it since I can see I am very ignorant to the facts. May I ask that if you decide to continue this discussion, to please send your response to my email <armantic...(at)gmail.com> (modified to prevent spam, remove ... and at=@) SInce this would probably not be the best forum to discus it.

Quote:
why do you think that we got our independence..??????
because that is what my TV told me to think.

Quote:
when you say palestine you mean the complete(historical) one or the west bank -gaza ?? well
Please do not take my ignorance as a sign of disrespect. From what I have read and seen on the news, there has been no distintion between the two. What is the diffrence between the complete(historical) Palestine and "the west bank"?

Quote:
it does not matter that much because niether of them is autonomous ( free ) ..!!!
Again, I apologize for my ignorance. We have been told that the west bank is now free and it's jolly good times from here on out. What actually happend? Is the west bank still part of Isrial? Idiealy, is it the goal of the west bank (or all of Palastien?) to become completly autonomous, and what is preventing it?

Quote:
i have to add that i believe that most of arabs and muslims do not agree with terrorist attacks agains american people such as 11/9 tragedy
I would hope that no one here would actually think this is the case. There is a big difference between ignorance and stupidity. Every religion has it's bad apples, christianity is no exception.

Thanks again for you taking the time to respond to this. I know a lot of my questions are huge in nature and do not have any one simple answer. I am a very curious person by nature and do not like to be ignorant about anything, whether it's Linux or politics. Any information you do decide to share will be greatly appreciated.

regards,
...drkstr

*****unrelated to Linux*****

Last edited by drkstr; 05-03-2006 at 01:47 AM.
 
  


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
Playing WMV3 files in mplayer? garnser Linux - Software 4 05-22-2006 06:57 PM
totem and xine aren't playing .avi files aditya1 Ubuntu 4 03-27-2006 04:31 PM
change uploaded files from filename.avi to filename.avi.html like www.rapidshare.de latheesan Linux - Newbie 3 06-16-2005 05:33 AM
playing avi and wmv files in xine ? BajaNick Linux - Software 21 08-29-2004 03:34 PM
AVI and Xine drdroid Linux - Software 0 02-08-2004 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:52 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
Open Source Consulting | Domain Registration