Transcoding Multiple Files at Once

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Ty4325
New Cone
New Cone
Posts: 3
Joined: 18 May 2007 07:51

Transcoding Multiple Files at Once

Postby Ty4325 » 18 May 2007 07:56

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?

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 18 May 2007 08:05

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.

Ty4325
New Cone
New Cone
Posts: 3
Joined: 18 May 2007 07:51

Postby Ty4325 » 18 May 2007 08:23

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.

Teta
Blank Cone
Blank Cone
Posts: 34
Joined: 24 Apr 2007 11:35
VLC version: 0.8.6c
Operating System: Windows

Postby Teta » 18 May 2007 10:12

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

Ty4325
New Cone
New Cone
Posts: 3
Joined: 18 May 2007 07:51

Postby Ty4325 » 19 May 2007 01:55

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?

Teta
Blank Cone
Blank Cone
Posts: 34
Joined: 24 Apr 2007 11:35
VLC version: 0.8.6c
Operating System: Windows

Postby Teta » 19 May 2007 10:49

Yep, that's what I do.

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

Teta

ScottB
New Cone
New Cone
Posts: 6
Joined: 30 May 2007 01:46

Postby ScottB » 30 May 2007 01:49

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 23 guests