[Libav-user] how to generate fragmented mp4 files via ffmpeg library
Jean-Yves Avenard
jyavenard at gmail.com
Thu Jan 7 05:43:28 CET 2016
On 23 December 2015 at 13:24, 方柏棟 <berton1679 at gmail.com> wrote:
> Dear All,
> I have bunch of .h264 raw data, could any one tell me how to use ffmpeg
> library to mux .h264 to fragmented mp4 files.
> I only know how to generate fragmented mp4 file via ffmpeg.exe, like below,
>
> ffmpeg -i xx.h264 -vcodec copy -an -f mp4 -reset_timestamps 0 \
> -movflags empty_moov+default_base_moof+frag_keyframe -loglevel quiet xxx.mp4
What I do is use ffmpeg to convert or general the mp4 (non fragmented)
and then use MP4Box (https://gpac.wp.mines-telecom.fr/) to convert any
mp4 into fragment ones (including generating the mpd file)
More information about the Libav-user
mailing list