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

Re: Some notes on multimedia support in iceweasel

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: 

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)
	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 

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

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
Version: GnuPG v1.4.9 (GNU/Linux)


Reply to: