<div dir="ltr">I'm invoking ffmpeg with the following args:<div>ffmpeg -i - -vcodec copy -an -f mp4 -reset_timestamps 1 -blocksize 30000 -movflags empty_moov+default_base_moof+frag_keyframe -loglevel quiet -<br></div><div><br></div><div>The purpose is to feed it (through stdin) raw h.264 stream, and get (through stdout) fragmented mp4.</div><div><br></div><div>It works well when I give it demuxed h264 (each frame prefixed with 3 bytes of 0 0 1) but I'd prefer letting ffmpeg do the demuxing for me.</div><div>Is there a way?</div></div><div dir="ltr">-- <br></div><div dir="ltr">Gal Bar Mashiah</div>