I have several videos I need to process using avisynth then encode to hevc/aac mkv format. I can use avsproxy and open in avidemux but I can't batch it. I have a lot of videos that use basically the same script. I can easily create a script for each file if needed but I don't have anything that takes it as an input. Can someone please recommend some software that takes avisynth files as an input or where I can use avs within the software to batch?
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 7 of 7
			
		- 
	
- 
	Also, if all the Avisynth scripts should contain identical commands, here's a nice tip I read here, from jagabo above, posted two years ago : 
 https://forum.videohelp.com/threads/381322-ConvertToYV12-in-Avisynth-Rec601-Rec709-PC-...ge#post2468325
 
 Just adapt to your case... Apparently this works directly by dragging-and-dropping a file on the .bat script (I haven't tried that), but it can be modified by adding FOR loops, to process a whole directory by just double-clicking on the .bat script. Each echo ... >> ... line adds the specified command to each .avs file (with only one > it overwrites the file's current contents, that's why only the first echo line has >).Here's a convenient batch file that uses DgIndex to build an index file and create an AviSynth script to open that file:
 Code:"G:\Program Files\DgIndex\DGIndex.exe" -i "%~d1%~p1%~n1%~x1" -o "%~d1%~p1%~n1" -fo 0 -om 2 -exit echo Mpeg2Source("%~d1%~p1%~n1.d2v", CPU2="ooooxx", Info=3) > "%~1.avs" echo TFM(d2v="%~d1%~p1%~n1.d2v") >> "%~1.avs" echo TDecimate() >> "%~1.avs"
 If you're not familiar with Windows command line arguments (assuming you're using Windows), look here.
 
 Also specify a -crf value if you want a better quality than the default  but I just looked at ffmpeg's included help, it says that default is -1, what is that supposed to mean ? (Many other parameters have -1 as default.)replace "libmp3lame" with "aac" or "libfdk_aac". The latter is better quality but not included in some ffmpeg builds.Last edited by abolibibelot; 21st Dec 2018 at 21:22. 
Similar Threads
- 
  batch that delete one line in avisynthBy marcorocchini in forum Newbie / General discussionsReplies: 23Last Post: 1st Jan 2018, 05:15
- 
  Issue - Software for batch conversion SEOBy vita85 in forum Newbie / General discussionsReplies: 1Last Post: 6th Apr 2015, 08:46
- 
  Looking for a Batch x264 Encoder with AviSynth SupportBy VideoFanatic in forum RestorationReplies: 8Last Post: 19th Sep 2014, 13:08
- 
  Tool for batch scaling and conversionBy MedConv in forum Video ConversionReplies: 7Last Post: 22nd Jul 2014, 14:24
- 
  How to check if AviSynth is installed (from a Windows batch file)By as264 in forum EditingReplies: 9Last Post: 10th Feb 2014, 10:19


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote
