Bug Report Color Format setting gets ignored

TryHD

Member
Hello,

i tryed to record in RGB which works fine with dytory and x264 but OBS does ignore this setting.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo version="0.7.87">
<File>
<track type="General">
<Complete_name>D:\Video\2016-07-19 20-00-29.flv</Complete_name>
<Format>Flash Video</Format>
<File_size>20.1 MiB</File_size>
<Duration>9s 59ms</Duration>
<Overall_bit_rate>18.6 Mbps</Overall_bit_rate>
<Writing_application>Lavf57.41.100</Writing_application>
</track>

<track type="Video">
<Format>AVC</Format>
<Format_Info>Advanced Video Codec</Format_Info>
<Format_profile>Baseline@L4.2</Format_profile>
<Format_settings__CABAC>No</Format_settings__CABAC>
<Format_settings__ReFrames>1 frame</Format_settings__ReFrames>
<Codec_ID>7</Codec_ID>
<Duration>9s 59ms</Duration>
<Bit_rate>18.0 Mbps</Bit_rate>
<Width>1 920 pixels</Width>
<Height>1 080 pixels</Height>
<Display_aspect_ratio>16:9</Display_aspect_ratio>
<Frame_rate_mode>Constant</Frame_rate_mode>
<Frame_rate>59.880 fps</Frame_rate>
<Original_frame_rate>59.940 (60000/1001) fps</Original_frame_rate>
<Color_space>YUV</Color_space>
<Chroma_subsampling>4:2:0</Chroma_subsampling>
<Bit_depth>8 bits</Bit_depth>
<Scan_type>Progressive</Scan_type>
<Bits__Pixel_Frame_>0.145</Bits__Pixel_Frame_>
<Stream_size>19.4 MiB (97%)</Stream_size>
<Writing_library>x264 core 148 r2705 3f5ed56</Writing_library>
<Encoding_settings>cabac=0 / ref=1 / deblock=0:0:0 / analyse=0:0 / me=dia / subme=0 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=0 / intra_refresh=0 / rc_lookahead=0 / rc=cbr / mbtree=0 / bitrate=18000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=18000 / vbv_bufsize=18000 / nal_hrd=none / filler=1 / ip_ratio=1.40 / aq=0</Encoding_settings>
<Color_range>Limited</Color_range>
<Color_primaries>BT.709</Color_primaries>
<Transfer_characteristics>BT.709</Transfer_characteristics>
<Matrix_coefficients>BT.709</Matrix_coefficients>
</track>

<track type="Audio">
<Format>AAC</Format>
<Format_Info>Advanced Audio Codec</Format_Info>
<Format_profile>LC</Format_profile>
<Codec_ID>10</Codec_ID>
<Duration>9s 56ms</Duration>
<Bit_rate>156 Kbps</Bit_rate>
<Channel_s_>2 channels</Channel_s_>
<Channel_positions>Front: L R</Channel_positions>
<Sampling_rate>44.1 KHz</Sampling_rate>
<Frame_rate>43.066 fps (1024 spf)</Frame_rate>
<Compression_mode>Lossy</Compression_mode>
<Stream_size>173 KiB (1%)</Stream_size>
</track>

</File>
</Mediainfo>

Code:
<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo version="0.7.87">
<File>
<track type="General">
<CompleteName>D:\Video\TmForever 2016-07-19 20-06-46-401.avi</CompleteName>
<Format>AVI</Format>
<Format_Info>Audio Video Interleave</Format_Info>
<FileSize_String>514 MiB</FileSize_String>
<Duration_String>26s 567ms</Duration_String>
<OverallBitRate_String>162 Mbps</OverallBitRate_String>
<OriginalSourceForm_DistributedBy>Video:x264vfw - H.264/MPEG-4 AVC codec</OriginalSourceForm_DistributedBy>
<Encoded_Application_String>DxtoryCore ver2.0.0.133</Encoded_Application_String>
</track>

<track type="Video">
<ID_String>0</ID_String>
<Format>AVC</Format>
<Format_Info>Advanced Video Codec</Format_Info>
<Format_Profile>High 4:4:4 Predictive@L5</Format_Profile>
<Format_Settings_CABAC_String>No</Format_Settings_CABAC_String>
<Format_Settings_RefFrames_String>1 frame</Format_Settings_RefFrames_String>
<CodecID>X264</CodecID>
<CodecID_Info>XiWave GNU GPL x264 MPEG-4</CodecID_Info>
<Duration_String>26s 567ms</Duration_String>
<BitRate_String>162 Mbps</BitRate_String>
<Width_String>2 560 pixels</Width_String>
<Height_String>1 440 pixels</Height_String>
<DisplayAspectRatio_String>16:9</DisplayAspectRatio_String>
<FrameRate_String>30.000 fps</FrameRate_String>
<FrameRate_Original_String>25.000 fps</FrameRate_Original_String>
<ColorSpace>RGB</ColorSpace>
<BitDepth_String>8 bits</BitDepth_String>
<ScanType_String>Progressive</ScanType_String>
<Bits_Pixel_Frame_>1.466</Bits_Pixel_Frame_>
<StreamSize_String>514 MiB (100%)</StreamSize_String>
<Encoded_Library_String>x264 core 148 r2694bm 3b70645</Encoded_Library_String>
<Encoded_Library_Settings>cabac=0 / ref=1 / deblock=0:0:0 / analyse=0:0 / me=dia / subme=0 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=0 / intra_refresh=0 / rc=crf / mbtree=0 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=0</Encoded_Library_Settings>
<colour_range>Full</colour_range>
<matrix_coefficients>RGB</matrix_coefficients>
</track>

</File>
</Mediainfo>
 

H4ndy

Forum Moderator
Oh it does.
20:28:13.438: format: RGBA
20:28:13.439: GPU conversion not available for format: 6

Your GPU does not support recording in RGB with OBS. Try I444 with Color Range "Full".
 

H4ndy

Forum Moderator
RGB does not work, but I444 does. Not sure if it needs something special to work or if its a bug.
 

Osiris

Active Member
We are not at post one again, we now have more info about why RGBA recording fails.
Ive tested it before with a GTX 770 and i believe it worked, i'll check it again when im able to.
 
x264 cannot do RGB it can only do I444 and only in lossless mode "qp=0" (high444 profile)

otherwise it's always 4:2:0 (= I420 or NV12)
 

Osiris

Active Member
Yeah, RGB only works when using the lossless quality preset in simple mode, since it's using utvideo.
 
Top