SET FFPROBE="C:\dvdz\ffmpeg\ffprobe.exe"
@ECHO OFF
FOR %%a IN ("*.mp4") DO (
title MP4PROBE "%%a"
echo %%a
%FFPROBE% -v error -select_streams v:0 -show_entries stream=profile,level -of default=noprint_wrappers=1 "%%a"
echo.
echo.
)
pause
https://pastebin.com/APk7Vv64
jueves, 28 de febrero de 2019
jueves, 21 de febrero de 2019
mpg2mp4.cmd
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
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
martes, 12 de febrero de 2019
mov2mp4.cmd
mov2mp4.cmd
SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
@ECHO OFF
FOR %%a IN ("*.mov") DO (
%FFMPEG% -i "%%a" -c:v libx264 -profile:v high -level 4 -crf 18 -maxrate 1M -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 "%%~na".mp4
)
pause
https://pastebin.com/UApCYxNx
SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
@ECHO OFF
FOR %%a IN ("*.mov") DO (
%FFMPEG% -i "%%a" -c:v libx264 -profile:v high -level 4 -crf 18 -maxrate 1M -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 "%%~na".mp4
)
pause
https://pastebin.com/UApCYxNx
viernes, 8 de febrero de 2019
Bajar subtitulos desde linea de comandos cmd
Instalar Python
https://www.python.org/downloads/
instalar subliminal
windows
C:\Users\pepito\AppData\Local\Programs\Python\Python37-32\Scripts\pip install subliminal
o
C:\Users\pepito\AppData\Local\Programs\Python\Python37\Scripts\pip install subliminal
debian
sudo apt-get install python-pip
pip install subliminal
script:
https://www.python.org/downloads/
instalar subliminal
windows
C:\Users\pepito\AppData\Local\Programs\Python\Python37-32\Scripts\pip install subliminal
o
C:\Users\pepito\AppData\Local\Programs\Python\Python37\Scripts\pip install subliminal
debian
sudo apt-get install python-pip
pip install subliminal
script:
dl_sub.cmd (windows)
SET SUBLIMINAL="C:\Users\pepito\AppData\Local\Programs\Python\Python37-32\Scripts\subliminal"
#o
SET SUBLIMINAL="C:\Users\pepito\AppData\Local\Programs\Python\Python37\Scripts\subliminal"
#o
SET SUBLIMINAL="C:\Users\pepito\AppData\Local\Programs\Python\Python37\Scripts\subliminal"
FOR %%a IN ("*.mkv") DO (
%SUBLIMINAL% download -l es "%%a"
)
FOR %%a IN ("*.mp4") DO (
%SUBLIMINAL% download -l es "%%a"
)
pause
https://pastebin.com/EJF9smdj
dl_sub.sh (linux)
#!/bin/bash -x
SUBLIMINAL="/usr/local/bin/subliminal"
for i in *mp4
do
$SUBLIMINAL download -l es "$i"
done
for i in *mkv
do
$SUBLIMINAL download -l es "$i"
done
sleep
https://pastebin.com/EJF9smdj
dl_sub.sh (linux)
#!/bin/bash -x
SUBLIMINAL="/usr/local/bin/subliminal"
for i in *mp4
do
$SUBLIMINAL download -l es "$i"
done
for i in *mkv
do
$SUBLIMINAL download -l es "$i"
done
sleep
Suscribirse a:
Entradas (Atom)