An issue where an error occurs with certain color formats

search

New Member
If you set the video encoder to NVENC AV1 and try to record with the color format
I444 (8-bit, 4:4:4, 3 planes) or
BGRA (8-bit), an error will occur and recording will not be possible.
log file
The log file attempts to record in I444 (8-bit, 4:4:4, 3 planes).
スクリーンショット 2024-06-19 181156.png


Also, if you set the recording format to Hybrid MP4 (.mp4) in addition to the above settings, OBS will crash.
crash file
The crash file attempts to record in I444 (8-bit, 4:4:4, 3 planes).
スクリーンショット 2024-06-19 181214.png

A 36-byte Hybrid MP4 (.mp4) file will be generated, but it is a meaningless file.
スクリーンショット 2024-06-19 181447.png
 

Suslik V

Active Member
Can you open generated mp4 file (36 bytes) with "HxD" util for example, and post its content here as a "code" block?
[CODE] copy/paste here data from your hex viewer [/CODE]
 

search

New Member
Can you open generated mp4 file (36 bytes) with "HxD" util for example, and post its content here as a "code" block?
[CODE] copy/paste here data from your hex viewer [/CODE]
Here is the data I got from the file:
00 00 00 00 66 74 79 70 69 73 6F 36 00 00 02 00 69 73 6F 36 69 73 6F 6D 6F 62 73 31 69 73 6F 32 6D 70 34 31
The file was generated using NVENC AV1 as the video encoder, Hybrid MP4 as the recording format, and I444 as the color format.

スクリーンショット 2024-06-20 012414.png
 

Suslik V

Active Member
According to this table from NVIDIA (SDK v12.2):
4:4:4 for AV1 is not possible (for today) on Ada GPUs (I assume you are owner of GPU with code name AD102-300).
Here, 4:2:0 setting likely will work OK. It is AV1 Main profile.

In my opinion, for local recordings with constant quality - no benefits expected (over HEVC). Most benefits (AV1 over HEVC) are expected for streaming at low bitrates.

As for the crash - please, make a new report to: https://github.com/obsproject/obs-studio/issues (don't forget to post links to this thread as well).
This "Hybrid mp4" format is a new feature in OBS and in the "betas" it was set as default file format for output to catch possible implementation errors. So, you've catch the one :)
 

search

New Member
According to this table from NVIDIA (SDK v12.2):
4:4:4 for AV1 is not possible (for today) on Ada GPUs (I assume you are owner of GPU with code name AD102-300).
Here, 4:2:0 setting likely will work OK. It is AV1 Main profile.

In my opinion, for local recordings with constant quality - no benefits expected (over HEVC). Most benefits (AV1 over HEVC) are expected for streaming at low bitrates.

As for the crash - please, make a new report to: https://github.com/obsproject/obs-studio/issues (don't forget to post links to this thread as well).
This "Hybrid mp4" format is a new feature in OBS and in the "betas" it was set as default file format for output to catch possible implementation errors. So, you've catch the one :)
Thank you for letting me know about the AV1 specifications.

I see, it's not a bug in OBS, but the NVIDIA driver is not compatible.
Due to the specifications of the application I'm using,
it can only handle video files that are compatible with Windows.
I don't really want to use the HEVC format because it can't play the I444 format or the FLAC encoder,
and it uses more space than the AV1 format.
 

Suslik V

Active Member
OBS behavior was changed in (additional checks and bug fixes):
 

search

New Member
I have since installed the K-lite Codec Pack, but I was still unable to play I444 and BGRA in HEVC format.
Also, when recording with lossless settings, the AV1 format saves a lot of space compared to HEVC, so I plan to continue using the AV1 format in the future.
I hope AV1 supports 4:4:4 :)
 

Suslik V

Active Member
If only playback is needed then users usually use "mpv player" or "VLC media player" (if it makes any sense for you).

For capabilities of high end equipment + OBS, here on the forum, you may read threads where @rockbottom answered, other users are not verbose about theirs rig (I only remember that in the past @koala did nice test for encoders comparison at low bitrates). Maybe in Discord you may find more info, developers answering there time to time (the link is on the top of the page).
 

search

New Member
I knew about VLC Media Player, but I wanted to edit the videos in a video editing software, so I needed the K-lite Codec Pack.
 
Top