Shutter program
mencoder (MPlayer's Movie Encoder) 
GTK Record My Desktop
Imagemagick to capture the screen in linux, Ubuntu
How to capture screen in Ubuntu
Install : $ sudo apt-get install imagemagick  
Capture whole screen: $ import -window root Image.png
Capture selected window: $ import Image.png
Capture frame: $ import -frame Pictures/Image.png
Capture selected window and resize: $ import -resize 320 -pause 3 Image.png 
Convert video format .ogv to avi or mp4 
ffmpeg -i my-demo-video.ogv -vcodec mpeg4 -sameq -acodec libmp3lame my-demo-video.avi
ffmpeg -i out.ogv -vcodec libx264 -vpre medium -crf 24 -threads 0 -acodec copy foo.mkv
ffmpeg -i out.ogv -vcodec libx264 -vpre medium -crf 24 -threads 0 -acodec libfaac foo.mp4
Convert many files using shell
#!/bin/bash
# ovg2avi - Covert ovg to avi
# Author: Vivek Gite <www.cyberciti.biz> Under GPL 2.0+
# -------------------------------------------------------
input="$1"
output="${input%%.ogv}.avi}"
die(){
   echo -e "$@"
   exit 1
}
[ $# -eq 0 ] && die "Usage: $0 input.ovg\n\tI will convert .ovg file to .avi format."
[ ! -f "$input" ] && die "Error $input file not found."
if [ -f "$output" ]
then
 read -p "Warning output file $output exists. Overwrite (y/n)? " ans
 case $ans in
  y|Y|YES|Yes)  mencoder "${input}" -ovc lavc -oac mp3lame -o "${output}";;
 esac
fi
Covert many file using bash
for o in *.ogv
do
   /path/to/ovg2avi "$o"
done
 
No comments:
Post a Comment