[FFmpeg-user] Streaming an mp4/mov file in real time using FFMPEG (no moov atom)

Gyan Doshi ffmpeg at gyani.pro
Mon Jan 11 08:04:21 EET 2021

On 11-01-2021 10:34 am, Carl Zwanzig wrote:
> On 1/10/2021 4:23 PM, Carl Eugen Hoyos wrote:
>> Am Mo., 11. Jan. 2021 um 01:19 Uhr schrieb Rishit Temp
>> <rishit.redirect at gmail.com>:
>>> I am trying to read an incomplete MP4 file as it is being written in 
>>> real time.
>> This is in general impossible with FFmpeg.
> I'm not sure it's possible at all with mp4/mov at all- you need 
> metadata that's written when the file is closed.

In some live broadcast workflows, which need some post work before 
telecast, the encoder writes a file with pre-specified metadata i.e. 
timestamps and packet offsets, and writes out the media to those 
offsets. This is inefficient in terms of space packing but any NLE can 
open these files and access the new data as it gets added.


More information about the ffmpeg-user mailing list