[Libav-user] ass subtitle's AVSubtitle is wrong in FFmpeg2.5

Clément Bœsch u at pkh.me
Fri Dec 12 10:06:14 CET 2014


On Fri, Dec 12, 2014 at 05:01:28PM +0800, WangBin wrote:
> end_display_time is larger than the real value. AVSubtitleRect.ass is
> different from original text in ass file.
> 
> for example, here is the original text
> 
> Dialogue: 0,0:00:14.91,0:00:16.86,*Default,NTP,0000,0000,0000,,我在我们
> 房间里藏>了证 据\N{\fn微软雅黑}{\b0}{\fs14}{\3c&H202020&}{\shad1}I've
> hidden evidence in our room
> 
> the result of avcodec_decode_subtitle2
> rects[0]->ass:
> Dialogue: 0,0:02:29.10,0:02:48.60,*Default,NTP,0000,0000,0000,,我在我们>
> 房间里藏了证 据\N{\fn微软雅黑}{\b0}{\fs14}{\3c&H202020&}{\shad1}I've
> hidden evidence in our room
> 
> end_display_time is 19500, pts is 14910, so subtitle displays from
> 00:00:14.910 to 00:00:34.410
> 
> No this issue before 2.5.
> 

Are you able to reproduce with ffmpeg tool? Like, ffmpeg -i in.ass out.ass

Can you provide a complete sample?

-- 
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/20141212/1edb4cf0/attachment.asc>


More information about the Libav-user mailing list