AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2023
Categories |
Back to Blog
Use ffmpeg to fix zero byte file2/10/2023 There're tools that let you move the moov atom from the end of the file to the start so internet connected players can start playback instantly when they start downloading the file (instead of having to wait til the entire file is downloaded). And you don't know in advance how long the video is going to be so you cannot simply reserve some space for the index at the start of the recording. You only have it, when the recording is finished. The reason for this is simple: while you're recording the video, you don't have the full index yet. So everything that a video player needs to know to be able to play it back. It contains the index of the video and the metadata (like codec, etc.). The problem is that recorders put the most important part of the video (this so called moov atom) at the end of the video file. If you try to read/analyze it with ffmpeg, it'll tell you that "moov atom not found". they are mostly the same container format). Let's assume your video recorder (phone, camera, etc.) died while recording an MP4 (or MOV or 3GP.
0 Comments
Read More
Leave a Reply. |