﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
10352	often -hls_time is just ignored and only one m4s segment file is created for lossless hls streams using fmp4 segment type	kusti420		"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)."	defect	closed	important	undetermined	6.0	invalid	HLS hls fmp4 segment lossless flac FLAC alac WAV				0	0
