[MPlayer-dev-eng] [PATCH] libmpdemux/realrtsp handling url parameters (start|end)=hh:mm:ss.msec

rgselk rgselknospam at yahoo.com
Mon Nov 10 12:37:36 CET 2003


Hello,

Attached is a patch I made to be able to use the start and end tags
within an url to a real rtsp stream.

rtsp://streams2.omroep.nl/tv/vara/kopspijkers/bb.20031108.rm?start=0:34:45&end=0:50:19

It works by using the Range field from rtsp session:
Range: npt=<start time in seconds>-<end time in seconds>

I have a not yet finshed patch to do a better extension check on the
original url because there is a millisecond part in it as well. The
extension check then thinks this is the extension instead of the '.rm':
Originally it reads:
 .. bb.20031108.rm?start=0:34:45.223&end=0:50:19.991
               ^^^              ^^^^            ^^^^

Regards,
  rgselk



__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: realrtsp.diff.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031110/ee3b112d/attachment.txt>


More information about the MPlayer-dev-eng mailing list