Answer the question
In order to leave comments, you need to log in
What ffmpeg arguments to use to convert ANY video format to mp4?
There was a need to convert the downloaded video file of any format to mp4 . Is there a universal set of command line arguments for ffmpeg to compress, optimize and convert any input video file to mp4?
Answer the question
In order to leave comments, you need to log in
My suggestion:
ffmpeg -i файл -c:v libx264 -preset slow -crf 22 -c:a copy результат.mp4
@echo off
:START
if "%~1" == "" goto END
ffmpeg -i "%~1" -c:v libx264 -preset slow -crf 22 -c:a copy "%~1".mp4 -y
shift
goto START
:END
PAUSE
You just need to drag the desired video onto this bat-file. Easily corresponds to the answer Sergey Tikhonov Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question