[Petter Reinholdtsen]
> I found a solution.  Changing the configuration to use TCP for RTSP
> streams got the video streaming.  Why is this not the default?
> Would it be an idea to test with TCP if the current default isn't
> working, to get this working out of the box?

I did some more investigation.  The URL passed to mplayer by the
plugin is

  'http://www.filmarkivet.no/open/film/playlist.aspx?teasers=1&pl=smil'

This URL contain content like this:

  <smil xmlns="http://www.w3.org/2001/SMIL20/Language";>
    <head>
      <layout>
        <root-layout background-color="black" id="r1" width="800" height="450" 
/>
        <region left="0" top="0" width="100%" height="100%" fit="fill" id="r2" 
/>
        <region left="100" top="0" width="100%" height="100%" fit="meet" 
id="r3" />
      </layout>
    </head>
    <body>
      <seq>
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/nfi_vignett.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_50684.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_51063.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_51068.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_51076.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_51271.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400050.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400054.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400056.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_46242.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_46259.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400054.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400046.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400056.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400038.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400040.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400047.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400044.mp4" 
region="r3" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400050.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400053.mp4" 
region="r2" />
        <video src="rtsp://qtsrv1.ella.no/filmarkivet/movie/p_400049.mp4" 
region="r2" />
      </seq>
    </body>
  </smil>

When I test with gmplayer behind NAT with a command line like this, no
video is played:

  gmplayer rtsp://qtsrv1.ella.no/filmarkivet/movie/nfi_vignett.mp4

while when I add the -rtsp-stream-over-tcp option, it work:

  gmplayer -rtsp-stream-over-tcp \
    rtsp://qtsrv1.ella.no/filmarkivet/movie/nfi_vignett.mp4

With VLC, this work out of the box, and this make me suspect it will
automatically try TCP if UDP fail.  Perhaps an idea for mplayer to get
it workout out of the box when the client is behind NAT?

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to