OBS cannot encode greater then 8-bit

rockbottom

Active Member
Interesting, using the Standard Output, no dice.

General​

Unique ID :214823036276540152674324951467791938575 (0xA19D696DC041C4DCB229487F0742F40F)
Complete name :D:\2025-09-10_12-45-02.mkv
Format :Matroska
Format version :Version 4
File size :3.81 MiB
Duration :3 s 754 ms
Overall bit rate :8 508 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 :HEVC
Format/Info :High Efficiency Video Coding
Format profile :Main 10@L4.1@Main
Codec ID :V_MPEGH/ISO/HEVC
Duration :3 s 750 ms
Bit rate :6 035 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.049
Stream size :2.70 MiB (71%)
Default :No
Forced :No
Color range :Limited
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 754 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 :1.03 MiB (27%)
Title :Track1
Default :No
Forced :No
 

rockbottom

Active Member
Video Encoder settings I was using in the Custom Output. The input/output bit-depth options did not work.

rgb_mode=yuv444 inputbitdepth=8 outputbitdepth=10 preset=p6 tune=hq profile=1 level=5.0 tier=high rc=constqp qp=15 rc-lookahead=0 bf=0 b_ref_mode=0 multipass=qres

12:12:58.127: ------------------------------------------------
12:13:00.403: Failed to set inputbitdepth=8
12:13:00.403: Failed to set outputbitdepth=10
12:13:00.544: signal_handler_connect: signal 'file_changed' not found
12:13:00.546: ==== Recording Start ===============================================
12:13:03.513: Output 'adv_ffmpeg_output': stopping
12:13:03.513: Output 'adv_ffmpeg_output': Total frames output: 177
12:13:03.513: Output 'adv_ffmpeg_output': Total drawn frames: 187
12:13:03.514: ==== Recording Stop ================================================
 

rockbottom

Active Member
Back to the custom out. Color Space is now set to Rec. 2100 (PQ) & Color Range is Full.

General​

Complete name :D:\2025-09-10_13-00-56.mov
Format :MPEG-4
Format profile :QuickTime
Codec ID :qt 0000.02 (qt )
File size :10.8 MiB
Duration :5 s 78 ms
Overall bit rate :17.9 Mb/s
Frame rate :60.000 FPS
Writing application :Lavf61.1.100


Video​

ID :1
Format :HEVC
Format/Info :High Efficiency Video Coding
Format profile :Format Range@L5@High
HDR format :SMPTE ST 2086, HDR10 compatible
Codec ID :hev1
Codec ID/Info :High Efficiency Video Coding
Duration :5 s 67 ms
Bit rate :15.6 Mb/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:4:4
Bit depth :10 bits
Bits/(Pixel*Frame) :0.125
Stream size :9.42 MiB (87%)
Color range :Full
Color primaries :BT.2020
Transfer characteristics :PQ
Matrix coefficients :BT.2020 non-constant
Mastering display color primaries :Display P3
Mastering display luminance :min: 0.0000 cd/m2, max: 1003 cd/m2
Maximum Content Light Level :1003 cd/m2
Maximum Frame-Average Light Level :1003 cd/m2
Codec configuration box :hvcC


Audio​

ID :2
Format :PCM
Format settings :Little / Signed
Codec ID :in24
Duration :5 s 78 ms
Bit rate mode :Constant
Bit rate :2 304 kb/s
Channel(s) :2 channels
Channel layout :L R
Sampling rate :48.0 kHz
Bit depth :24 bits
Stream size :1.39 MiB (13%)
Default :Yes
Alternate group :1
 

PaiSand

Active Member
Notice that you used MKV container on the simple output and MOV on the advanced output.
Perhaps a limitation of the container or how the encoder works for this containers?
 

rockbottom

Active Member
Already tested both containers with the same result.

It seems to work A-OK in the Custom Out but not in Standard.

When I switched the Color Space to Rec. 2100 (PQ), the encoder throws the errors Pete mentioned in his first post when in Standard only.
 

lizardpeter

New Member
Can we get a developer to comment on this? If it's already working with custom output, I don't see why it would be too much effort to enable it (or fix it?) in the standard/advanced output.
 

rockbottom

Active Member
Lazy

Anyway, I only tested that it worked. Further testing needs to be done. I did not bother to check color retention or accuracy. I figured you could do it while you're trying to get it to work on your side.
 
Top