Re: problematic .asx files

Kevin DeKorte <[email protected]> Wed, 08 Oct 2008 08:39:57 -0600
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sampsa Riikonen wrote:
> Dear Devs,
> 
> Below you can find some posts (4 e-mails) from the opensuse mailing list..
> There seems to be a bug in the mplayer plugin to play certain .asx
> files.. could this be fixed?
> 
> Kind regards,
> 
> Sampsa
> 

I took a look at the notes below and basically it comes down to this.
The site below is passing an ASX file that only has relative urls for
the media files. So mplayerplug-in is passing the entire ASX file to
mplayer for processing, but because the full path to the ASX file is
missing, mplayer can't find anything.

Kevin

> Mail (1):
>> On Tuesday 07 October 2008 12:17:37 am Andrew Joakimsen wrote:
>>> I've recently gotten this working with the mplayer plugin. I think I
>>> am using the one from Packman repository. if you use 64-bit openSUSE
>>> you must use 64-bit firefox (you can install the 32-bit plugin but it
>>> won't work w/o 32-bit mplayer, and when you try to install that it
>>> wants to convert just about every KDE package to 32bit)
>>>
>>> I can play the live streaming audio on Sirius radio and other such sites.
>>>
>>> On Mon, Oct 6, 2008 at 5:13 PM, James Hatridge <[email protected]>
>> wrote:
>>>> Hi all,
>>>>
>>>> I just installed 11.0 today. Now on some video sites FF can not play
>>>> the video, it wants "Windows Media Player" but I've not found a Linux
>>>> plugin for this.
>>>>
>>>> What can I do? BTW I was able to play these videos under 10.1 with
>>>> SeaMonkey.
>> Just in case you want an alternative for the mplayer plugin ..
>>
>> There are a lot of weird web-pages out there that mplayer plugin
>> is not able to handle..   I had this problem when installing suse for
>> my 60+ old mom.
>>
>> - Remove mplayer plugin (there seems to be no way to disable it in firefox)
>> - Install the following add-on for firefox:
>> https://addons.mozilla.org/en-US/firefox/addon/446
>>
>> .. in that add-on you can easily configure an external program that plays
>> for example those .asx and .asf files.  The best one I have found
>> (that understands each and every format and every web-page) is kmplayer.
>>
>> An alternative way would be to configure the mimetypes in firefox,
>> but that seems to be somewhat complicated..
>>
>> Cheers,
>>
>> Sampsa
> 
> Mail (2):
>> Errr.. KMplayer uses either MPlayer or Xine as it's backend...  So...
>> if you were having problems with the mplayer-plugin but kmplayer
>> worked, then I'm guessing that you didn't have the w32codecs
>> installed, and that KMPlayer was configured to use Xine and
>> Gstreamer... or something along those lines.
>>
>> In my experience, MPlayer and the w32codecs will play everything
>> except DRMed video - just as well as Xine will.
>>
>> C.
>> --
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
> 
> 
> Mail (3):
>> Err.. please go to the following page. ;)
>>
>> http://www.radiojai.com.ar/OnLine/
>>
>> Then click the tab "Música" and choose any of the radio
>> stations.
>>
>> .. does not play with mplayer plugin, but with kmplayer it works!
>>
>> So why is this?
>>
>> If you look at the address bar in the opening window, you can
>> extract the following line (for example, if you chose the "jasidica"
>> radio station):
>>
>> http://www.rhp.com.ar/canales/jasidico/jasidica6.asx
>>
>> Now if you pass that to mplayer in command line, it does
>> not play a thing.
>>
>> If you pass that same address to kmplayer, it works fine and
>> gives the output:
>>
>> mplayer -wid 65012477 -slave  -vo xv,sdl,x11 -ao
>> alsa,oss,sdl,arts -framedrop  -contrast 0 -brightness 0 -hue 0 -saturation
>> 0  -cache 128 'http://www.rhp.com.ar/canales/jasidico/061.wma' -identify
>>
>> The conclusion: it seems that kmplayer does its own processing of the .asx
>> format and then passes the things it finds in the .asx file to mplayer..
>>
>> Cheers,
>>
>> Sampsa
>>
>> P.S. That was a fine example of those .. extraordinary..  web-pages my mom
>> visits. ;)
> 
> Mail (4):
>> KMplayer is only a frontend (and plugin) for whatever backend it's
>> attached to.. MPlayer, or Xine (as well as ffmpeg, ffserver and VDR).
>> See http://kmplayer.kde.org/
>>
>> Using your example, a simple
>>   mplayer -playlist http://www.rhp.com.ar/canales/jasidico/jasidica6.asx
>>  works just fine...
>> (this is actually a known problem with MPlayer that has been around
>> for about 4 years.. or more)
>>
>> I have no idea how to config the plugin to pass this option for
>> playlists.  Moot though since KMPlayer works in its place.
>>
>> C
>> --
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
> 
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Mplayerplug-in-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjsxj0ACgkQ6w2kMH0L1dH7jQCeNt3O6NoZjqS6KHw3JarfQ8i5
c4gAmgJzkNuBuknA4CBrmkEEeo/szywi
=Sd2V
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/