Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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