On Mon, Dec 22, 2014 at 04:48:05PM +0800, WangBin wrote:
> 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.
> 
> "Dialogue: 0,0:00:20.21,0:00:22.96,*Default,NTP,0000,0000,0000,blablabla
> 
> 
> I guess ass decoder use that information.
> In 2.5, AVPacket.data does not have time information
> 
> 16,0,*Default,NTP,0000,0000,0000,,blablabla
> 
> then I have to set AVPacket pts and duration.
> 

Yes, this change was documented a while ago. Look for "matroska" in
doc/APIchanges.

-- 
Clément B.

Attachment: pgpvrmAhngtrq.pgp
Description: PGP signature

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to