Converting a video for use with hello video

From CDOT Wiki
Jump to: navigation, search

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