Re: [FFmpeg-devel] [PATCH] movenc: Add an option for hiding fragments at the end

2024-06-03 Thread Dennis Sädtler via ffmpeg-devel
On 2024-06-03 09:51, Martin Storsjö wrote: Finally, I've also had a somewhat cursed thought about having a second always-hidden ftyp before the initial moov, which would then allow you to use the same file for progressive download and DASH/HLS streaming by using range-requests (e.g. via BYTERAN

Re: [FFmpeg-devel] [PATCH] movenc: Add an option for hiding fragments at the end

2024-06-03 Thread Martin Storsjö
On Sun, 2 Jun 2024, Dennis Sädtler wrote: On 2024-06-02 21:36, Martin Storsjö wrote: On Sat, 1 Jun 2024, Dennis Sädtler via ffmpeg-devel wrote: Should the ftyp atom also be updated to remove brands no longer required for non-fragmented files? I'm not sure how important that is in real-world s

Re: [FFmpeg-devel] [PATCH] movenc: Add an option for hiding fragments at the end

2024-06-02 Thread Dennis Sädtler via ffmpeg-devel
On 2024-06-02 21:36, Martin Storsjö wrote: On Sat, 1 Jun 2024, Dennis Sädtler via ffmpeg-devel wrote: Should the ftyp atom also be updated to remove brands no longer required for non-fragmented files? I'm not sure how important that is in real-world scenarios, so it might not be worth it to de

Re: [FFmpeg-devel] [PATCH] movenc: Add an option for hiding fragments at the end

2024-06-02 Thread Martin Storsjö
On Sat, 1 Jun 2024, Dennis Sädtler via ffmpeg-devel wrote: Should the ftyp atom also be updated to remove brands no longer required for non-fragmented files? I'm not sure how important that is in real-world scenarios, so it might not be worth it to deal with some of the additional changes requi

Re: [FFmpeg-devel] [PATCH] movenc: Add an option for hiding fragments at the end

2024-06-01 Thread Dennis Sädtler via ffmpeg-devel
On 2024-05-31 10:53, Martin Storsjö wrote: This allows ending up with a normal, non-fragmented file when the file is finished, while keeping the file readable if writing is aborted abruptly at any point. (Normally when writing a mov/mp4 file, the unfinished file is completely useless unless it is

Re: [FFmpeg-devel] [PATCH] movenc: Add an option for hiding fragments at the end

2024-05-31 Thread Martin Storsjö
On Fri, 31 May 2024, Timo Rothenpieler wrote: On 31/05/2024 10:53, Martin Storsjö wrote: This allows ending up with a normal, non-fragmented file when the file is finished, while keeping the file readable if writing is aborted abruptly at any point. (Normally when writing a mov/mp4 file, the

Re: [FFmpeg-devel] [PATCH] movenc: Add an option for hiding fragments at the end

2024-05-31 Thread Timo Rothenpieler
On 31/05/2024 10:53, Martin Storsjö wrote: This allows ending up with a normal, non-fragmented file when the file is finished, while keeping the file readable if writing is aborted abruptly at any point. (Normally when writing a mov/mp4 file, the unfinished file is completely useless unless it

[FFmpeg-devel] [PATCH] movenc: Add an option for hiding fragments at the end

2024-05-31 Thread Martin Storsjö
This allows ending up with a normal, non-fragmented file when the file is finished, while keeping the file readable if writing is aborted abruptly at any point. (Normally when writing a mov/mp4 file, the unfinished file is completely useless unless it is finished properly.) This results in a file