Changes between Initial Version and Version 1 of Ticket #10659, comment 1
- Timestamp:
- Nov 13, 2023, 10:45:30 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10659, comment 1
initial v1 3 3 Problem 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. 4 4 5 the patch makes asssubtitles a special case, and uses a rescale_ts function that rounds duration + start, then subtracts the start.5 This patch makes ASS subtitles a special case, and uses a rescale_ts function that rounds duration + start, then subtracts the start. 6 6 7 7 not sure what are the possible issues that could appear from this change.


