<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">>How to seek is actually quite easy so I won't explain that (google it and you<br><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div class="y_msg_container">>find it easily), but keep in mind that you must seek to key frames. How to<br>>(fast) seek to any frame is something I haven't figured out myself, it's not<br>>something ffmpeg seems to support so I fear you'd have to seek to the<br>>preceding key frame and then decode some frames until you hit the right one.<br><br>I know how to 'seek'.  I don't know how to seek 'correctly'.  My files are<br>all fvhuff encoded so all frames are key frames.  What I want to know is how<br>the various pts and dts and all those other members of
 the AVFrame struct are<br>calculated.<br><br></div> </div> </div>  </div></body></html>