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.

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

Reply via email to