Kali Linux Tutorials - How to convert ogv to avi

How to convert ogv to avi on Kali Linux 


Kali Linux 2.0 convert ogv to avi
 To convert ogv video to avi we need to install mencoder, type in terminal:
root@k4linux:~# apt-get install mencoder
We will create a Bash script to make the task easy :
 #!/bin/bash
 # ogv to avi
 # Call this with multiple arguments
 # for example : ls *.{ogv,OGV} | xargs ogv2avi
 N=$#;
 echo "Converting $N files !"
 for ((i=0; i<=(N-1); i++))
 do
 echo "converting" $1
 filename=${1%.*}
 mencoder "$1" -ovc xvid -oac mp3lame -xvidencopts pass=1 -o $filename.avi
 shift 1
 done
Save it, and follow the video tutorial.

Watch the video tutorial for more explanation :


If you have encountered a problem or you have any questions or remarks please feel free to set a comment.
 
Powered by Blogger.