1,885
edits
Changes
Created page with 'To convert a video (MP4) for use with the hello_video program compiled from the raspberrypi-vc-demo-source package: ffmpeg -i $SOURCE_VIDEO -vcodec copy -bsf h264_mp4toannexb -…'
To convert a video (MP4) for use with the hello_video program compiled from the raspberrypi-vc-demo-source package:
ffmpeg -i $SOURCE_VIDEO -vcodec copy -bsf h264_mp4toannexb -an -f h264 $OUTPUT_FILE
ffmpeg -i $SOURCE_VIDEO -vcodec copy -bsf h264_mp4toannexb -an -f h264 $OUTPUT_FILE