I was gonna remove my text from the post when I stopped streaming but now? Nah. Fuck it.

Look. I have a twitch.

  • eco_game@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    3 months ago

    I highly recommend transcoding all your videos with ffmpeg, for me that reduces their size to anything from 10% - 25% of the original (100MB -> 20MB). I always use this command:

    ffmpeg input.mp4 -vcodec libx265 -crf 28 ouput.mp4
    

    (This will strip metadata, I was too lazy to figure out how to make it keep metadata). What I also do for most videos is turn them all into 1080p30 if they aren’t already.

    You can ask ChatGPT to make you a small script to apply that command to all files in a folder, I can’t remember how to do it off the top of my head.

    Edit: for linux run this in the folder with your videos:

    for file in *.mp4; do ffmpeg -i "$file" -vcodec libx265 -crf 28 "${file%.*}_transcoded.mp4"; done