Batch convert videos from MPG to AVI

3

1

I have a few hundred short MPEG files (each ~10 seconds) that I need to batch convert to AVI. What would be the best way to do this?

I've tried using WinFF but the quality was very subpar.

TreyK

Posted 2010-09-27T18:48:15.880

Reputation: 2 179

what OS are you using? – Nifle – 2010-09-27T21:04:03.807

1WinFF uses FFMPEG. Pretty much what most other general conversion tools use. You just need to specify the setting you want. – Force Flow – 2010-09-27T23:32:33.687

Answers

3

SUPER © (Simplified Universal Player Encoder & Renderer) can do it. One of its features is multiple batch file processing by simple file drag and drop, and it's freeware.

Direct download link

Mehper C. Palavuzlar

Posted 2010-09-27T18:48:15.880

Reputation: 51 093

They need to make downloading that software from that site a little easier, its a treasure hunt to find the link...direct download here...http://www.erightsoft.biz/GetFile.php?SUPERsetup.exe

– Moab – 2010-09-27T21:07:04.427

@Moab: Free but tiring to download :) Thanks for the link by the way. – Mehper C. Palavuzlar – 2010-09-27T21:11:12.750

I guess I shouldn't complain about free software. :-) – Moab – 2010-09-28T01:35:24.230

7

With FFmpeg, which will not re-encode the videos in any way and therefore preserve quality:

ffmpeg -i file.mpg -c:v copy -c:a copy file.avi

In a batch file, e.g. for Linux:

while IFS= read -d $'\0' -r file ; do
  ffmpeg -i "$file" -c:v copy -c:a copy ${file%%.mpg}.avi
done < <(find . -iname '*.mpg' -print0)

In a batch file, e.g. for Windows:

for /r %%i in (*.mpg) do (
ffmpeg -i %%i -c:v copy -c:a copy %%i~n.avi
)

The last example requires the Windows build of ffmpeg.

slhck

Posted 2010-09-27T18:48:15.880

Reputation: 182 472

I use ffmpeg too, but... I still don't understand why people who created it didn't released some productive official GUI. Many GUI programs with ffmpeg are full of adware, malware etc. I don't know which is safe to use, and which will infect my computer with SweetPacks or other crap. – Kamil – 2014-11-20T09:19:50.853

@Kamil The developers have enough to do already, and are continuously improving the tool. Adding a GUI would be a massive overhead, and would probably require a second project of almost the same scale of FFmpeg, if it should be FOSS and cross-platform. – slhck – 2014-11-20T11:23:59.557

1+1 for ffmpeg. I've heard rather scary stories about Super wanting to modify files in the Windows\System32 folder so I avoid it like the plague. Plus if you want to use batch, then command line applications is the way to go. – Richard – 2012-07-17T21:00:23.957

+1 Yeh, from personal experience Super acts rather suspicious and takes an insane amount of time to load just for a winforms application. Not sure what it does in background to justify this but it doesn't do anything with videos which can't be achieved with open-source solutions IMAO – James – 2012-07-17T21:11:42.927

0

MPEG Streamclip is a powerful free video converter, player, editor for Mac and Windows.

http://www.squared5.com/

broomdodger

Posted 2010-09-27T18:48:15.880

Reputation: 1 810