On 23 December 2015 at 13:24, 方柏棟 <[email protected]> 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) _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
