Skip to content

Instantly share code, notes, and snippets.

@amnuts
Created April 6, 2017 07:58
Show Gist options
  • Save amnuts/d366e76122f1ad32052d8b82dd2d516c to your computer and use it in GitHub Desktop.
Save amnuts/d366e76122f1ad32052d8b82dd2d516c to your computer and use it in GitHub Desktop.
Convert lots of h264 files to mp4 from command line on rpi
# first make sure MP4Box is install
sudo apt-get install gpac
# then run this from the command line
for i in *.h264; do MP4Box -add $i ${i%.*}.mp4; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment