I recently purchased one of the Kodak Playsport cameras which takes 720p video @ 60 frames per second.
The video quality is great but the files are rather large for uploading to Youtube (about 150 Megs per minute of video). The files are output as Quicktime MOV files.
My question is:
Is there a command-line tool that allows me to shrink the video down to a lower resolution/size for quicker uploading? I'm thinking something like ImageMagick's convert but for video.
There are a number video transcoders that you could use to covert mov files to different formats suitable for uploading. Handbrake is a popular one that has both a GUI and command-line version (
handbrake-gtk
orhandbrake-cli
). To use Handbreak on Ubuntu, you need to add a PPA:https://edge.launchpad.net/~handbrake-ubuntu/+archive/ppa or the more current https://launchpad.net/~stebbins/+archive/ubuntu/handbrake-releases
I personally like, transmageddon which is a GUI app with nice simple pre-sets. It's available in the archives.
Another option is arista, another GUI transcoder available in the archives. In fact, it is a "Featured Application" in Ubuntu Software Center.
ffmpeg
is another command line option that offers a lot of flexibility but can be a bit complex.I use those options with ffmpeg (example with a video of 1m40s of 725MB 4096x2304):
MP4 conversion, Medium video quality with sound codec aac(245MB):
MP4 conversion, Medium video quality with sound codec mp2(218MB):
Avi conversion, Low quality (120MB)
In addition you can reduce resolution with option
MP4 conversion, Medium video quality with sound codec aac with rescaling (21MB):