On Thu, 25 Sep 2025 08:14:56 +0200, Bo Berglund via ffmpeg-user
<ffmpeg-user@ffmpeg.org> wrote:

>Now I have grabbed the very latest ffmpeg nightly from github and symlinked it
>to be the on-path ffmpeg on one of my Linux machines and it does work for my
>ordinary scripts to get the mp4 downloads working.
>So I am on the bleeding edge of ffmpeg on that device.
>
>But I have totally failed in using it with movflags, probably due to the lack 
>of
>instructions on *how* to activate that flag...
>

FOLLOW-UP
---------
Now working fine after modifying the download script where the -movflags command
was inserted in the ffmpg call. As was indicated by a couple of posts here the
placement on the command line matters, so I moved the setting to the end of the
command line right before setting the duration so that it looks like this now
towards the end:

MOVFLCMD="-movflags +frag_keyframe+empty_moov+default_base_moof -frag_duration
2000000"
CMD="ffmpeg ..... -c:a aac ${MOVFLCMD} -t ${CAPTURETIME} ${TARGETFILE}"

With this in place it *is* possible to view the mp4 video while it is being
downloaded!


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org
To unsubscribe send an email to ffmpeg-user-le...@ffmpeg.org

Reply via email to