You are not logged in.
Pages: 1
so i have a bunch of rmvb files and im trying to convert them to avi's. if i do ffmpeg -i filename filename.avi one at a time it works fine, but i have a lot and dont want to waste time. so i tried doing a for loop but because of the way the files are named (### - Title of the Episode.rmvb) when i run
for i in *.rmvb; do ffmpeg -i $i $i.avi; done
i also tried
for i in *rmvb; do ffmpeg -i $i $i.avi; done
it only looks at the ### part of the filename and says file not found.
how do i specify the whole title so that this will work?
is ffmpeg the way to go or should i try something else like mencoder?
thanks for any help,
Matt
Last edited by detox332 (2009-05-22 03:09:26)
Arch64
KDE4 user
Offline
Try
for i in *.rmvb; do ffmpeg -i "$i" "$i.avi"; done
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
that worked thanks!
Arch64
KDE4 user
Offline
Pages: 1