this post was submitted on 27 Mar 2024
664 points (95.6% liked)

memes

10327 readers
1577 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 

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

Look. I have a twitch.

you are viewing a single comment's thread
view the rest of the comments
[–] eco_game@discuss.tchncs.de 2 points 7 months ago* (last edited 7 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