<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
My fault. I didn't set correct pts and duration in AVPacket. Before
FFmpeg 2.5, it does not matter because AVPacket.data contains time
information. <br>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span
style=" font-family:'Monaco'; font-size:12pt; color:#000000;">"Dialogue:
0,0:00:20.21,0:00:22.96,*Default,NTP,0000,0000,0000,blablabla</span><!--EndFragment--></p>
</p>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
I guess ass decoder use that information.<span style="
font-family:'Monaco'; font-size:12pt; color:#000000;"><br>
</span>In 2.5, AVPacket.data does not have time information<br>
<span style=" font-family:'Monaco'; font-size:12pt; color:#000000;"><br>
16,0,*Default,NTP,0000,0000,0000,,blablabla<br>
<br>
then I have to set AVPacket pts and duration.<br>
<br>
</span>
</body>
</html>