Rewrite HLS segmentation algo AGAIN, add a bunch of HLS segmentation tests, add VideoEncoder/AudioEncoder timing refinement logic, fix HLS output spec violations

This commit is contained in:
Vanilagy
2026-03-26 16:23:07 +01:00
parent 157582498f
commit 5bc1a31b8e
10 changed files with 1235 additions and 135 deletions
+11 -5
View File
@@ -1,9 +1,15 @@
- Retaining Input instances for segments without clogging up memory indefinitely
idea: discontinuities with extra decoder config on the packet.
Also, why not just have the packet metadata on the packet? I think that would make things easier overall.
- ALL_FORMATS but for HLS only
- keep input/demuxer.isSupported()?
- getCodecParamterString() hack feels dirty; idk. well its not really a hack but, surface it over a different field?
- getCodecParamterString() hack feels dirty; idk. well its not really a hack but, surface it over a different field?
- Add an HLS "live mode". Challenge, where does bitrate come from?
events:
- onPlaylist
- onSegment
- onMaster
- hls muxer starting offset
- hls demuxer offset by segment number * targetduration