Page 1 of 1

Transcoding Multiple Files at Once

Posted: 18 May 2007 07:56
by Ty4325
Hey guys. I am relatively new to VLC so bare with me. I have a bunch of Quicktime .mov files that I want to transcode for my iPod. Now I can get each video done no problem, however they are numerous (50+) and I would like to do them all at once say over night. Is there anything I can do to try and set up one big transcode out of multiple files?

Posted: 18 May 2007 08:05
by DJ
VLC was not designed to do batch encoding. You could do a search here to see how close others have come and try to modify there approach to your situation.

Posted: 18 May 2007 08:23
by Ty4325
Thanks I wasn't sure if I was just making the wrong google search or if it was unsupported. My Quicktime files have their save disabled and VLC did such a good job of transcoding I guess I can write something or try a different app. Thanks again for the help.

Posted: 18 May 2007 10:12
by Teta
You can easily do that by adding "vlc:quit" after the commandline, so if you have this:

Code: Select all

vlc.exe file.mov :sout{blablabla}:duplicate{moreblabla}
then add "vlc:quit" at the end:

Code: Select all

vlc.exe file.mov :sout{blablabla}:duplicate{moreblabla} vlc:quit
This makes VLC exit after it has finished transcoding after which the next line in the batch is executed.

Hope this helps.

Teta

Posted: 19 May 2007 01:55
by Ty4325
But then don't I have to specify each file and target in the batch file? For example say I had 26 .mov's would I need 26 lines in my batch file?

Posted: 19 May 2007 10:49
by Teta
Yep, that's what I do.

If you want to automate this, you'll better go to a "batch programming" forum, not here.

Teta

Posted: 30 May 2007 01:49
by ScottB
Here is a solution that might work (I havent tested it yet but I am about to)

Code: Select all

for %%a in (*.VOB) do "C:\Program Files\VideoLAN\VLC\vlc" -I dummy -vvv %%a --sout=#transcode{vcodec=h264,vb=1024,acodec=A/52,ab=192,channels=2,deinterlace}:standard{access=file,mux=ts,dst=%%a.mpeg} vlc:quit
That will run through all the VOB files in a given directory (or should) and transcode to h264 - a/52 and output an mpeg for each vob file in the directory