<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hello again,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
The MediaSink I am using is the QuickTimeFileSink from liveMedia.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">I am creating the FileSink this way:</div><div class="gmail_default" style="font-family:tahoma,sans-serif">
<br></div><div class="gmail_default"><div class="gmail_default"><font face="tahoma, sans-serif"><span class="" style="white-space:pre"> </span>scs.qtOut = QuickTimeFileSink::createNew(env, *scs.session, fileName,</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif"><span class="" style="white-space:pre"> </span> 50000,480, 360,20,false,false,false,false);</font></div><div class="gmail_default" style><br></div><div class="gmail_default" style>
<font face="tahoma, sans-serif">An example of a file I have recorded is posted here:</font></div><div class="gmail_default" style><font face="tahoma, sans-serif"><a href="http://fazion.com.br/biz/192.168.200.39-16-25-35.avi">http://fazion.com.br/biz/192.168.200.39-16-25-35.avi</a><br>
</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style><font face="tahoma, sans-serif">I tried with different fps and size of buffers, but with no success.</font></div>
<div class="gmail_default" style><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style><font face="tahoma, sans-serif">Thanks for your attention again.</font></div><div class="gmail_default" style>
<br></div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Renata Faraco Cunha</div></div>
<br><br><div class="gmail_quote">2013/6/24 Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div class="im"><div><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><div class="gmail_default" style="font-size:13px">I made a RTSP Client to receive a RTSP stream from a camera Pelco Sarix. This stream has been saved in a MediaSink configured to have the same parameters (frames per second, among others) of the stream. But, for each 1 hour recorded I get a 1:03h video file.Is there anything I can do to get and recording the stream at the same velocity?</div>
</div></div></blockquote><div><br></div></div></div>Without knowing the details of what your "MediaSink" subclass looks like, it's hard to answer this question. However, you should use the 'presentation time' (that you get along with each received frame) to figure out when each frame should be played.<span class="HOEnZb"><font color="#888888"><br>
<br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">Ross Finlayson<br>
Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></font></span></div><br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br></div>