I am looking to batch convert a folder with multiple MP4 videos into uncompressed AVI videos with no audio. Is there anyway to do this easily without adding one by one into job control ?
+ Reply to Thread
Results 1 to 6 of 6
-
-
I would recommend not to use VirtualDub, but instead ffmpeg at the command line, it was made for batch processing.
But if you insist in VirtualDub, I guess it would be possible to generate a job file with a batch in a FOR loop, and to let VirtualDub process this job file via parameter. -
For the case of using ffmpeg:
At first, copy the file of ffmpeg.exe to the folder in which all mp4 files to be encoded exist.
And, in cmd line of that folder path in which encoding will be processed, type this & press enter key.
Code:>for %a in (*.mp4) do ffmpeg -i "%~na.mp4" -vcodec copy -an -y -f avi "%~na.avi"
make a text file in the content of the following:
Code:pushd %~dp0 for %%a in (*.mp4) do tools\ffmpeg -i "%%~na.mp4" -vcodec copy -an -y -f avi "%%~na.avi" popd %~dp0
And.. Execute this batch file by double clicking !!!Last edited by flying2ndsky; 26th Nov 2015 at 10:30.
-
Or instead, append the path to this executable to your user account's PATH environment variable, separated with a semicolon.
BTW, "-vcodec copy" is wrong. TheRandomOne did not want the unconverted video stream, but a decoded and uncompressed video. I am not sure if "-vcodec YV12" would work here.
Furthermore, it is not recommendable to store uncompressed video which would really be a waste of disk space; there are also losslessly compressing formats available as AVI compatible codecs, e.g. HFYU or FFV1 (to handle this result in other tools, you would have to install a VfW codec though, like the one in ffdshow).
Instead, if uncompressed output is really necessary, I would even wonder if YUV4MPEG output may be suitable instead of AVI.Last edited by LigH.de; 26th Nov 2015 at 01:51.
-
For the virtualdub case:
originally, virtualdub is not support to loading the input files of mp4, mkv, flv .. etc.
So at first, you need virtualdub' plugin files(.vdplugin) to make the mp4 files to be loaded into virtualdub.
In now, plugins sets for virtualdub are two types. the one is a ffmpeg's ffinputdriver.vdplugin & dll files, the other is a fcchandler's plugin files set.
you should locate the one of the plugin file' set to the virtualdub' plugin folder.(for x64 bit virtualdub, plugin64 folder )
Second, make vdub job configuration script file(.vdscript) for automating virtualdub processing.
for the job of none audio & untranscoded direct stream copy of the video stream & convert to .avi format output.
following is the one of the vdscript for that job. make a job configuration file of the content of the following with extension of .vdscript
Code:VirtualDub.Open(VirtualDub.params[0]); VirtualDub.audio.SetSource(0); VirtualDub.audio.SetMode(0); VirtualDub.video.SetInputFormat(0); VirtualDub.video.SetOutputFormat(7); VirtualDub.video.SetMode(0); VirtualDub.video.SetSmartRendering(0); VirtualDub.video.SetPreserveEmptyFrames(0); VirtualDub.video.SetFrameRate2(0,0,1); VirtualDub.video.SetIVTC(0, 0, 0, 0); VirtualDub.video.SetCompression(); VirtualDub.video.filters.Clear(); VirtualDub.SaveAVI(VirtualDub.params[1]); VirtualDub.Close();
Code:>for %a in (*.mp4) do [virtualdub' path]\vdub /i mp42avi.vdscript "%a" "%~na.avi"
mp42avi is for the job configuration file name, so select any name you like.
for your reference, here i append the script file.Last edited by flying2ndsky; 26th Nov 2015 at 04:06.
-
Last edited by flying2ndsky; 26th Nov 2015 at 09:06.
Similar Threads
-
Batch Convert - ISO/DVD to MP4
By joepic in forum Video ConversionReplies: 12Last Post: 26th Feb 2015, 12:09 -
FFMPEG: how to get uncompressed audio in a MP4 file?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 15th Feb 2015, 09:37 -
What program can batch convert JUST audio of .mp4 files then re-mux?
By Whitezombie455 in forum Video ConversionReplies: 18Last Post: 25th Jan 2015, 09:36 -
Batch Convert .MTS files to .MP4?
By rocketman778 in forum Video ConversionReplies: 13Last Post: 1st Aug 2014, 06:56 -
How 2 convert MP4 w/3 audio trax+1 vid trac into MP4 w/1 audio+video trac?
By Whitezombie455 in forum Video ConversionReplies: 11Last Post: 17th Nov 2013, 02:14