Last active
July 25, 2023 01:09
-
-
Save oclockvn/5931721e4dc837d3a22ae790e3318bb2 to your computer and use it in GitHub Desktop.
Bookmarklet to download ffmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
const link = window.prompt(`Enter the link`); | |
if (!link) { | |
return; | |
} | |
const parts = link.split(' '); | |
prompt('Result:', `ffmpeg -i ${parts[1]} -map p:2? -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 "E${parts[0]}.mp4"`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment