How to convert ogv to avi on Kali Linux :
To convert ogv video to avi we need to install mencoder, type in terminal:
root@k4linux:~# apt-get install mencoderWe will create a Bash script to make the task easy :
#!/bin/bashSave it, and follow the video tutorial.
# 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
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.
failed while converting to avi :(
RépondreSupprimerFile not found: '“out-2.ogv″'
Failed to open “out-2.ogv″.
Cannot open file/device.
Exiting...