In this article I will show you how to install FFmpeg 2.3.3 “Mandelbrot”
on Ubuntu 14.04 Trusty Tahr, Linux Mint 17 Qiana, Pinguy OS 14.04, LXLE
14.04, Elementary OS 0.3 Freya, Peppermint Five, Deepin 2014, Linux
Lite 2.0 and other Ubuntu 14.04 derivative systems.
$ sudo add-apt-repository ppa:mc3man/trusty-media
$ sudo apt-get update
$ sudo apt-get install ffmpeg
COMPRESS
AVI Video Compression
Via the Terminal cd to the folder containing the avi file and run this command:
ffmpeg -i input.avi -vcodec msmpeg4v2 output.avi
Replace "input.avi" with the name of your avi video. The compressed video will be created in the current folder having this name: output.avi.
MP4 Video Compression
Using the Terminal cd to the target folder and run this command:
ffmpeg -i input.mp4 -acodec mp2 output.mp4
Replace "input.mp4" with the name of your mp4 video. The compressed video will be saved in the current folder having this name: output.mp4.
MP4 to FLV
ffmpeg -i FingerPrint-Application-Polines-prototype.mp4 -ar 22050 -ab 32 -f flv -s 800x600 FingerPrint-Application-Polines-prototype.mp4.flv
CONVERT ALL OF FILE ON DIRECTORY
cd /your_directory for i in *.wmv; do ffmpeg -i "${i}" -ar 22050 -ab 32 -f flv -s 400x300 "${i%.wmv}.flv"; done
0 komentar:
Posting Komentar