<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: [Live-devel] Ref: File Duration for MPEG -TS
file</title></head><body>
<blockquote type="cite" cite><font
size="-1"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I
want to calculate the Transport Bit rate/Transfer Rate for MPEG-TS
file stored on the disc so that I can calculate the total File
Duration the file will be played. Which part of the live555 library
should I refer to</font></blockquote>
<div><br></div>
<div>There's currently nothing in the library that does this
specifically.&nbsp; So, you will need to write your own code that
reads a MPEG-2 TS file and parses its headers to figure out the bit
rate information that you're looking for.</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>