Started by Tinhorn, September 28, 2016, 11:49:19 pm
Quote from: Tinhorn on September 29, 2016, 01:55:17 pmI can convert the videos using FFMPEG and Avidemux and don't have any trouble that way. Its just that I was hoping to use Avidemux and avoid getting the picture quality reduction (like a second-generation Xerox copy).
@echo offclsset filename="":FILES_LOOPfor %%F in (%1) do ( set filename=%%F echo Processing %%F ffmpeg.exe -i %%F -c:v copy -c:a copy -y -hide_banner -loglevel error %%~nF.mp4 if errorlevel 1 goto ERROR_OCCURRED dir %%~nF.mp4 | find "/" rem Remove REM from the start of the next line if you wish to delete the original file if no error occured in the conversion. REM del %%F echo. shift)if not "%1"=="" goto FILES_LOOPgoto FINISHED:ERROR_OCCURREDecho.echo An error occured when trying to process %filename%echo Aborting...:FINISHEDecho.echo.pause