I tested to add debug=1 in ~/.mplayer/mplayerplug-in.conf, and found
the URL passed to the plugin.  This is the output from the plugin.

checking toolkit
toolkitOk? mozilla = 2, plugin = 2
mimetype: application/x-mplayer2
Embedded mode
Argument Name: type
Argument Value: application/x-mplayer2
Argument Name: class
Argument Value: videoObject controlsBuiltIn
Argument Name: id
Argument Value: video260363
Argument Name: PARAM
Argument Value: (null)
Argument Name: stretchToFit
Argument Value: 1
Argument Name: displaySize
Argument Value: 4
argv[i]=4
targetplayer=0
Argument Name: autoSize
Argument Value: 0
Argument Name: allowChangeDisplaySize
Argument Value: 1
Argument Name: showControls
Argument Value: 0
argv[i]=0
showcontrols=0
Argument Name: showStatusBar
Argument Value: 0
Argument Name: volume
Argument Value: 90
Argument Name: autoStart
Argument Value: 1
argv[i]=1
autostart=1
Argument Name: AUTOPLAY
Argument Value: true
argv[i]=true
autostart=1
Argument Name: enableContextMenu
Argument Value: 1
argv[i]=1
enablecontextmenu=1
Argument Name: windowlessVideo
Argument Value: 0
Argument Name: src
Argument Value: http://webtv.tv2.no/webtv/metafile.asx?p=260363&bw=100
Argument Name: SCALE
Argument Value: tofit
Argument Name: showTracker
Argument Value: 1
argv[i]=1
showtracker=1
New window! old: 0x0    new 0x33577203
Size: 0 0 0x20058f3
Size: 680x422
resizing widgets to 680 x 422
back in SetWindow
New Size: 680x422
resizing widgets to 680 x 422


In this case, it was
<URL:http://webtv.tv2.no/webtv/metafile.asx?p=260363&bw=100>.  Next, I
tried to pass this link to gmplayer, and it fail.  It seem to me that
the ASX XML file provided behind this link is not supported by
mplayer.  The ASX file is attached.  Passing the URL to vlc work.
Passing it to xine and kaffeine only play the sound.

Happy hacking,
-- 
Petter Reinholdtsen
<ASX VERSION="3.0">



        <ABSTRACT> </ABSTRACT>
        <TITLE>Gratis pizza til folket</TITLE>
        <AUTHOR> </AUTHOR>
        <COPYRIGHT>TV 2</COPYRIGHT>




        <ENTRY>

                <TITLE>Gratis pizza til folket</TITLE>
                <ABSTRACT>Gratis pizza til folket i protest mot høye 
pizza-priser.</ABSTRACT>
                <COPYRIGHT>TV 2</COPYRIGHT>
                <!-- StreamMetrix logging -->
                <PARAM NAME="SM/title" VALUE="Gratis pizza til folket"/>
                <PARAM NAME="SM/smsec" 
VALUE="smsec=var1&smsec=var2&smsec=var3"/>

                
                <PARAM NAME="progId" VALUE="260363"/>


        
        
        
                <REF 
HREF="mms://84.208.28.4/TV2_PLAY?MSG=p7lVrYexGpT3kCYNFUFpIya9i5io1l6kkr31Nq2O)Vc!&WMContentBitrate=100000">
                
                
                </REF>
        
        

        
        
        
                <REF 
HREF="mms://84.208.28.6/TV2_PLAY?MSG=p7lVrYexGpT3kCYNFUFpIya9i5io1l6kkr31Nq2O)Vc!&WMContentBitrate=100000">
                
                
                </REF>
        
        

        
        
        
                <REF 
HREF="mms://195.5.113.70/TV2_PLAY?MSG=p7lVrYexGpT3kCYNFUFpIya9i5io1l6kkr31Nq2O)Vc!&WMContentBitrate=100000">
                
                
                </REF>
        
        

        
        
        
                <REF 
HREF="mms://217.13.7.25/TV2_PLAY?MSG=p7lVrYexGpT3kCYNFUFpIya9i5io1l6kkr31Nq2O)Vc!&WMContentBitrate=100000">
                
                
                </REF>
        
        

        
        
        
                <REF 
HREF="mms://195.5.113.70/TV2_PLAY?MSG=p7lVrYexGpT3kCYNFUFpIya9i5io1l6kkr31Nq2O)Vc!&WMContentBitrate=100000">
                
                
                </REF>
        
        

        </ENTRY>

</ASX>

Reply via email to