Transcoding Multiple Files...

macOS specific usage questions
JustSomeGuy
New Cone
New Cone
Posts: 3
Joined: 04 Nov 2008 18:56

Transcoding Multiple Files...

Postby JustSomeGuy » 04 Nov 2008 19:13

I have a bunch of AVIs I want to convert to MP4 to play on an iPod / iPhone.
I have managed to do one successfully from the transcode wizard but that really isn't made for multiple files.
I learned that VLC has command line options and this can be done from a script. (From a thread with a very similar name ;)
However I do not understand the command line options I need to pass to vlc in my script to actually do the transcoding from avi to mp4.
(I see there is lua scripting for this application) I assume I can just write a script in anything like csh or python and loop through all my avi files and modify the extension to mov keeping the same 'filename'. But like I say what are the parameters for that??
Postby ScottB on Tue May 29, 2007 4:49 pm
Here is a solution that might work (I haven't 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 macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests