Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem Загрузите ffmpeg отсюда: https://ffmpeg.zeranoe.com/builds/
- rem Распакуйте и положите этот файл с именем put_in.bat в папку bin, рядом с ffmpeg.exe
- rem Usage:
- rem put_in.bat "<URL>" <STORAGE_DIR>
- @echo off
- setlocal enableextensions
- md %2
- set /a i=0
- :loop
- cmd /c exit /b %i%
- set /a "i=%errorlevel%+1"
- set "i=0000%i%"
- set "i=%i:~-5%"
- ffmpeg -i "%1" -c:v copy -c:a copy %2/%i%.ts
- goto :loop
- endlocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement