Changes between Initial Version and Version 1 of Ticket #10659, comment 1


Ignore:
Timestamp:
Nov 13, 2023, 10:45:30 PM (3 years ago)
Author:
typological

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10659, comment 1

    initial v1  
    33Problem seems to be the following: ASS uses only 10ms precision. AVPackets store start time and duration and not end time; in this case, the first packet had a duration of 4766ms which gets rounded to 4770ms when converting to the ASS timebase. The start time also gets rounded upwards and this adds a + 1 to the end time that would not have happened had the end time been rounded to 10ms itself.
    44
    5 the patch makes ass subtitles a special case, and uses a rescale_ts function that rounds duration + start, then subtracts the start.
     5This patch makes ASS subtitles a special case, and uses a rescale_ts function that rounds duration + start, then subtracts the start.
    66
    77not sure what are the possible issues that could appear from this change.