NiGHTsC
25th September 2008, 23:11
Can someone teach me how to make a batch file so I can encode my 37 AVI(WMV9&MP3) files into MP4 with video and audio using MeGUI video/audio profiles.
this is AVS setting
DirectShowSource("J:\001.avi",fps=23.9759856527702,audio=false)
#deinterlace
#crop
#resize
#denoise
my profile of video, encoding to x264
--pass 2 --bitrate 1000 --stats ".stats" --ref 3 --mixed-refs --no-fast-pskip --bframes 2 --b-pyramid --bime --weightb --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --merange 24 --threads auto --thread-input --progress --no-psnr --no-ssim --output "J:\@MP4.mp4" "J:\@MP4.avs"
and audio, encoding to NeroAAC MP4
<?xml version="1.0"?>
<GenericProfileOfAudioCodecSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>456</Name>
<Settings xsi:type="NeroAACSettings">
<ImproveAccuracy>true</ImproveAccuracy>
<ForceDecodingViaDirectShow>false</ForceDecodingViaDirectShow>
<DownmixMode>KeepOriginal</DownmixMode>
<BitrateMode>VBR</BitrateMode>
<Bitrate>128</Bitrate>
<Delay>0</Delay>
<DelayEnabled>false</DelayEnabled>
<AutoGain>false</AutoGain>
<Profile>Auto</Profile>
<Quality>0.23</Quality>
<CreateHintTrack>false</CreateHintTrack>
</Settings>
</GenericProfileOfAudioCodecSettings>
I'll merge Video and Audio into MP4 one by one later
but I seriously need a batch file to encode them first.
Thank you.
this is AVS setting
DirectShowSource("J:\001.avi",fps=23.9759856527702,audio=false)
#deinterlace
#crop
#resize
#denoise
my profile of video, encoding to x264
--pass 2 --bitrate 1000 --stats ".stats" --ref 3 --mixed-refs --no-fast-pskip --bframes 2 --b-pyramid --bime --weightb --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --merange 24 --threads auto --thread-input --progress --no-psnr --no-ssim --output "J:\@MP4.mp4" "J:\@MP4.avs"
and audio, encoding to NeroAAC MP4
<?xml version="1.0"?>
<GenericProfileOfAudioCodecSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>456</Name>
<Settings xsi:type="NeroAACSettings">
<ImproveAccuracy>true</ImproveAccuracy>
<ForceDecodingViaDirectShow>false</ForceDecodingViaDirectShow>
<DownmixMode>KeepOriginal</DownmixMode>
<BitrateMode>VBR</BitrateMode>
<Bitrate>128</Bitrate>
<Delay>0</Delay>
<DelayEnabled>false</DelayEnabled>
<AutoGain>false</AutoGain>
<Profile>Auto</Profile>
<Quality>0.23</Quality>
<CreateHintTrack>false</CreateHintTrack>
</Settings>
</GenericProfileOfAudioCodecSettings>
I'll merge Video and Audio into MP4 one by one later
but I seriously need a batch file to encode them first.
Thank you.