miércoles, 18 de octubre de 2017
mkv_title.cmd
#pone title correcto a los archivos mkv para el servidor dnla truchito del windows 10
cd d:\peliculas
for /r %%x in (*.mkv) do c:\dvdz\mkvtoolnix\mkvpropedit "%%x" --edit info --set "title=%%~nx"
pause
lunes, 16 de octubre de 2017
mkv_zeiz.cmd
Mi script para convertir peliculas bajadas dual/audio para dejarlas con un solo audio y un solo subtitulo para que anden fácilmente en un reproductor dnla/chrome
SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
SET MKVMERGE="c:\dvdz\mkvtoolnix\mkvmerge.exe"
SET MKVEXTRACT="c:\dvdz\mkvtoolnix\mkvextract.exe"
del "www.alt-torrent.com.txt"
del "POR FAVOR!.....COMPARTAN!.txt"
del "alt-torrent.com.mp4"
FOR %%a IN ("*.mkv") DO (
title SUB EXTRACT "%%a"
%MKVEXTRACT% tracks "%%a" 4:"%%~na.srt"
title COPY LAT AUDIO/SUB "%%a"
%FFMPEG% -i "%%a" -map 0:0 -map 0:1 -map 0:4 -c:v copy -c:a copy -y -c:s srt "%%~na".copy.mkv
title MUX /FIX "%%a"
%MKVMERGE% -o "%%~na.FIX.mkv" "%%~na".copy.mkv
ren "%%a" "%%a".dst
ren "%%~na.FIX.mkv" "%%a"
del "%%~na".copy.mkv
pause
)
SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
SET MKVMERGE="c:\dvdz\mkvtoolnix\mkvmerge.exe"
SET MKVEXTRACT="c:\dvdz\mkvtoolnix\mkvextract.exe"
del "www.alt-torrent.com.txt"
del "POR FAVOR!.....COMPARTAN!.txt"
del "alt-torrent.com.mp4"
FOR %%a IN ("*.mkv") DO (
title SUB EXTRACT "%%a"
%MKVEXTRACT% tracks "%%a" 4:"%%~na.srt"
title COPY LAT AUDIO/SUB "%%a"
%FFMPEG% -i "%%a" -map 0:0 -map 0:1 -map 0:4 -c:v copy -c:a copy -y -c:s srt "%%~na".copy.mkv
title MUX /FIX "%%a"
%MKVMERGE% -o "%%~na.FIX.mkv" "%%~na".copy.mkv
ren "%%a" "%%a".dst
ren "%%~na.FIX.mkv" "%%a"
del "%%~na".copy.mkv
pause
)
viernes, 13 de octubre de 2017
youtube2mp3.cmd
SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
@ECHO OFF
FOR %%a IN ("*.mp4") DO (
title Copy "%%a"
%FFMPEG% -i "%%a" -c:a mp3 -b:a 160k "%%~na".mp3
)
pause
@ECHO OFF
FOR %%a IN ("*.mp4") DO (
title Copy "%%a"
%FFMPEG% -i "%%a" -c:a mp3 -b:a 160k "%%~na".mp3
)
pause
miércoles, 11 de octubre de 2017
fix.cmd (MKV)
SET MKVMERGE="c:\dvdz\mkvtoolnix\mkvmerge.exe"
rem @ECHO OFF
FOR %%a IN ("*.mkv") DO (
title FIX "%%a"
%MKVMERGE% -o "%%~na.FIX.mkv" "%%a"
)
pause
rem @ECHO OFF
FOR %%a IN ("*.mkv") DO (
title FIX "%%a"
%MKVMERGE% -o "%%~na.FIX.mkv" "%%a"
)
pause
lunes, 9 de octubre de 2017
copy_MKV-Keep-2audio.cmd
SET FFMPEG="C:\dvdz\ffmpeg\ffmpeg.exe"
@ECHO OFF
FOR %%a IN ("*.mkv") DO (
title Copy "%%a"
%FFMPEG% -i "%%a" -map 0:0 -map 0:1 -map 0:4 -c:v copy -c:a copy -y "%%~na".copy.mkv
)
pause
@ECHO OFF
FOR %%a IN ("*.mkv") DO (
title Copy "%%a"
%FFMPEG% -i "%%a" -map 0:0 -map 0:1 -map 0:4 -c:v copy -c:a copy -y "%%~na".copy.mkv
)
pause
Suscribirse a:
Entradas (Atom)