[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some notes on multimedia support in iceweasel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Jul 13, 2008 at 01:49:22PM +0200, Petter Reinholdtsen wrote:
>[Petter Reinholdtsen]
>> No idea yet what mime type is used by NRK or TV2 for its streaming
>> video.
>
>I still got no idea what NRK is using, but can report that TV2 work
>with the kaffeine plugin after adding a lot of mime types to the list
>of mime types supported by the plugin (#490557).

Looking at the source of the page 
http://www1.nrk.no/nett-tv/klipp/386320 revealed the following URL 
inside some JavaScript code: 
http://www1.nrk.no/nett-tv/asx.aspx?param=933D22DA51876E36E0DF6FDB6664E71EE7DD01CF4E96484B5C3D23400F8C7016CFDB8F35C1EC343E7411491B65FA2114798C5B38D886948EC4E6ED2CDF7DC3D40086395BA922F279E67A52D8A461E8CEC42698389DAAC77A43636EAC9BB1BF4F6230235F0421CAC4CA3D0BA8C406675E368E5106E292505E2D4A56FE4E87D2A37FDEF21A323822783B24828D0B9573D1434A4466B827E65885E873019C52097C27CD29D0EC370CC6&browser=Mozilla

The URL played fine on my Xine (which uses non-Debian ffmpeg!) on Core 
Duo2 hardware.  Adding --verbose revealed the following:

xine: found input plugin  : http input plugin
input_http: content length = 654 bytes
xine: found demuxer plugin: ASF demux plugin
av_offset=0 pts
spu_offset=0 pts
XINE_EVENT_MRL_REFERENCE got mrl [mms://straumOD.nrk.no/f/Barnas_Supershow/2008-07-05/05_07_08_1000_386320_20080705_180000.wmv] (alternative=0)
gui_xine_open_and_play():
	mrl: 'mms://straumOD.nrk.no/f/Barnas_Supershow/2008-07-05/05_07_08_1000_386320_20080705_180000.wmv',
	sub 'NONE',
	start_pos 0, start_time 0, av_offset 0, spu_offset 0.
xine: found input plugin  : mms streaming input plugin
xine: found demuxer plugin: ASF demux plugin


So NRL use WMF-encapsulated ASF-encoded MMS streams, it seems.  I 
believe such encapsulation does not use MIME hints, so even if you find 
MIME codes for same codecs the way NRL distributes does not use them.


If you want to inspect further, you might find the mimms Debian package 
useful.


If interested in alternatives to embedding video in Iceweasel, there's 
either (as alternative graphical browsers) me-tv and miro, or (as 
command-line scriptable tools) youtube-dl and clive.

There are some spin-offs of youtube-dl too (like nicovideo-dl and 
metacafe-dl).  Perhaps write another fork - nkr-dl - too?  ;-)


>I wrote this script to list the mime types supported by the various
>plugins:

I suspect that script to only tell wht the plugins _claim_ to support.

What they actually support - and with what quality, and depending on 
which resources (eg. very fast computer, 32-bit intel CPU or GL) 
probably needs detailed testing as you've bagun already.


  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  - Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh5+d8ACgkQn7DbMsAkQLhiZACgiHQ6PN5//DT63xS9bMQb6DKw
5EYAn0Knx1npMyHWxO7VPDUzOnO3Gp3Y
=7kxE
-----END PGP SIGNATURE-----


Reply to: