View Single Post
  #4 (permalink)  
Old 5th June 2007
J7N's Avatar
J7N J7N is offline
Senior Member
BS.Player Power User
Join Date: Feb 2006
Location: Cyberspace
Posts: 762
Rep Power: 0
J7N is an unknown quantity at this point

"Using bitrate" will assume that the the average bitrate is written in the first frames. Most of the time this field contains 9800 – max bitrate possible. Seeking by Presentation Time Stamp should give better results. If using a proper decoder you still cannot get proper length estimation, the only solution is to fix your MPEG files by remuxing them with correct timestamps. Care must be taken so that sync between audio and video streams is not lost.
Reply With Quote

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20