Hey guys
I am reaching out to ffmpeg pros to help me out
I am trying to convert multiple files in one folder from mpg to mp4 with a batch file (.bat) using the following script
Code:
@echo off
for /f "tokens=1 delims=." %%a in ('dir /B *.mpg') do ffmpeg.exe -i "%%a.mpg" -vcodec libx264 -qscale:v 1 -preset slow -crf 19 -b:v 25000k –r 25 -acodec aac -b:a 384k "%%a.mp4"
pause
I am getting the following error
Code:
[NULL @ 000001eeac87fac0] Unable to find a suitable output format for 'тАУr'
тАУr: Invalid argument
I have tried many different options already and searched everywhere, but nothing has helped so far.
I would appreciate your help in this matter.
Best regards,