Hi, > I used the command of 'ffmpeg -i ./file1.mp4 ./file2.mp4' to > trancode. But I found moov box is behind mdat box in file2.mp4. > > > How to how to make moov box before mdat box in mp4 file?
See format documentation: https://ffmpeg.org/ffmpeg-formats.html#mov_002c-mp4_002c-ismv Either run qt-faststart after encoding or do it directly by adding the following to the ffmpeg command (in front of the output file): -movflags +faststart Regards, Frank _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
