mpg2mp4.cmd
SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
@ECHO OFF
FOR %%a IN ("*.mpg") DO (
title mpg2mp4 "%%a"
%FFMPEG% -i "%%a" -c:v libx264 -preset medium -crf 24 -maxrate 200k -bufsize 16M -pix_fmt yuv420p -vf "scale=iw*sar:ih, scale='if(gt(iw,ih),min(1920,iw),-1)':'if(gt(iw,ih),-1,min(1080,ih))'" -movflags faststart -c:a copy -y "%%~na".mp4
)
pause
https://pastebin.com/9yZa4uJK
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario