<div>
<div>Hi Ishwar,</div>
<div>Thanks for you help.</div>
<div>Are you using TI demo and live555 together?</div>
<div>Because my problem lies in the integration side.</div>
<div> </div>
<div>About timer I dont think I am facing similar problem that you have mentioned,because I have done test with reading video from the file.</div>
<div> </div>
<div>Thanks & Regards</div>
<div> </div>
<div>Amit</div><br><br> </div>
<div class="gmail_quote">2008/6/11 <<a href="mailto:Ishwar.Jasuja@jci.com" target="_blank">Ishwar.Jasuja@jci.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><font face="sans-serif" size="2">I ran into some strange timer manipulation problem while doing porting for TI NDK and had to make following change.</font> <br>
<br><font face="sans-serif" size="2">#ifdef TIME_BASE</font> <br><font face="sans-serif" size="2">typedef TIME_BASE time_base_seconds;</font> <br><font face="sans-serif" size="2">#else</font> <br><font face="sans-serif" color="red" size="2"><b>typedef int time_base_seconds;</b></font> <br>
<font face="sans-serif" size="2">#endif</font> <br><br><font face="sans-serif" size="2">With the original code ( </font><font face="sans-serif" color="red" size="2"><b>typedef long time_base_seconds;), </b></font><font face="sans-serif" size="2">it would do 8 bytes subtraction(treating <b><i>tv_usec</i></b> as unsigned long long) while</font> <br>
<font face="sans-serif" size="2">executing the second line (highlighted code in following piece of code) below. And that would screw up the value of the<b> <i>tv_sec</i></b> field which</font> <br><font face="sans-serif" size="2">is right before tv_usec field in the structure.</font> <br>
<br><br><br><font face="sans-serif" size="2">DelayInterval operator-(const Timeval& arg1, const Timeval& arg2) {</font> <br><font face="sans-serif" size="2"> time_base_seconds secs = arg1.seconds() - arg2.seconds();</font> <br>
<font face="sans-serif" size="2"><b> time_base_seconds usecs = arg1.useconds() - arg2.useconds();</b></font> <br><font face="sans-serif" size="2"> </font><br><font face="sans-serif" size="2"> if (usecs < 0) {</font> <br>
<font face="sans-serif" size="2"> usecs += MILLION;</font> <br><font face="sans-serif" size="2"> --secs;</font> <br><font face="sans-serif" size="2"> }</font> <br><font face="sans-serif" size="2"> if (secs < 0)</font> <br>
<font face="sans-serif" size="2"> return DELAY_ZERO;</font> <br><font face="sans-serif" size="2"> else</font> <br><font face="sans-serif" size="2"> return DelayInterval(secs, usecs);</font> <br><font face="sans-serif" size="2">}</font> <br>
<br><br><font face="sans-serif" size="2">I hope this helps.</font> <br><br><font face="sans-serif" size="2">Thanks</font> <br><font face="sans-serif" size="2">Ishwar</font> <br><br><br><br>
<table width="100%">
<tbody>
<tr valign="top">
<td width="40%"><font face="sans-serif" size="1"><b>Mike Gilorma <<a href="mailto:mike.gilorma@apogeelabs.com" target="_blank">mike.gilorma@apogeelabs.com</a>></b> </font><br><font face="sans-serif" size="1">Sent by: <a href="mailto:live-devel-bounces@ns.live555.com" target="_blank">live-devel-bounces@ns.live555.com</a></font>
<p><font face="sans-serif" size="1">06/10/2008 05:15 AM</font>
<table border="1">
<tbody>
<tr valign="top">
<td bgcolor="white">
<div align="center"><font face="sans-serif" size="1">Please respond to<br>LIVE555 Streaming Media - development & use <<a href="mailto:live-devel@ns.live555.com" target="_blank">live-devel@ns.live555.com</a>></font></div>
</td></tr></tbody></table><br></p>
<td width="59%">
<table width="100%">
<tbody>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">To</font></div>
<td><font face="sans-serif" size="1">LIVE555 Streaming Media - development & use <<a href="mailto:live-devel@ns.live555.com" target="_blank">live-devel@ns.live555.com</a>></font>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">cc</font></div>
<td>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">Subject</font></div>
<td><font face="sans-serif" size="1">Re: [Live-devel] Problems with streaming live h264 video on TI da Vinci platform.</font></td></td></tr></td></td></tr></td></td></tr></tbody></table><br>
<table>
<tbody>
<tr valign="top">
<td>
<td></td></td></tr></tbody></table><br></td>
<td>
<p></p></td></td></tr></tbody></table>
<div>
<div></div>
<div><br><br><br><font size="2"><tt>I have one of those board here and was thinking about trying to port<br>live555 over to it. Are you running Virtual Logix Linux or did you<br>actually port it over to the DSP? If you can send me your test code or<br>
project I can help debug.<br><br>On Tue, 2008-06-10 at 17:46 +0800, Amit Lobo wrote:<br>> Hi All,<br>> <br>> I am able to port and run Live555 on DSP/BIOS of EVM6437.The test I<br>> did is reading stored h264 video from a file.<br>
> <br>> Now when I try to use live frames from the encoder I face problem<br>> after 1 sec of video play.I can see the first 1 sec video properly,but<br>> later after 1 sec it looks like something goes wrong with the RTP.The<br>
> client I am using is VLC media player.<br>> Want to know if anybody has face similar problem.<br>> <br>> Thanks in advance <br>> <br>> Amit<br>> _______________________________________________<br>
> live-devel mailing list<br>> <a href="mailto:live-devel@lists.live555.com" target="_blank">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><br>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com" target="_blank">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>
</tt></font><br></div></div><br>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com" target="_blank">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>