<div>Greetings all,</div><div> </div><div>In the AVFrame->pts it says :</div><div> </div><div>/**<br>     * presentation timestamp in time_base units (time when frame should be shown to user)<br>     * If AV_NOPTS_VALUE then frame_rate = 1/time_base will be assumed.<br>
     * - encoding: MUST be set by user.<br>     * - decoding: Set by libavcodec.<br>     */</div><div> </div><div>But according to the"muxing.c" example ( <a href="http://ffmpeg.org/doxygen/trunk/muxing_8c-source.html">http://ffmpeg.org/doxygen/trunk/muxing_8c-source.html</a> )  , a PTS value is only assigned to the video-frames but not for audio frames.</div>
<div>Any tips on this?</div><div> </div><div>Best regards,</div><div>umanga</div>