Batch conversion of a folder of .MOV to .MP4 files?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
gunderfriend
New Cone
New Cone
Posts: 2
Joined: 03 Apr 2013 17:18

Batch conversion of a folder of .MOV to .MP4 files?

Postby gunderfriend » 05 Apr 2013 17:50

I would like help learning how to do a batch conversion of a folder of .MOV to .MP4 files? In the player, after I click on convert, it appears I can add several files to the file selection box. But I can see no option for designating simply a folder or other for a destination. I was able to read instruction at the VLA Wikipedia site about making a .BAT file. I tried to follow them but don't have a clue about how such files are supposed to work. So I would appreciate advice on how to proceed. Doing one file at a time is tedious.

Peter S
Blank Cone
Blank Cone
Posts: 38
Joined: 21 Jun 2007 11:24

Re: Batch conversion of a folder of .MOV to .MP4 files?

Postby Peter S » 15 Apr 2013 15:08

Bat File ? I have a command file in win 7 prof for such process.
for %%a in (*.mov) do cmd /c "C:\program files (x86)\VideoLan\VLC\vlc.exe" ^
-I dummy -vvv %%a ^
--stop-time=60 ^
--sout=#transcode{vcodec=h264,vb=7000,fps=25.000,size=4:3,width=722,height=578,^
vfilter=croppadd{croptop=2,cropbottom=0,cropleft=2,cropright=0,paddright=0},^
acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace}^
:standard{access=file,mux=mp4,dst=%%~na.mp4} ^
vlc://quit
comment for line:
1. C:\.... is the location vor vlc
1. ^ is the possiblity for a long command line. Every line break before, you have this ^
3. --stop-time is the limit of seconds, for experiment only. If the output examination is very good, than remove it.
4. size, width, height you have to modify for your limitations or nor. My home videos are 720*576, and so I have modified the vfilter also, what you not need. Therefore you can in the 5. line ...
5. ... move out the ", vfilter..." . Only the "}, " has to be at the end of line 4.
6. Here you can modify the samplerate and the "deinterlace" put out, if not important.
7. "dst" is destination. You can modify it. In my cmd file the output file name is the same as the input file name, but .mp4 and the output is in the input directory.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests