On 25-02-2020 07:47 pm, Ulf Zibis wrote:
Hi, from option -movflags +faststart I expect, that I can start playing the video, even the encoding process has not finished yet. But this does not work,why?
It's not expected to. faststart is to allow playback during progressive downloaded of a complete and valid MP4 file.
See docs at http://ffmpeg.org/ffmpeg-formats.html#Options-8
If I encode a video without -movflags +faststart and kill the process with Ctrl-C after a while the video surprisingly is playable.
When ffmpeg is sent SIGINT, ffmpeg will attempt to close outputs gracefully. For regular MP4 output, this includes flushing the moov atom to file. That makes the file playable.
Gyan _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
