viernes, 22 de marzo de 2019
jueves, 14 de marzo de 2019
mp4fix.cmd
SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
@ECHO OFF
FOR %%a IN ("*.mp4") DO (
rem %FFMPEG% -i "%%a" -c:v libx264 -profile:v high -level 41 -crf 18 -maxrate 400k -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))'" -x264opts bframes=3:cabac=1 -movflags faststart -c:a aac -y -b:a 32k "%%~na".fix.mp4
%FFMPEG% -i "%%a" -c:v libx264 -profile:v high -level 41 -crf 22 -maxrate 360k -bufsize 16M -pix_fmt yuv420p -movflags faststart -c:a aac -y -b:a 32k "%%~na".fix.mp4
)
pause
https://pastebin.com/embed/1r7gywWH
@ECHO OFF
FOR %%a IN ("*.mp4") DO (
rem %FFMPEG% -i "%%a" -c:v libx264 -profile:v high -level 41 -crf 18 -maxrate 400k -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))'" -x264opts bframes=3:cabac=1 -movflags faststart -c:a aac -y -b:a 32k "%%~na".fix.mp4
%FFMPEG% -i "%%a" -c:v libx264 -profile:v high -level 41 -crf 22 -maxrate 360k -bufsize 16M -pix_fmt yuv420p -movflags faststart -c:a aac -y -b:a 32k "%%~na".fix.mp4
)
pause
https://pastebin.com/embed/1r7gywWH
miércoles, 6 de marzo de 2019
mp4_remove_subtitles.cmd
SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
FOR %%a IN ("*.mp4") DO (
title chrome "%%a"
%FFMPEG% -i "%%a" -c:v copy -c:a copy -map_metadata 0:g -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -movflags +faststart -threads 8 -sn -y "%%~na".ns.mp4
)
pause
https://pastebin.com/sNJ3rGAN
FOR %%a IN ("*.mp4") DO (
title chrome "%%a"
%FFMPEG% -i "%%a" -c:v copy -c:a copy -map_metadata 0:g -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -movflags +faststart -threads 8 -sn -y "%%~na".ns.mp4
)
pause
https://pastebin.com/sNJ3rGAN
Suscribirse a:
Entradas (Atom)