Re:Writing an MP4 Muxer for Fun and Profit
by ogurechny on Thursday July 18, 2024 @09:53PM
(#41001465)
To figure out the total length of media streams, you need an external index metadata (web streaming) or a remux of the file that adds an index. The whole point of the article is removing the need to remux the file after recording, otherwise you can use existing solutions just fine.
Re:Writing an MP4 Muxer for Fun and Profit
by cornstalks on Thursday July 18, 2024 @10:19PM
(#41001570)
You can write a sidx for your index. And it doesn't require a whole remux.
> 2. They are slow to access on HDD or network drives, as each fragment's header needs to be read to get the complete metadata of the file and start playback
Huh? That's not right. The whole point of fragmented MP4 is that you can access any fragment without having to read the headers of the other fragments. That's why adaptive streaming is built around fragmented MP4.