You are not logged in.

#1 2009-05-21 14:46:06

detox332
Member
From: University of Pittsburgh
Registered: 2007-06-12
Posts: 63

[solved]converting rmvb to avi

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

#2 2009-05-21 16:42:05

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [solved]converting rmvb to avi

Try

for i in *.rmvb; do ffmpeg -i "$i" "$i.avi"; done

R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2009-05-22 03:09:07

detox332
Member
From: University of Pittsburgh
Registered: 2007-06-12
Posts: 63

Re: [solved]converting rmvb to avi

that worked thanks!


Arch64
KDE4 user

Offline

Board footer

Powered by FluxBB