<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">El 14/09/15 a las 01:13, qw escribió:<br>
</div>
<blockquote
cite="mid:2e7167d3.8848.14fca0f1a6e.Coremail.applemax82@163.com"
type="cite">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div><span style="line-height: 1.7;">But I want ffmpeg output
samples only based on timestamp, where sample with the
smallest dts will be output first. How to set parameter to
make ffmpeg output samples only based on timestamp?</span></div>
</div>
<pre wrap="">___________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
</blockquote>
Is there any reason av_read_packet() does not work for you? That
returns both video and audio packets, usually with timestamp
information.<br>
</body>
</html>