i prefer this python script from /vgy/ because it has yt-dlp integrated (last code snippit)
https://github.com/chameleon-ai/webm-for-4chan
python webm_for_4chan.py input.mp4
perfectly sized webm for /wsg/ with sound
if you use --board gif ....4mb with sound
python webm_for_4chan.py input.mp4 --board other
4mb and removes sound
python webm_for_4chan.py input.mp4 --board other --size 2
2mb sized webm for those boards
it supports downloading straight from youtube or other sites with yt-dlp with time stamps too
python webm_for_4chan.py https://www.youtube.com/watch\?v\=OWDcn7hl16A --start 00:35 --end 00:38 --size 2 --board other -o drink.webm
you're welcome i guess?
set an alias too
alias 4py="python ~/git/webm-for-4chan/webm_for_4chan.py"