this post was submitted on 26 Oct 2024
43 points (100.0% liked)
Asklemmy
43890 readers
855 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!
- Open-ended question
- 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.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
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.