Created
April 6, 2017 07:58
-
-
Save amnuts/d366e76122f1ad32052d8b82dd2d516c to your computer and use it in GitHub Desktop.
Convert lots of h264 files to mp4 from command line on rpi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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