Created
October 1, 2011 05:32
-
-
Save whichlight/1255647 to your computer and use it in GitHub Desktop.
convert all .3gp to .mp4 in a directory
This file contains 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
#!/bin/bash | |
#the video recordings in my phone are in .3gp | |
#so i wrote this to convert .3GP to .mp4 | |
# | |
#http://whichlight.com/blog/mobile-video-recording-convert-from-3gp-to-mp4/ | |
LIST=`ls *.3gp` | |
for i in $LIST; | |
do ffmpeg -i $i -sameq -ab 64k -ar 44100 ${i%3gp}mp4 | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment