I've recorded some video with my Raspicam using:
raspivid --timeout 5000 --output video001.h264 --width 1080 --height 720 --bitrate 10000000 --framerate 24
I've converted this to mp4 using:
ffmpeg -r 24 -i video0001.h264 -vcodec copy video0001.mp4
and when I play it with:
mplayer video0001.mp4
It finishes in about 2 seconds. All the video is there, just really, really fast.
Is there a standard way to box up an h264 video?