[Alt text: GIF from the music video for “Love Shack” by the B-52s. The video depicts people dancing in a convertible, multiple people in suits and dresses dancing (visible from the waist down), martinis, a duck shaking its tail, and two men playing saxophones. The subtitles read:

The Crowdstrike is a kernel-space app that

has no testing process

Crowdstrike! Baby Crowdstrike!

Crowdstrike! Baby Crowdstrike!]

  • ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    4 months ago

    I thought the average !programminghumor@lemmy.world user is already FOSSpilled. Of course you don’t have to use the FOSS tools but they are convenient enough to be able to make this in 10 minutes.

    Anyway, the relevant commands are```bash yt-dlp -f “bv*[height<=480]+ba” --no-mtime --convert-subs srt --write-sub https://www.youtube.com/watch?v=9SOryJvTAGs

    aegisub needs srt; we don’t need above 480p

    aegisub “The B-52’s - Love Shack (Official Music Video) [9SOryJvTAGs].en.srt”

    now go rewrite appropriate lines in gui, apply style and save as “LoveShack.ass”

    ffmpeg -i “The B-52’s - Love Shack (Official Music Video) [9SOryJvTAGs].mp4” -filter_complex “[0:v]subtitles=LoveShack.ass[s];[s]crop=w=640[f]” -map [f] -map 0:a -ss 49 -t 21 -acodec aac -vcodec libx265 -crf 20 crowdstrike.mp4

    crf 20 for generously high quality because file size is small anyway

    
    ![](https://pixelfed.de/storage/m/_v2/714119237539833881/3781ba7d4-1bb9dc/mdpKYV9r1rCo/3ID52l5idi5wA03eMVFTTTIjtXNSdAS0M9AZZk4G.mp4)