Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @:loop
- @if (%1) EQU () @goto end
- @set name=%1
- @set name=%name:"=%
- @if /I (%name:~-3%) EQU (mkv) @goto okay
- @if /I (%name:~-3%) EQU (avi) @goto okay
- @if /I (%name:~-3%) EQU (mp4) @goto okay
- @if /I (%name:~-3%) EQU (mov) @goto okay
- @if /I (%name:~-3%) EQU (.ts) @goto okay
- @if /I (%name:~-3%) EQU (flv) @goto okay
- @echo Cannot remux file type
- @goto end
- @:okay
- @call nice c:\cygwin\Handbrake\HandBrakeCLI.exe --native-language eng --subtitle-forced scan --subtitle scan --native-dub -C 1 -i %1 --preset "iPad" -o "%~n1.converted.mp4"
- @shift
- @goto loop
- @:end
- @pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement