[FFmpeg-trac] #8334(undetermined:open): Start time is doubled when using HLS or DASH input
FFmpeg
trac at avcodec.org
Wed Mar 9 02:58:27 EET 2022
#8334: Start time is doubled when using HLS or DASH input
-------------------------------------+-------------------------------------
Reporter: ronag | Owner: (none)
Type: defect | Status: open
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: hls dash | Blocked By:
start time offset timestamp |
double |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Balling):
Looks like it is fixed already, files created with ffmpeg.exe -f lavfi -i
"testsrc=duration=10" -output_ts_offset 60 -f dash -hls_playlist 1
loop.mpd
no longer report
Duration: 00:00:10.00, start: 120.000000, bitrate: 0 kb/s
when you do
ffmpeg -seek_timestamp 1 -ss 65 -i loop.mpd out.mp4
it does report
Duration: 00:00:10.00, start: 60.000000, bitrate: 0 kb/s
so it appears to be fixed recently.
Is
https://patchwork.ffmpeg.org/project/ffmpeg/patch/tencent_78B8FB9628CD09200E4D9CCFDFD549272E07@qq.com/
for editlist or what? Because obviously if you try atmos sound + aac sound
in https://events-delivery.apple.com/1402uekefjejgldkvaqrqxgjmtehwhez/m3u8
/vod_index-VEPhheWQmQZLrgakajRXoUbKAmmjVXxZ.m3u8
it does appear the start time is supposed to be converted to editlist for
gapless playback (at least aac (https://events-
delivery.apple.com/1402uekefjejgldkvaqrqxgjmtehwhez/m3u8/vod_index-
VEPhheWQmQZLrgakajRXoUbKAmmjVXxZ.m3u8) has Duration: 00:58:46.68, start:
9.956000, bitrate: N/A, while video has Duration: 00:58:46.66, start:
10.066733, bitrate: N/A, while atmos in EAC-3 has Duration: 00:58:46.62,
start: 10.000000, bitrate: N/A). So everything is counted from EAC-3.
Indeed, eac3 has 256 samples of silence in the start, which is 0.00533...
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8334#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list