Rod McLaughlin


Converting movie files from a smartphone (19 nov 12)

Smartphones makes movies in .3gp format. They don't seem to play on web pages:  http://rodmclaughlin.com/my-first-movie. If you google '3gp converter macintosh' you get all manner of 'free' gui-based converters - but they only do the first few seconds of any movie 'til you've paid for them. No worries:

$ brew install ffmpeg

'Homebrew' makes OS/X almost as good as Linux: http://mxcl.github.com/homebrew/.

Of course, you have to get the command-line arguments exactly right:

$ fmpeg -i file.3gp -f avi -vcodec libxvid -acodec libmp3lame -ar 22050 file.avi

Thanks, ubuntuforums.org, for the names of the libraries 'libxvid' and libmp3lame'.



Back
Portland London