LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-30-2007, 10:43 AM   #1
Kanesoban
Member
 
Registered: Oct 2006
Distribution: Gentoo
Posts: 34

Rep: Reputation: 15
mplayerplug-in dosen't play wmv streams.


So i have the mplayerplug-in. It plays most streams, like these
http://www.apple.com/trailers/ and other formats, but not wmv. If i try to watch wmv, firefox just asks what program i want to use to open this. Here is an example stream that does not work:

http://ondemand.video.t-online.hu/mt...das_szeles.wmv

By the way, Mplayer (not the plugin) does play wmv files.
 
Old 10-01-2007, 04:40 AM   #2
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Hi Kanesoban
Can you tell if you have something related to the .wmv suffix in Firefox about:plugins ?
If not your mplayerplug-in package is not correctly installed.
Do you have these files :
/opt/mozilla/lib/plugins/mplayerplug-in-wmp.so
/opt/mozilla/lib/plugins/mplayerplug-in-wmp.xpt

And you have to enable wmp in the ~/.mplayer/mplayerplug-in.conf file :
enable-wmp=1

Do you use the latest 3.45 version ?

Just some suggestions about possible causes of your problem.
Greetings.
 
Old 10-01-2007, 02:18 PM   #3
Kanesoban
Member
 
Registered: Oct 2006
Distribution: Gentoo
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Can you tell if you have something related to the .wmv suffix in Firefox aboutlugins ?
I have a whole bunch of mplayer plugins there, but nothing that seems to be related to wmv.

Quote:
/opt/mozilla/lib/plugins/mplayerplug-in-wmp.so
/opt/mozilla/lib/plugins/mplayerplug-in-wmp.xpt
i don't have a mozilla library under /opt

Quote:
And you have to enable wmp in the ~/.mplayer/mplayerplug-in.conf file :
enable-wmp=1
I don't have such a file.
Quote:
Do you use the latest 3.45 version ?
Yes.
 
Old 10-01-2007, 04:36 PM   #4
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
When I asked
Quote:
Do you have these files :
/opt/mozilla/lib/plugins/mplayerplug-in-wmp.so
/opt/mozilla/lib/plugins/mplayerplug-in-wmp.xpt
It was just where they are located on an Arch Linux system, but you could have looked where the mplayerplug-in files are installed on your machine, and seeked for the 2 listed above.
The place may vary for different distros.
use:
locate mplayerplug-in*
to find them.

For Windows Media Player streams to play you need these files.
So if you don't have them, you need to somehow get them, probably by recompiling and reinstalling the package, with the configure option to build with Windows Media Support:

--enable-wmp

Greetings.

Last edited by berbae; 10-02-2007 at 04:00 AM.
 
Old 10-02-2007, 04:15 AM   #5
Kanesoban
Member
 
Registered: Oct 2006
Distribution: Gentoo
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
For Windows Media Player streams to play you need these files.
So if you don't have them, you need to somehow get them, probably by recompiling and reinstalling the package, with the configure option to build with Windows Media Support:

--enable-wmp
I reconfigured and reinstalled the mplayerplug-in, and now it plays SOME wmv streams. But on other sites it just says "connecting to server" and then after a while "stopped" if i try to watch a video, such as this:
http://ondemand.video.axelero.hu/mte...das_szeles.wmv
 
Old 10-03-2007, 08:16 AM   #6
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
OK there is some progress.
But for now I'm not at home for a couple of days, so I cannot test the stream at the link you gave.
I will look at it when I'm back.
Now do you have the file '~/.mplayer/mplayerplug-in.conf' or '/etc/mplayerplug-in.conf' or run 'locate mplayerplug-in*' to see where it could be ?
If yes can you post its content.

Last edited by berbae; 10-03-2007 at 08:23 AM.
 
Old 10-05-2007, 04:42 AM   #7
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
I tested the link you gave and I can play it without problem on my Arch Linux machine.
But I don't use mplayerplug-in anymore but the currently under development gecko-mediaplayer which uses the gnome-mplayer front end to mplayer.
See http://dekorte.homeip.net/download/gecko-mediaplayer for more details if you want to use it.
 
Old 10-06-2007, 03:51 AM   #8
Kanesoban
Member
 
Registered: Oct 2006
Distribution: Gentoo
Posts: 34

Original Poster
Rep: Reputation: 15
Ok, i installed Gnome-mplayer and gecko-mediaplayer. Now, what do i need to do in order to play streams in firefox and opera?
 
Old 10-06-2007, 04:19 AM   #9
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
If you choose to use the gecko-mediaplayer plugin, you have to uninstall mplayerplug-in, you cannot use both of them.
What you need to do to play streams in firefox and opera is to be sure that the gecko-mediaplayer files are in the right directory : the plugins directory on your system.
As I don't use Gentoo, I don't know what is exactly this directory for you.
On my machine it is '/opt/mozilla/lib/plugins' and in this directory I have the gecko-mediaplayer files :
gecko-mediaplayer-dvx.so
gecko-mediaplayer-dvx.xpt
gecko-mediaplayer-qt.so
gecko-mediaplayer-qt.xpt
gecko-mediaplayer-rm.so
gecko-mediaplayer-rm.xpt
gecko-mediaplayer-wmp.so
gecko-mediaplayer-wmp.xpt
gecko-mediaplayer.so
gecko-mediaplayer.xpt

You can find all the directories named 'plugins' on your system running :
find / -type d -name plugins
and look where in these directories there are plugins files for firefox and opera.
And after that install gecko-mediaplayer in the right one, if it is not yet the case.
After a restart of firefox look in about:plugins to be sure all the plugins are found.

Take note that the gecko-mediaplayer plugin is under development currently and is not yet in a stable state, but it works correctly for me already.

Last edited by berbae; 10-06-2007 at 07:45 AM.
 
Old 10-06-2007, 01:34 PM   #10
Kanesoban
Member
 
Registered: Oct 2006
Distribution: Gentoo
Posts: 34

Original Poster
Rep: Reputation: 15
Ok, i think i found where should i really install Gecko. But how can i specify a different installation directory?
 
Old 10-06-2007, 05:16 PM   #11
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
If you compile it yourselves with the traditional method, pass the installation directory to the configure script :
./configure --libdir=DIR

for example, for a plugins directory like '/opt/mozilla/plugins' run :
./configure --libdir=/opt

If you use the portage system, I don't know it ; ask a Gentoo forum for help.
 
Old 10-07-2007, 01:38 AM   #12
Kanesoban
Member
 
Registered: Oct 2006
Distribution: Gentoo
Posts: 34

Original Poster
Rep: Reputation: 15
/usr/lib/mozilla-firefox/plugins is my plugins directory. But if i give --libdir=/usr/lib, it installs the plugins under /usr/lib/mozilla/plugins, and thats not good for me.

I tried installing gecko under somewhere else, and then copying its files in the correct directory. aboutlugins shows now, that there are a bunch of gecko plugins (including wmv plugins), and if i try to watch a wmv stream, gecko player starts. But it always says "Connecting" and never starts playing.
 
Old 10-07-2007, 05:01 AM   #13
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
I tried another time the link you gave above and it works for me.
I will give the configuration I have when right clicking the embedded window of the Gecko player and choosing 'Propriétés' (the one with a tools icon) :
Under the General tab
video : xv
audio : alsa
Cache size : 4048
On screen display level : 0

Under the Plugin tab everything is checked.

Do you have the same ?

Can you confirm that you can play that link directly with mplayer ?

Edit: Also try to rename your ~/.mplayer directory to ~/.mplayer.bak
maybe something is not good there.

Last edited by berbae; 10-07-2007 at 08:12 AM.
 
Old 10-07-2007, 05:09 AM   #14
Kanesoban
Member
 
Registered: Oct 2006
Distribution: Gentoo
Posts: 34

Original Poster
Rep: Reputation: 15
No, i can't play it with mplayer. It says:

Playing http://ondemand.video.axelero.hu/mte...v?MSWMExt=.asf.
Resolving ondemand.video.axelero.hu for AF_INET6...
Couldn't resolve name for AF_INET6: ondemand.video.axelero.hu
Resolving ondemand.video.axelero.hu for AF_INET...
Connecting to server ondemand.video.axelero.hu[195.228.246.68]: 80...
Cache size set to 320 KBytes

And writes this message out infinite amount of times.

By the way, gecko dosen't play other streems too (wich mplayerplug-in played).
 
Old 10-07-2007, 08:06 AM   #15
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Can you post the beginning of the output of mplayer ?
The link works for me directly with mplayer, here is the output I get:
Code:
[berbae@arch ~]$ mplayer http://ondemand.video.axelero.hu/mte/050404_sotonyi_eloadas_szeles.wmv?MSWMExt=.asf
MPlayer 1.0rc1-4.2.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 2800+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
98 audio & 216 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://ondemand.video.axelero.hu/mte/050404_sotonyi_eloadas_szeles.wmv?MSWMExt=.asf.
Resolving ondemand.video.axelero.hu for AF_INET...
Connecting to server ondemand.video.axelero.hu[195.228.246.68]: 80...
STREAM_ASF, URL: http://ondemand.video.axelero.hu/mte/050404_sotonyi_eloadas_szeles.wmv?MSWMExt=.asf
Resolving ondemand.video.axelero.hu for AF_INET...
Connecting to server ondemand.video.axelero.hu[195.228.246.68]: 80...
Resolving ondemand.video.axelero.hu for AF_INET...
Connecting to server ondemand.video.axelero.hu[195.228.246.68]: 80...
Cache size set to 960 KBytes
Cache fill: 18.33% (180224 bytes)
ASF file format detected.
VIDEO:  [WMV3]  320x240  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: Sótonyi Péter Tamás: Az állatok mozgásának elemzése - Mindentudás Egyeteme 2005.04.04.
 author: Axelero Rt. 2005.
 copyright: Matáv - Axelero Rt. 2005.
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:230400  align:1
StreamCount r=0x0  1  1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 2 ch, s16le, 40.0 kbit/3.91% (ratio: 5000->128000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [oss] 32000Hz 2ch s16le (2 bytes per sample)
Starting playback...
You didn't answer to the first part of my preceding post and didn't say if you try to rename the ~/.mplayer directory.

Can you answer to the entire post please...
 
  


Reply



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
[openal] :sound file dosen't play well. Am i doing anything wrong? Hyakutake Programming 15 12-05-2006 11:42 AM
Cant' view WMV files, or MLB.TV live streams mrbadboy Linux - Software 3 04-22-2006 09:15 AM
can't get mozilla to play .wmv files with mplayerplug-in slzckboy Linux - Software 3 12-14-2005 06:43 AM
mplayerplug-in & wmv.... >.< coolpyrofreak Linux - Software 3 08-29-2005 04:37 PM
mplayerplug-in and wmv files? Redbone981sl Linux - Software 3 01-23-2004 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:17 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