
So it will save all final output files as. Test it on some sample files first - the command lines are identical to your code, only the input and output terms have been changed.ĮDIT: The last command has ".\Output\%%~na.mp4" instead of ".\Output\%%~nxa" \ is not necessary in Windows to refer to files or folders in the current directory. This code should eliminate the need for renaming the files.Ĭhange line 2 so that it shows your correct input filetypes and FWIW the. P.s my output file using this code is roughly 2-5 times smaller with small loss (at least for me), but since i use 10 bit and level 5.1, not all player might able to play (havent tried it)

even if they were wmv/mov/avi, i usually just rename into mp4, dont really know if its bad or not

rename those files into simple name, 1.mp4 2.mp4 etc untill allįiles renamed (xxx.mp4).read the name of files and then save it into text file.i'm trying to batch encode video with cmd I need help to rename some file using bat file.
