Tuesday, April 28, 2015

Convert rmvb to avi

To convert rmvb to avi, you may try:


#!/bin/bash
cd /home/username/films
for file in *.rmvb; do
  mencoder "$file" -oac mp3lame -ovc lavc -o "/home/username/films/avifilms/${file%.rmvb}.a$
done

where, the videos you want to convert is in "/home/username/films"

No comments:

Post a Comment