AV1 selected encoder and color chroma ignored

phaolo

Member
Is AV1 working correctly in OBS?
If I select NVENC (hw with an RTX 4070s) or AOM (sw), Mediainfo always reports AOM.
And same for the colors, if I select format i444, Mediainfo reports i420.

These settings work correctly for AVC, instead.
 

Suslik V

Active Member
Mentioned chroma subsampling format not supported for the hardware encoder you are using.

There should be message in the log file of OBS, something like: "Cannot perform 4:4:4 encode on this encoder". Is there any?
 

phaolo

Member
Mentioned chroma subsampling format not supported for the hardware encoder you are using.

There should be message in the log file of OBS, something like: "Cannot perform 4:4:4 encode on this encoder". Is there any?
I don't see any error at all in the logs.

And for the hardware encoder there isn't even any mention of chroma.
Does it swap from NVENC to AOM without any notification?

Could the software encoder AOM support i444 at least?
 
Last edited:

rockbottom

Active Member
Software should work.

AOM is the reference encoder, I highly doubt you'll be able to encode in real time without lag. Anyway, if you have an Intel CPU, use the SVT encoder. It's designed for Xeon's but will scale on your CPU & use more cores/threads.


 

phaolo

Member
Reference encoder? What does it mean, the default fallback one?
But anyway, the result was i420, so AOM ignored the chroma settings too.

Btw I have an AMD 7800x3D, so no SVT.

Maybe I'll check if H265 can do i444 and without lag, otherwise I'll still have to use the old x264. What a pity
 

rockbottom

Active Member
Yep, quality first. It doesn't scale. Probably only uses 2 cores on your CPU.

Bummer

That's your best bet with no SVT.
 

Suslik V

Active Member
 

rockbottom

Active Member
Set-up looks good, nice job! Maybe run that second monitor @ 60 to save resources for something else.

So what are we looking at? Seems you have it under control. Recording had no lag but is short, if it lags, use a faster preset.

BTW, This is from the log, maybe it's wrong.
21:00:26.586: Available Encoders:
21:00:26.586: Video Encoders:
21:00:26.586: - ffmpeg_svt_av1 (SVT-AV1)
 

rockbottom

Active Member
Profile, I don't see that setting. Might have to look into the FFMPEG options, do some further research for more info. Does MediaInfo show the Profile? If it's main, it may be a non-starter.

Feature comparison between AV1 profiles
Main (0)High (1)Professional (2)
Bit depth8 or 108 or 108, 10 & 12
Chroma subsampling4:0:0YesYesYes
4:2:0YesYesYes
4:2:2NoNoYes
4:4:4NoYesYes


 

phaolo

Member
Thank you.
Well, the video result isn't i444, despite the log saying so.
The profile in OBS is "high", but I can't confirm via Mediainfo.
I'd test the actual lag if that first issue were resolved.

Ah, I haven't actually tested SVT, but you said it's for intel so I ignored it. Should I?

About the 2nd monitor refresh, I think in the past I had to change it from 60 back to to 120 because it created some issue. I don't recall atm, maybe I'll check again.
 

rockbottom

Active Member
AOM is definitely performing better than last time I tested it on an older version of OBS. It was actually scaling tonight.

Where is the setting for Profile? It isn't available here or in your log.

Yeah, I tested it too tonight. Give it a try. It's way better for real time encoding.

21:00:46.205: [AV1 encoder: 'advanced_video_recording'] settings:
21:00:46.205: encoder: AOM AV1
21:00:46.205: rate_control: CQP
21:00:46.205: bitrate: 0
21:00:46.205: cqp: 18
21:00:46.205: keyint: 60
21:00:46.205: preset: 9
21:00:46.205: width: 1920
21:00:46.205: height: 1080
21:00:46.205: ffmpeg opts:
 

rockbottom

Active Member
Main won't work. High Or Pro Profiles,

Video
ID : 1
Format : AV1
Format/Info : AOMedia Video 1
Format profile : High@L4.0
Codec ID : av01
Duration : 37 s 67 ms
Bit rate : 365 kb/s
Maximum bit rate : 2 500 kb/s
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 30.000 FPS
Color space : YUV
Chroma subsampling : 4:4:4
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.008
Stream size : 1.61 MiB (97%)
Color range : Full
Color primaries : BT.709
Transfer characteristics : sRGB/sYCC
Matrix coefficients : BT.709
Codec configuration box : av1C
 

phaolo

Member
AOM is definitely performing better than last time I tested it on an older version of OBS. It was actually scaling tonight.

Where is the setting for Profile? It isn't available here or in your log.

Yeah, I tested it too tonight. Give it a try. It's way better for real time encoding.

21:00:46.205: [AV1 encoder: 'advanced_video_recording'] settings:
21:00:46.205: encoder: AOM AV1
21:00:46.205: rate_control: CQP
21:00:46.205: bitrate: 0
21:00:46.205: cqp: 18
21:00:46.205: keyint: 60
21:00:46.205: preset: 9
21:00:46.205: width: 1920
21:00:46.205: height: 1080
21:00:46.205: ffmpeg opts:
Yeah, I actually tried AOM during a game before and it worked, but haven't done it for a log analysis.
But the i444 issue remains. Check my latest post, there's an opened issue for OBS.

Ops, you're right, there's no profile entry for AOM. I hate that OBS always defaults to the Streaming tab.
NVENC instead only has "main".
 

rockbottom

Active Member
I think your SOL for the time being with AV1. Give it some time. Same result with both SVT & AOM. Use H265 for now & keep an eye on that thread.

22:25:35.069: [AV1 encoder: 'advanced_video_recording'] settings:
22:25:35.069: encoder: SVT-AV1
22:25:35.069: rate_control: CQP
22:25:35.069: bitrate: 0
22:25:35.069: cqp: 20
22:25:35.069: keyint: 120
22:25:35.069: preset: 10
22:25:35.069: width: 1920
22:25:35.069: height: 1080
22:25:35.069: ffmpeg opts: profile=1
22:25:35.069:
22:25:35.237: ---------------------------------
22:25:35.237: [FFmpeg pcm_s24le encoder: 'Track1'] bitrate: 0, channels: 2, channel_layout: stereo
22:25:35.237:
22:25:35.258: ==== Recording Start ===============================================
22:25:35.258: [ffmpeg muxer: 'adv_file_output'] Writing file 'D:/2025-02-27_22-25-35.mkv'...
22:25:39.526: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/2025-02-27_22-25-35.mkv' stopped
22:25:39.526: Output 'adv_file_output': stopping
22:25:39.526: Output 'adv_file_output': Total frames output: 195
22:25:39.526: Output 'adv_file_output': Total drawn frames: 256
22:25:39.527: ==== Recording Stop ================================================

General​

Unique ID :53641263413207806921950885960040690175 (0x285AEE79D03F8BB94020877777A5B1FF)
Complete name :D:\2025-02-27_22-25-35.mkv
Format :Matroska
Format version :Version 4
File size :3.68 MiB
Duration :3 s 242 ms
Overall bit rate :9 530 kb/s
Frame rate :60.000 FPS
Writing application :Lavf61.1.100
Writing library :Lavf61.1.100
ErrorDetectionType :Per level 1


Video​

ID :1
Format :AV1
Format/Info :AOMedia Video 1
Format profile :Main@L4.1
Codec ID :V_AV1
Duration :3 s 234 ms
Bit rate :7 036 kb/s
Width :1 920 pixels
Height :1 080 pixels
Display aspect ratio :16:9
Frame rate mode :Constant
Frame rate :60.000 FPS
Color space :YUV
Chroma subsampling :4:2:0
Bit depth :8 bits
Bits/(Pixel*Frame) :0.057
Stream size :2.71 MiB (74%)
Default :No
Forced :No
Color range :Full
Color primaries :BT.709
Transfer characteristics :BT.709
Matrix coefficients :BT.709


Audio​

ID :2
Format :PCM
Format settings :Little / Signed
Codec ID :A_PCM/INT/LIT
Duration :3 s 242 ms
Bit rate mode :Constant
Bit rate :2 304 kb/s
Channel(s) :2 channels
Sampling rate :48.0 kHz
Bit depth :24 bits
Stream size :912 KiB (24%)
Title :Track1
Default :No
Forced :No
 
Last edited:
Top