Comments (5)
svt-av1 only does yuv420 and yuv420p10le, so that is expected.
As for AOM, it does have support, and I can confirm your findings. It will be converted to 4:2:0 chroma subsampling.
from obs-studio.
Simply adding a case for I444
like suggested does give you 4:4:4 with AOM, but throws on svt-av1 (cus it of course cannot handle it), so it requires a bit more than that.
from obs-studio.
Damn, didn't know that about SVT-AV1...it's much more usable performance-wise than AOM in my experience so far.
Relevant issue: https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1433
from obs-studio.
It is what it is :) I experimented a bit, but its very annoying to deal with to be honest. There a multiple formats that do work, and multiple that dont.
Adding cases/ifs for essentially all formats, for each encoder is pretty meh...
If just yuv444 gets added, then it would set the precedent, and I would presume requests would come for yuv422, 10 bit and friends, rgb, what have you. I don't really feel like opening a PR I personally would not merge.
If you or someone would make a very compelling argument for just adding a specific one (because it is very useful in x scenario), then maybe :) I personally can't.
av1 is a highly compressed format, and aom is not exactly well suited for realtime encoding (OBS use cases), so it makes sense that it would primarily be used with yuv420. At least that is my take.
from obs-studio.
So here's my use case. When I stream, I record the VOD separately in significantly higher quality for platforms that support higher quality video than x264 @ 6Mbps w/ 4:2:0. So basically everything that's not Twitch (barring the Enhanced Broadcasting Beta).
Up until now, I've just been doing this using x264 with the software encoder because it's fast, compatible, and good quality...but only if you crank CRF/bitrate/whatever. It's not remotely efficient. A recent 3 hour stream I had recorded a VOD with a size of 21GB (CRF=14). Re-encoding that to AV1 after the fact, with roughly the same amount of perceived visual quality (CRF=28), reduces that video's size to ~11GB.
Storage, how long it takes to upload to other platforms, and how long it takes to process on those platforms are the key concerns for me here, and re-encoding to AV1 locally takes a while too so I'd prefer to just have OBS record straight to a video file I can use.
All of this said...AOM is definitely not fast enough for realtime encoding on CPU right now unless you've got a Threadripper or something. I sort of went into this believing SVT had support for 4:4:4 chroma subsampling because why wouldn't it at this point. So, I'm not sure what the solution is for my use case right now at least.
OBS should definitely support 4:4:4 chroma subsampling for everything possible if it's supposed to be the king of streaming/recording software though. Especially if OBS has an option that says "turn this on for 4:4:4" and FFmpeg/the codec supports it.
There's not even anything put in the logs about trying to use a Color Format that's not supported by FFmpeg/codec/etc right now.
from obs-studio.
Related Issues (20)
- Audio issue with multiple inputs on the same source (OBS 30.1.2, Flatpak, PipeWire) HOT 1
- obs cannot record on "Nouveau" HOT 1
- Resize output (source size) doesn't work with source cropping HOT 5
- [BUG] Crash at startup with segmentation fault in libFcitx5Qt6DBusAddons.so.1 HOT 3
- OBS ERROR VIA FLATPAK HOT 6
- obs-webrtc should default to main profile HOT 13
- OBS Crashes at Startup After Installing Davinci Resolve and Persists After Resolve is Uninstalled and OBS Reinstalled HOT 3
- Just crashing HOT 1
- Color picker shouldn't be affected by the setting "Hide OBS Windows from screen capture". HOT 1
- QuickSync not working on Ubuntu 24.04 HOT 2
- [Safe Mode] Unclean shutdown detected! Windows 11 HOT 5
- "System" main theme sometime disappear. HOT 1
- [Windows 11] OBS crashes during regular Windows shutdown HOT 5
- Show Transition/Hide Transition -> Fade only working once HOT 15
- macOS screen capture should automatically restart when display becomes available HOT 1
- PPA does not contain packages for Ubuntu 24.04 HOT 2
- OBS Navbar padding need some improvement, i have fixed it but i don't know how to contribute to UI OBS HOT 3
- New Windows load white HOT 1
- upgrade install of 30.2 beta 3 crashes & wont open on Ubuntu Studio 24.04 HOT 2
- error when building from source : Could NOT find FFnvcodec: Found unsuitable version "12.2.72.1" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-studio.