#sudo apt-get install ffmpeg
sudo apt-get install ffmpeg
#ffmpeg -i mijnvideo.avi
ffmpeg -i mijnvideo.avi
#ffmpeg -i video.avi afbeelding%d.jpg
ffmpeg -i video.avi afbeelding%d.jpg
If you want to try this, work inside a specific folder or you'll fill your home with thousands of jpeg.
ffmpeg -f afbeelding2 -i afbeelding03d.jpg mijnvideo.mpg
imagepercent03d.jpg
%
percent
%zerosometing
%d
ffmpeg -r 24 -b 1800 -i image%d.jpg myvideo.mpg
-r 24
-b 1800
ffmpeg -i myvideo.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 myaudio.mp3
The quick&dirty version is:
ffmpeg -i myvideo.avi myaudio.mp3
ffmpeg -i originalvideo.avi convertedvideo.mpg
ffmpeg -i originalvideo.avi -s 480x320 -aspect 4:3 -b 768k -ab 64k -ar 22050 -r 30000/1001 convertedvideo.mp4
ffmpeg -y -i originalvideo.avi -acodec aac -ar 48000 -ab 128k -ac 2 -s 1024×768 -vcodec libx264 -b 1200k -flags +loop+mv4 -cmp 256 -partitions +parti4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 1200k -maxrate 1200k -bufsize 1200k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 16:9 -r 30 -g 90 -async 2 convertedvideo.mp4
ffmpeg -i originalvideo.avi convertedvideo.webm
ffmpeg -f alsa -itsoffset 00:00:02.000 -ac 2 -i hw:0,0 -f x11grab -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -r 10 -i :0.0 -sameq -f mp4 -s wvga -y mydesktopmovie.mp4
« Ga terug