this post was submitted on 26 Oct 2024
42 points (97.7% liked)

Asklemmy

44115 readers
860 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

I'm planning a huge playthru of a game, and I'd like to be able to look back at it years down the line. However I'm expecting it to be 100s of hours (maybe around/over 1k, but I hope not longer than 2k) and years to finish (I'm not planning on playing 8+h a day).

What are he most optimal settings for OBS to save as much video as possible, while it's still watchable?

I could record in 1440p 165fps. I know that's dumb, but idk how low I'm willing to go. 1440p sounds awesome, but lower than 1080p would lose too much information. Same with lower than 60fps. I don't have a clue as to what bitrate would do well, and what encoding is best. For bitrate I have a clue that it needs to be as high as possible. As it can be a bullethell and there are way to many particles/effects on screen, while everything that matters is small. (I'm not trying to be secretive here, game's modded Terraria)

I'd also state that I'd like to error on the storage side, I don't mind buying another HDD, they really aren't that expensive. And I'm also planning on editing the video down as soon as possible, so that I delete all the boring parts. Meaning I probably won't have all of that lenght on my disk at once.

Thank you for any aid in my crazy endeavour.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 month ago (1 children)

Can you post a screenshot of your Handbrake settings? You should definitely be getting better efficiency than that.

[โ€“] UnRelatedBurner 2 points 1 month ago (1 children)

"15k hard" is the control h264 file rest doesn't matter I think

but in the meantime I did some encoding to h265, and I managed to get a smaller file size however the quality sucked, so I lowered the crf and it's larger again.

[โ€“] [email protected] 2 points 1 month ago (1 children)

In the third screenshot, preset is on 7, change that to 4. That's the speed setting - 7 is trying to do it in close to real time, 4 will take much longer but be much more efficient.

[โ€“] UnRelatedBurner 2 points 1 month ago (1 children)

it became 504 MiB, the original was 306.

while it was doing that I tried compressing a 50Mbps clip. And I think you're gut feeling will be right, I managed to compress it with AV1 rf47 it got reduced to a 4th of it's size and it looks almost the same as the 15Mbps one. However, sadly I saw how good the raw 50Mbps one looks, so I don't think I'll go that low. Finding the sweet spot will take forever! Also isn't 50Mbps too high, the video looks amazing, but isn't that abnormally high?

[โ€“] [email protected] 2 points 1 month ago (1 children)

If you're seeing any artifacts in the original video, you probably need to re-record in a higher bitrate. It needs to look identical to uncompressed. Your later encodes will be trying to encode all the artifacts in the original video, which could be why the file sizes keep getting bigger - you're giving it noisier video than the original.

50mbps for recording as an intermediate like that is well within the realm of normal. You can try having obs record in 264 with a quality setting instead of a bitrate setting, which can save space when things are more static - something like cq 6 or lower can do pretty well.

Unfortunately, yeah finding the sweet spot does take forever. One thing I would recommend is once you have an idea where you want to land, try a few much longer videos and see what the differences are. Slower paced sections might compress much better than the fast action stuff in one codec or another. Again it's all kind of a balancing act on where you want to be.

[โ€“] UnRelatedBurner 2 points 1 month ago* (last edited 1 month ago) (1 children)

Oh that's a great tip, I set it to "indistinguishable" and it 3x-ed the (almost) same gameplay clip, but it does look the best so far. But if what you are saying is true, with the encoding the previous encoder's artifacts, doesn't that mean I should record in lossless?

I did try a video of my desktop doing almost nothing, and AV1 rf23 compressed it 17x. That's nice. I'll now try re-coding this "indistinguishable" h264 preset video and to record a lossless one and to re-code that as well.

[โ€“] [email protected] 2 points 1 month ago (1 children)

From a technical level you should use something lossless in this situation, but it really quickly becomes impractical. Actually lossless 1080p60 is going to be something like 500mbps, so if you're playing for an hour I hope you have a spare 2tb drive laying around. The artifacts in really high bitrate compressed video are so minimal that they basically don't matter. Often codecs do noise removal first thing so whatever minor artifacts still exist will get smeared over by that anyway.

Also when you are testing make sure there's some movement in the video. AV1 especially has modes for presentations and things that basically make a PowerPoint, so sizes might be unrealistic if you're just recording your desktop. I don't think that gets enabled in handbrake but it's been a while since I looked.

[โ€“] UnRelatedBurner 2 points 1 month ago

I settled for this: ffmpeg -i "$file" -map 0:0 -c:v libsvtav1 -preset 3 -crf 23 -maxrate 85M -map 0:a -c:a copy "${file%.mp4}-av1.mp4" -y The files is still very large, but you can't notice any artifacts or any blurry parts, I transcode it with 7fps.