Opened 22 months ago
Closed 22 months ago
#10352 closed defect (invalid)
often -hls_time is just ignored and only one m4s segment file is created for lossless hls streams using fmp4 segment type
Reported by: | kusti420 | Owned by: | |
---|---|---|---|
Priority: | important | Component: | undetermined |
Version: | 6.0 | Keywords: | HLS hls fmp4 segment lossless flac FLAC alac WAV |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
with some files its working as it should and with some files it isnt. when using -report to get the logs then the main things in common for such files are
"[hls @ 000002f16b403a00] Delay between the first packet and last packet in the muxing queue is 10069334 > 10000000: forcing output" error and the fact that only one m4s segment is created for it, as if that -hls_time flag is just ignored half the time.
How to reproduce:
% ffmpeg -i .\audio4.flac -c:a flac -vf pad="width=ceil(iw/2)*2:height=ceil(ih/2)*2" -ar 96000 -f hls -hls_time 6 -hls_playlist_type vod -strict -2 -hls_segment_type fmp4 -hls_segment_filename "idk%d.m4s" playlist.m3u8
ffmpeg version 6.0, but i also tried versions 5.1.2 and "2023-05-08-git-2d43c23b81-full_build-www.gyan.dev" build which i assume is built from the master branch.
even tried running it on different operating systems (windows, linux and android).
Attachments (3)
Change History (4)
by , 22 months ago
Attachment: | not_working_ffmpeg-20230509-191109.log added |
---|
by , 22 months ago
Attachment: | not_working_ffmpeg-20230509-190657.log added |
---|
same thing happening with another file
by , 22 months ago
Attachment: | working_ffmpeg-20230509-190643.log added |
---|
one example of it working as it should for good measure
comment:1 by , 22 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
HLS is primarily meant for audio-visual content where any supplied video stream is a primary stream. Your non-working FLACs have artwork, which HLS then uses as an anchor stream for cutpoint decisions but they are just a single frame, so further cut decisions are made.
Add -vn
to disable these artwork streams.
log for that audio4.flac mentioned in that command