<div>Hi Ross,</div>
<div> </div>
<div>Thanks Ross, I have still 2 Queries :-</div>
<div>Q1. If I dont need Fast Forward, just seek n pause is sufficient then also do i need to convert MP3-> ADU -> MP3<br> </div>
<div>Q2. This conversion is compulsory even if I just want to support Play. Or its just for trick mode and no need if only playing need to be supported.</div>
<div> </div>
<div>Thanks and Regards,</div>
<div>Nikhil Agrawal</div>
<div><br> </div>
<div><span class="gmail_quote">On 2/18/07, <b class="gmail_sendername">Ross Finlayson</b> <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><span class="q">
<blockquote type="cite">I was working on MP3 streaming code and what I understood is first an MP3 frame is converted to ADU and then again this ADU is converted to MP3 frame. Although I am still trying to understand the complete flow but can you tell me why we are doing this conversion from A -> B -> A . Is that just because to support trick mode or something else.
</blockquote>
<div><br> </div></span>
<div>(I presume you're referring to the "MP3AudioFileServerMediaSubsession" code.)</div>
<div><br> </div>
<div>Yes, the conversion MP3->ADU->MP3 is done in order to support 'trick mode' - specifically, fast forward. Because MP3 frames are not self contained, it is not possible to implement Nx speedup on a MP3 stream simply by extracting every Nth MP3 frame. Instead, we need to first convert to ADUs, apply the scaling on the ADUs, and then convert them back to MP3 frames.
</div>
<div><br> </div>
<div>(For more information on MP3 ADUs, see <<font face="Lucida Grande" color="#000000" size="-4"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.live555.com/rtp-mp3/" target="_blank">http://www.live555.com/rtp-mp3/
</a></font>> and <<font face="Lucida Grande" color="#000000" size="-4"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.live555.com/rtp-mp3/rtp-mp3.txt" target="_blank">http://www.live555.com/rtp-mp3/rtp-mp3.txt
</a></font>></div><span class="q"><pre>--
</pre>
<div><br>Ross Finlayson<br>Live Networks, Inc.<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></div></span></div><br>_______________________________________________
<br>live-devel mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" 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>