

Isn't the whole purpose of -f to do what I'm asking? Why I need this I've tried all these arguments to no avail: -f h264 -err_detect ignore_err -flags +global_header. So how do I convince ffmpeg to process my file without renaming it to an. Output stream #0:0 (video): 230 packets muxed (77103 bytes) Let's rename the file to avcfile.h264 > ffmpeg -i avcfile.h264 -c copy out.mp4 > ffmpeg -i avcfile.raw -c copy out.mp4Īvcfile.raw: Invalid data found when processing input Let's say the filename is avcfile.raw and I want to wrap this video into a container.

ffmpeg can process it but it really doesn't want to. , a 3-byte start code followed by a NAL unit). I have a raw H.264 video stream (which starts with hex 00 00 01 FC.
