[Libav-user] ass subtitle's AVSubtitle is wrong in FFmpeg2.5
Clément Bœsch
u at pkh.me
Mon Dec 22 10:10:23 CET 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20141222/6ad35d90/attachment.asc>
More information about the Libav-user
mailing list