#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)

not_working_ffmpeg-20230509-191109.log (288.8 KB ) - added by kusti420 11 months ago.
log for that audio4.flac mentioned in that command
not_working_ffmpeg-20230509-190657.log (280.5 KB ) - added by kusti420 11 months ago.
same thing happening with another file
working_ffmpeg-20230509-190643.log (19.4 KB ) - added by kusti420 11 months ago.
one example of it working as it should for good measure

Download all attachments as: .zip

Change History (4)

by kusti420, 11 months ago

log for that audio4.flac mentioned in that command

by kusti420, 11 months ago

same thing happening with another file

by kusti420, 11 months ago

one example of it working as it should for good measure

comment:1 by Gyan, 11 months ago

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.