Certain company blocking a certain hosting provider? No problem, just tunnel the process through a small VPS with wireguard.
Consider server A your blocked server and server B your VPS.
Server A:
# webm | |
ffmpeg -i IN -f webm -vcodec libvpx -acodec libvorbis -ab 128000 -crf 22 -s 640x360 OUT.webm | |
# mp4 | |
ffmpeg -i IN -acodec aac -strict experimental -ac 2 -ab 128k -vcodec libx264 -vpre slow -f mp4 -crf 22 -s 640x360 OUT.mp4 | |
# ogg (if you want to support older Firefox) | |
ffmpeg2theora IN -o OUT.ogv -x 640 -y 360 --videoquality 5 --audioquality 0 --frontend |
(function start_embed_generator(window, document) { | |
var my_token = "-YOUR_TOKEN_HERE-"; | |
var color_reg = /(\#.+?)(\s|$)/; | |
var text_bar_color = "rgb(92, 156, 199)"; | |
window.addEventListener('keydown' , handle_event); | |
window.addEventListener('keyup' , revert_bar ); | |
return !console.log("Embed generator up!"); |