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.
 
Website Traffic Exchange
Share on Google Plus

About Admin

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

1 commentaires :

  1. failed while converting to avi :(

    File not found: '“out-2.ogv″'
    Failed to open “out-2.ogv″.
    Cannot open file/device.

    Exiting...

    RépondreSupprimer