<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-14 22:21 GMT+11:00 Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">YIRAN LI <mrfun.china@...> writes:<br>
<br>
> But from one file I used I see that PTS == DTS. Could<br>
> this be produced by an encoder configure with non-zero<br>
> max bframes?<br>
<br>
</span>Only if the encoder is broken afaict but I am certainly<br>
not an expert for these kind of questions.<br>
<span class=""><br>
> If yes, do I still need to subtract that from PTS<br>
> even if PTS == DTS?<br>
<br>
</span>I don't see why.<br>
<span class=""><br>
> If the encoder is configured with max b frames == 1,<br>
> is it ok to subtract 2 from PTS?<br>
<br>
</span>I don't know but why not?<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><div class="gmail_default" style="font-family:georgia,serif;display:inline">​Hi Carl, thanks for your help.</div></div><div><div class="gmail_default" style="font-family:georgia,serif;display:inline">​</div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
Carl Eugen<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div></div>