Skip to content

Instantly share code, notes, and snippets.

@dkam
Created February 5, 2016 03:04
Show Gist options
  • Save dkam/f9abd424b34a4707ac56 to your computer and use it in GitHub Desktop.
Save dkam/f9abd424b34a4707ac56 to your computer and use it in GitHub Desktop.
Converting video from Syma x5c camera to mp4 / iPhone compatible
The pixel format from the camera is 422 ( https://en.wikipedia.org/wiki/YUV ). FFMpeg can convert it to the more standard 420.
Additionally, I've added faststart to enable the video to play from the web prior to downloading the entire file
ffmpeg -i /Volumes/Untitled/VIDEO/MOVI0004.avi -movflags faststart -pix_fmt yuv420p ~/Movies/MOVI0004.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment