<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">What I am attempting to to is to allow
VLC to be used to play recorded video according to the ONVIF
Streaming Specification 2.1. We currently embed VLC in our
application. What I want to do is to use the medial_player handle
and set the recorded playback start/end time. According to the
ONVIF Specification, when using RTSP to play recorded video, the
start/end times are specified in absolute time and sent to the
video device using the "range: clock" tag. Currently I can use the
vlc library to set the time and length but there is no current way
within the live555 module to tell if the time is in NPT time or
CLOCK time (e.g. unix seconds). At this point I am not so
concerned with getting the current playing time but setting the
limits for recorded playback. Also, initially I do not need to
implement this in the VLC GUI since I already have an application
that VLC in embedded in, as long as there is a way via the VLC
library to set the start/end time. Sorry for not being clear
before, hope this clarifies the issue. David<br>
<pre class="moz-signature" cols="72">David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:david.robison@openroadsconsulting.com">david.robison@openroadsconsulting.com</a>
web: <a class="moz-txt-link-freetext" href="http://openroadsconsulting.com">http://openroadsconsulting.com</a>
blog: <a class="moz-txt-link-freetext" href="http://therobe.blogspot.com">http://therobe.blogspot.com</a>
book: <a class="moz-txt-link-freetext" href="http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526">http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526</a>
</pre>
On 8/5/2014 1:39 PM, Ross Finlayson wrote:<br>
</div>
<blockquote
cite="mid:3CFD3884-B075-468E-ACFC-6C2B85F99D96@live555.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
At this point perhaps it's worth stepping back and asking: Where
do these 'absolute' times come from? I.e., What are you doing (or
planning on doing) in VLC to get these 'absolute' times?
<div><br>
</div>
<div>If you're planning on getting these times simply by 'seeking'
using VLC's GUI (i.e., using its slider), then those are *not*
absolute times - they are relative times. That's explicitly
what 'npt' ("Normal Play Time") means (see RFC 2326, section
3.6, paragraph 3). Therefore, if you're getting these times
only by 'seeking' using VLC's GUI, then "range: npt" strings are
*exactly* what you want - and therefore you should not be
considering making *any* changes to VLC.</div>
<div><br>
</div>
<div>Note that (quoting from RFC 2326, section 10.5, final
paragraph) "A media server only supporting playback MUST support
the npt format and MAY support the clock and smpte formats".
Therefore, if your server does not support "range: npt"
strings, then it is *not* standards compliant, and VLC (nor any
other media player client) is under no obligation to support it.
Note that the Internet standard here is RFC 2326 (IETF), not
'ONVIF'. ('ONVIF' is an 'industry consortium', not a standards
organization.)</div>
<div><br>
</div>
<div>If, on the other hand, you're planning on getting these
'absolute' times in some way other than by using VLC's GUI
slider, then presumably you can arrange to generate the
appropriate (ISO 8601 format) string then, assign it to some
"char*" variable, and modify VLC's "live555" access module to
check whether that variable is non-NULL - and then call the
appropriate version of "sendPlayCommand()".</div>
<br>
<div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; "><span class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; ">Ross Finlayson<br>
Live Networks, Inc.<br>
<a moz-do-not-send="true" href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a class="moz-txt-link-freetext" href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a>
</pre>
</blockquote>
<br>
<BR />
<BR />
<HR />
This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.<BR />
If you are not the intended recipient, please delete this email immediately.<BR />
</body>
</html>