[FFmpeg-user] Muxing raw H264 to container format (MP4, MOV)
ben at cardinalpeak.com
Thu Oct 20 17:39:49 CEST 2011
On Thu, Oct 20, 2011 at 9:21 AM, oblivion <vlad.ion at gmail.com> wrote:
> I have a raw H264 stream that I want to mux into a container format in
> to get timing information in it (for seeking purposes). I tried the
> option "-vcodec copy" and I get an empty file.
> ffmpeg -i input.h264 -vcodec copy out.mp4
> I tried variations like specifying the frame rate and the format with "-f
> h264" but I get the same.
This works for me:
ffmpeg -f h264 -i angel.264 -vcodec copy angel.mp4
With an older ffmpeg build.
More information about the ffmpeg-user