<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">>> Yes, I looked at avcodec.h and could not find what I wanted. When I was<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">><br>>You wrote:<br>><br>> pts<br>> pkt_pts<br>> pkt_dts<br>> coded_picture_number<br>> display_picture_number<br>> best_effort_timestamp (the name of this one really worries me)<br>> pkt_pos<br>> pkt_duration<br>>What do those all mean? Can I use those to figure out which frame this is?<br>><br>>All of these are documented there. That's why I thought you hadn't<br>>looked at the
docs.<br><br>Actually, none of them (except pts) are defined there. Most aren't<br>even mentioned. But they are mentioned in AVFrame.h<br><br>>My gut feeling is that the biggest problem is that you probably need<br>>to read up on some basics, so the docs (which are quite OK IMHO) make<br>>sense to you, so you know what a timebase, presentation timestamp,<br><br>Yes, I definitely prefer reading docs then asking for help. But what docs<br>are you talking about? I'm not aware of anything other than the source code.<br><br>Anyway, it sounds like pts and best_effort_timestamp are really frame numbers<br>(not time values) and to get the actual time value, you multiple them by the <br>time base. Is that correct? I'm actually starting with frame numbers and I <br>don't really need the time values, per se. Can I merely use the pts or <br>best_effort_timestamp and assume they equal the frame number?<br><br>Also,
will the libs do anything behind the scenes to duplicate frames for <br>whatever reason (like to meet some CFR rate)? I don't want that.<br><br>Thanks.<br><br><br><br><br><br><br><br><br></div> </div> </div> </div></body></html>