How to output fragmented mp4 with ffmpeg?
This should do the trick: ffmpeg -re -i infile.ext -g 52 \ -c:a aac -b:a 64k -c:v libx264 -b:v 448k \ -f mp4 -movflags frag_keyframe+empty_moov \ output.mp4 frag_keyframe causes fragmented output, empty_moov will cause output to be 100% fragmented; without this the first fragment will be muxed as a short movie (using moov) followed by … Read more