Batching or VB Script

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.
rjtoeppe
New Cone
New Cone
Posts: 2
Joined: 06 Nov 2013 20:14

Batching or VB Script

Postby rjtoeppe » 06 Nov 2013 20:22

Please help me figure what I’m doing wrong. I have been using VLC for about 6 months and I love the product.

I have been converting AVI files to MP4 manually one at a time using VCL. I have a lot of AVI file on an external drive. I like making them MP4 since it makes them much smaller.

I would like to batch them and do a lot more at time. I looked up on the web sight and tried the batch file below. It runs VCL quickly but there is no output file. I tried both with and without the “”. I read somewhere this might help. Please see code belot

I even tried the VB script used on https://wiki.videolan.org/Transcode/

It will run but it just creates a bunch of directories.

I using:
windows 7
VCL 2.1.0

This is the batch I tried to run. My goal is to convert my AVI files to a very good quality file I can watch on VLC

for %%a in (*.avi) do "C:\Program Files\VideoLAN\VLC\VLC.exe" -I dummy -vvv %%a --sout=#transcode{vcodec="h264",vb="7000",fps="25.000",size="4:3",width="722",height="578",acodec="mp4a",ab="128",channels="2",samplerate="44100",deinterlace} :standard{access=file,mux="mp4",dst="%%~na.mp4"} vlc://quit


Thank you for any help

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Batching or VB Script

Postby kodela » 07 Nov 2013 13:04

Is "dst="%%~na.mp4" right? not "dst="%%a.mp4"? why?

kodela


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 35 guests