for i in *; do convert -crop 654×993+620+266 “$i” “$i.conv.png” ; done
Category Archives: video
Convert MTS for FinalCut
sudo ffmpeg -i 00004.mts -vcodec copy 00004.mp4
infinite video loop
$ while(true) do mplayer video.mp4; done
Speed up video with ffmpeg
1. Convert every 15th image to jpeg: ffmpeg -i 00000.MTS -r 0.6 -f image2 out/output_%05d.jpg 2. Convert all jpegs to movie: ffmpeg -r 10 -b 1800 -i %03d.jpg test1800.mp4
Compress AVI
ffmpeg -i ‘/home/vmk/Desktop/s/Musik.avi’ -b 256kb/s /home/vmk/Desktop/s/Musik.avi.mp4 -b : compress ratio
Tatoo Draft
made with the GNU/GPL-Software “make human” and “gimp”.
DVD rip and deinterlace
1. rip with k9copy to mp4-video/mp3-audio 2. deinterlace with ffmpeg ffmpeg -i ‘infile.avi’ -deinterlace -sameq outfile.avi
video recording in linux
510 mencoder tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi 514 mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 519 mencoder tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.flv 520 mplayer webcam.flv