On Mon, Jul 21, 2025 at 05:01:47PM -0400, David McElroy wrote: > HEVC fmp4 HLS video produced by ffmpeg is currently unplayable on Apple > software (Safari, QuickTime, AVFoundation). > > This is caused by an empty sdtp atom being erroneously written to the > fmp4 init segment. The `has_disposable` flag can be set for a track > with B-frames, but the init segment contains no actual frames > (track->entry == 0). Writing an sdtp atom in this case is incorrect > and causes Apple's parsers to reject the file. > > This patch fixes the issue by ensuring the sdtp atom is only written > if track->entry is non-zero. > > A similar patch was proposed in November 2023 by Jay Zhang, > but it was never merged. > > Link: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-November/317173.html > Co-authored-by: Jay Zhang > Signed-off-by: David McElroy > --- > libavformat/movenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB What is kyc? Its a tool that makes you give out your real ID, while criminals give out a forged ID card.