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

memes

11767 readers
2933 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 [email protected]

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.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
664
submitted 10 months ago* (last edited 10 months ago) by Stamets to c/memes
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 10 months ago* (last edited 10 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