Skip to content

Instantly share code, notes, and snippets.

@pnlybubbles
Created November 14, 2016 11:24
Show Gist options
  • Save pnlybubbles/75426a79d66a86509f17b88962c7cafb to your computer and use it in GitHub Desktop.
Save pnlybubbles/75426a79d66a86509f17b88962c7cafb to your computer and use it in GitHub Desktop.
察して
@echo off
set /P URL="m3u8 url: "
ffmpeg -i %URL% -movflags faststart -c copy -bsf:a aac_adtstoasc hls_%DATE:~-10,4%%DATE:~-5,2%%DATE:~-2%%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%.mp4
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment