diff --git a/_guides/obs/high-quality-recording/amf.html b/_guides/obs/high-quality-recording/amf.html index bc6c6bb..39e7c07 100644 --- a/_guides/obs/high-quality-recording/amf.html +++ b/_guides/obs/high-quality-recording/amf.html @@ -6,37 +6,138 @@ comments: true date: "2022-01-13" --- -{% capture content %}For the unfortunate souls who bought an AMD GPU on the belief that AMD can fix their encoder via Drivers, unfortunately "Fine Wine™" only goes so far. AMDs encoder lacks features that other vendors had for years, and simply do not hold a candle to Intels and NVIDIAs encoder. Still, you're not quite out of luck, as you still have NV12 recording as an option, which limits you to High or Acceptable Quality.{% endcapture %}{% include blocks/paragraph.liquid content=content %} +

If you decided to go with the "Red" team instead of "Blue" or "Green", then unforunately you're a bit more limited in throughput, quality and features. While AMDs "Fine Wine" does often improve things, their hardware usually only has partial support for a certain standard, and encoding is no different. However you can still do many things with the hardware, and is by no means outdated or bad - it's just an unfortunate situation.

-{% include blocks/heading.liquid level=2 content="True Lossless" %} -{% capture content %}At the time of writing this, AMD does not have an encoder capable of 4:4:4 encoding.{% endcapture %}{% include blocks/paragraph.liquid content=content %} +

AV1

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionTrue LosslessNear LosslessIndistinguishableHigh QualityAcceptable Quality
Rate ControlCQP
CQ Level01 - 45 - 1011 - 1617 - 22+
ProfileSpeed
Max B-framesAny, but less may be faster
AMF/FFmpeg Optionspreanalysis=false filler_data=false skip_frame=false
Color Format4:4:44:4:4
-{% include blocks/heading.liquid level=2 content="Effective Lossless" %} -{% capture content %}At the time of writing this, AMD does not have an encoder capable of 4:4:4 encoding.{% endcapture %}{% include blocks/paragraph.liquid content=content %} + +
-{% include blocks/heading.liquid level=2 content="Visually Lossless" %} -{% capture content %}At the time of writing this, AMD does not have an encoder capable of 4:4:4 encoding.{% endcapture %}{% include blocks/paragraph.liquid content=content %} +

H265/HEVC

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionTrue LosslessNear LosslessIndistinguishableHigh QualityAcceptable Quality
Rate ControlN/ACQP
CQ Level5 - 1011 - 1617 - 22+
ProfileSpeed
Max B-framesAny, but less may be faster
AMF/FFmpeg Optionsprofile_tier=high preanalysis=false vbaq=false filler_data=false skip_frame=false
-{% include blocks/heading.liquid level=2 content="High Quality" %} -{% capture content %}As no AMD encoder supports 4:4:4, you're free to use NV12 here. Ensure your Color Format is set to NV12, Color Range to Full, and that your Color Space matches the content.{% endcapture %}{% include blocks/paragraph.liquid content=content %} -{% capture columns %} - {% capture column %} - {% include blocks/media.liquid type="image" url="https://cdn.xaymar.com/blog/2022/01/obs64_0HRbKNS2ZG.png" caption="H.264 CQP" %} - {% endcapture %}{% include blocks/column.liquid content=column %} - {% capture column %} - {% include blocks/media.liquid type="image" url="https://cdn.xaymar.com/blog/2022/01/obs64_PnMKEZtZck.png" caption="H.265 CQP" %} - {% endcapture %}{% include blocks/column.liquid content=column %} -{% endcapture %}{% include blocks/columns.liquid content=columns columns=2 %} + +
-{% include blocks/heading.liquid level=2 content="Acceptable Quality" %} -{% capture content %}As no AMD encoder supports 4:4:4, you're free to use NV12 here. Ensure your Color Format is set to NV12, Color Range to Full, and that your Color Space matches the content.{% endcapture %}{% include blocks/paragraph.liquid content=content %} -{% capture columns %} - {% capture column %} - {% include blocks/media.liquid type="image" url="https://cdn.xaymar.com/blog/2022/01/obs64_cz9EQNZQmB.png" caption="H.264 CQP" %} - {% endcapture %}{% include blocks/column.liquid content=column %} - {% capture column %} - {% include blocks/media.liquid type="image" url="https://cdn.xaymar.com/blog/2022/01/obs64_TXnfMbeCF2.png" caption="H.265 CQP" %} - {% endcapture %}{% include blocks/column.liquid content=column %} -{% endcapture %}{% include blocks/columns.liquid content=columns columns=2 %} +

H264/HEVC

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionTrue LosslessNear LosslessIndistinguishableHigh QualityAcceptable Quality
Rate ControlN/ACQP
CQ Level5 - 1011 - 1617 - 22+
ProfileSpeed
Max B-framesAny, but less may be faster
AMF/FFmpeg Optionsprofile_tier=high preanalysis=false vbaq=false filler_data=false skip_frame=false
-{% capture content %}{% include inline/link.liquid url="../" content="Back to the Guide" %}{% endcapture %}{% include blocks/paragraph.liquid align="center" content=content %} + +
+ +

Additional Information

+ + +

Back to the Guide

diff --git a/_guides/obs/high-quality-recording/nvenc.html b/_guides/obs/high-quality-recording/nvenc.html index 7593689..e216a3c 100644 --- a/_guides/obs/high-quality-recording/nvenc.html +++ b/_guides/obs/high-quality-recording/nvenc.html @@ -6,346 +6,425 @@ comments: true date: "2022-02-18" --- -{% capture content %}With {% include inline/link.liquid url="https://streamfx.xaymar.com/" content="StreamFX" %}'s NVENC you can achieve the quality targets in one of two ways: Constant Quantization Parameters (CQP) or Variable Bitrate with Constant Quality (VBR-CQ). Both have their own advantages and downsides, and it depends entirely on your requirements which one you should use. Modern {% include inline/link.liquid url="https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new" content="NVIDIA GPUs (Pascal and newer)" %} also all support 4:4:4 and 4:2:0 encoding at most of the quality levels shown here.{% endcapture %}{% include blocks/paragraph.liquid content=content %} +

The "Green" team has hardware capable of significantly more than the competition, and offers more flexibility in terms of configuration and quality. While not always the best in quality, and often optimizing for a different type of quality than would be expected, they are decent options with a variety of choices. NVIDIA has a good foundation in both live and offline content creation, and constantly aims to improve on this.

-{% include blocks/heading.liquid level=2 content="Constant Quantization Parameter (CQP)" %} -{% capture content %}Of the two methods available, CQP is by far the faster method, with hardly any noticable impact on other parts of the GPU. It also supports vastly higher framerates compared to the alternative method, thanks to NVIDIA optimizing their presets further. With the "Fastest (P1)" preset it is now possible to record 1920x1080 NV12 at nearly 460 FPS on an RTX 3080 or higher. Unfortunately none of my PCI-E SSDs, not even the PCI-E 4.0 from Samsung, managed to withstand the amount of data requested at once, so the exact upper limit is unknown.{% endcapture %}{% include blocks/paragraph.liquid content=content %} +

AV1

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionLosslessNear LosslessIndistinguishableHigh QualityAcceptable Quality
Rate ControlCQP
CQ Level01 - 45 - 1011 - 1617 - 22+
PresetP1: Fastest (Lowest Quality)
TuningHigh Quality
Multipass ModeSingle Pass
Profilemain
Look-aheadDisabled
Psycho Visual TuningDisabled
Max B-frames0
-{% capture content %} - - Option - Lossless - Near Lossless - Indistinguishable - High Quality - Acceptable Quality - - - - Preset - Fastest (P1) - - - Tune - Lossless - High Quality - - - H264 - - - Profile - High 4:4:4 Predictive - High 4:4:4 Predictive (when using I444)
High (when using NV12) - - - Level - Automatic - - - H265 - - - Profile - Main - - - Tier - High - - - Level - Automatic - - - Rate Control Options - - - Mode - Constant Quantization Parameter - - - Multi-Pass - Single Pass - - - Look Ahead - 0 frames - - - Adaptive I-Frames - Disabled - - - Adaptive B-Frames - Disabled - - - Quantization Parameters - - - I-Frame QP
P-Frame QP
B-Frame QP - 0 - 0 to 4 - 5 to 10 - 11 to 16 - 17 to 22 - - - Adaptive Quantization - - - Spatial Adaptive Quantization - Disabled - - - Temporal Adaptive Quantization - Disabled - - - Other Options - - - Maximum B-Frames - Any - - - B-Frame Reference Mode - Any - - - Zero Latency - Default - - - Weighted Prediction - Default - - - Non-reference P-Frames - Default - - - Reference Frames - -1 frames - - - Low Delay Key-Frame Scale - -1 - - - Key Frames - - - Interval Type - Frames - Frames
Seconds - - - Interval - 1 frame - 1 frame
0.5 seconds - - - OBS Studio Advanced Video Settings - - - Color Format - I444 - I444 or NV12 - - - Color Space - Identical to Input (sRGB on PC, Bt.709/sRGB for Console) - - - Color Range - Identical to Input (Full on PC, Partial on Console) - -{% endcapture %}{% include blocks/table.liquid content=content %} +

H265/HEVC (with StreamFX)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionLosslessNear LosslessIndistinguishableHigh QualityAcceptable Quality
PresetFastest (P1)
TuneLosslessHigh Quality
H265
ProfileMain
TierHigh
LevelAutomatic
Rate Control Options
ModeConstant Quantization Parameter
Multi-PassSingle Pass
Look Ahead0 frames
Adaptive I-FramesDisabled
Adaptive B-FramesDisabled
Quantization Parameters
I-Frame QP
P-Frame QP
B-Frame QP
00 to 45 to 1011 to 1617 to 22
Adaptive Quantization
Spatial Adaptive QuantizationDisabled
Temporal Adaptive QuantizationDisabled
Other Options
Maximum B-FramesAny
B-Frame Reference ModeAny
Zero LatencyDefault
Weighted PredictionDefault
Non-reference P-FramesDefault
Reference Frames-1 frames
Low Delay Key-Frame Scale-1
Key Frames
Interval TypeFramesAny
Interval1 frameAny
-{% include blocks/heading.liquid level=2 content="Variable Bitrate with Constant Quality (VBR-CQ)" %} -{% capture content %}The second method for recording is VBR-CQ, which is similar to x264's CRF but not a perfect match. While x264's CRF will improve with higher presets and lower CRF values, NVENC's VBR-CQ has a flat ceiling that simply can't be bypassed, no matter what settings are applied. Still, it has its uses for Indistinguishable, High quality and Acceptable Quality recordings. Performance wise it is far slower and has much more impact on the machine, so it should not be used for Single-PC setups.{% endcapture %}{% include blocks/paragraph.liquid content=content %} +

H265/HEVC

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionLosslessNear LosslessIndistinguishableHigh QualityAcceptable Quality
Rate ControlCQP
CQ Level01 - 45 - 1011 - 1617 - 22+
PresetP1: Fastest (Lowest Quality)
TuningHigh Quality
Multipass ModeSingle Pass
Profilemain (for 8bit)
main10 (for 10bit)
Look-aheadDisabled
Psycho Visual TuningDisabled
Max B-frames0
-{% capture content %} - - Option - Indistinguishable - High Quality - Acceptable Quality - - - - Preset - Medium (P4) or slower - - - Tune - High Quality - - - H264 - - - Profile - High 4:4:4 Predictive (when using I444)
High (when using NV12) - - - Level - Automatic - - - H265 - - - Profile - Main - - - Tier - High - - - Level - Automatic - - - Rate Control Options - - - Mode - Variable Bitrate - - - Multi-Pass - Two Pass at Quarter Resolution
or: Two Pass at Full Resolution - - - Look Ahead - 32 frames - - - Adaptive I-Frames - Enabled - - - Adaptive B-Frames - Enabled - - - Limits - - - Target Quality - 1.00 to 10.99 - 11.00 to 17.99 - 17.00 to 22.99 - - - Target Bitrate - 0 kbit/s - - - Maximum Bitrate - 0 kbit/s - - - Buffer Size - 0 kbit - - - Quantization Parameters - - - Minimum QP
Maximum QP - -1 - - - I-Frame QP
P-Frame QP
B-Frame QP - -1 - - - Adaptive Quantization - - - Spatial Adaptive Quantization - Enabled - - - Spatial Adaptive Quantization Strength - 1 (Lowest) to 15 (Highest) - - - Temporal Adaptive Quantization - Enabled - - - Other Options - - - Maximum B-Frames - As many as your GPU supports - - - B-Frame Reference Mode - Each if supported
Half if supported
None in any other case - - - Zero Latency - Default - - - Weighted Prediction - Default - - - Non-reference P-Frames - Enabled - - - Reference Frames - As many as your GPU supports - - - Low Delay Key-Frame Scale - -1 - - - Key Frames - - - Interval Type - Seconds - - - Interval - 1.00 seconds or more - - - OBS Studio Advanced Video Settings - - - Color Format - I444 or NV12 - - - Color Space - Identical to Input (sRGB on PC, Bt.709/sRGB for Console) - - - Color Range - Identical to Input (Full on PC, Partial on Console) - -{% endcapture %}{% include blocks/table.liquid content=content %} +

H264/AVC (with StreamFX)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionLosslessNear LosslessIndistinguishableHigh QualityAcceptable Quality
PresetFastest (P1)
TuneLosslessHigh Quality
H264
ProfileHigh 4:4:4 PredictiveHigh 4:4:4 Predictive (when using I444)
High (when using NV12)
LevelAutomatic
LevelAutomatic
Rate Control Options
ModeConstant Quantization Parameter
Multi-PassSingle Pass
Look Ahead0 frames
Adaptive I-FramesDisabled
Adaptive B-FramesDisabled
Quantization Parameters
I-Frame QP
P-Frame QP
B-Frame QP
00 to 45 to 1011 to 1617 to 22
Adaptive Quantization
Spatial Adaptive QuantizationDisabled
Temporal Adaptive QuantizationDisabled
Other Options
Maximum B-FramesAny
B-Frame Reference ModeAny
Zero LatencyDefault
Weighted PredictionDefault
Non-reference P-FramesDefault
Reference Frames-1 frames
Low Delay Key-Frame Scale-1
Key Frames
Interval TypeFramesAny
Interval1 frameAny
-{% include blocks/heading.liquid level=2 content="Additional Information" %} -{% capture list %} -
  • Multi-Pass at Full Resolution is a new option, and has measurably increased quality in VBR-CQ. However, it is very expensive and should be the first option changed if performance is a problem.
  • -
  • Look Ahead in VBR-CQ can be freely adjusted as needed, as long as it is not lower than the number of B-Frames and Reference Frames.
  • -
  • Adaptive B-Frames is required for VBR-CQ, as B-Frames can both increase and decrease quality if used in the wrong place.
  • -
  • Stronger Spatial Adaptive Quantization will focus more bitrate towards visually complex areas, but may starve smoother areas of the bitrate it needs.
  • -
  • The Key Frames Interval can be freely adjusted for anything but Lossless, as I-only encoding is required to guarantee the least data loss.
  • -
  • The old presets were deprecated by NVIDIA and now map to the new P1-P7 presets, which come with massive performance or quality boosts. High Quality is now Medium (P4), while High Performance is closer to Faster (P2).
  • -{% endcapture %}{% include blocks/list.liquid content=list %} +

    H264/AVC

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    OptionLosslessNear LosslessIndistinguishableHigh QualityAcceptable Quality
    Rate ControlCQP
    CQ Level01 - 45 - 1011 - 1617 - 22+
    PresetP1: Fastest (Lowest Quality)
    TuningHigh Quality
    Multipass ModeSingle Pass
    Profilehigh
    Look-aheadDisabled
    Psycho Visual TuningDisabled
    Max B-frames0
    -{% capture content %}{% include inline/link.liquid url="../" content="Back to the Guide" %}{% endcapture %}{% include blocks/paragraph.liquid align="center" content=content %} +

    Additional Information

    + + +

    Back to the Guide

    diff --git a/_layouts/index_collections.liquid b/_layouts/index_collections.liquid index 08cc361..de7c89c 100644 --- a/_layouts/index_collections.liquid +++ b/_layouts/index_collections.liquid @@ -2,7 +2,7 @@ {% include page_content.liquid %} {% include breadcrumbs.liquid title=page.title permalink=page.url %}
    -{% for data in paginator.posts %}Hello World +{% for data in paginator.posts %} {% if site.xaymar.index.excerpt.enabled %} {% assign content=data.excerpt | strip_html | normalize_whitespace | truncatewords: site.xaymar.index.excerpt.length %} {% else %} diff --git a/_projects/obs/streamfx.html b/_projects/obs/streamfx.html index 5455ecf..2495807 100644 --- a/_projects/obs/streamfx.html +++ b/_projects/obs/streamfx.html @@ -6,7 +6,7 @@ date: "2022-02-25" ---
    - +
    Official Icon (All Rights Reserved)
    diff --git a/_projects/obs/streamfx/icon.png b/_projects/obs/streamfx/icon.png new file mode 100644 index 0000000..61a660b Binary files /dev/null and b/_projects/obs/streamfx/icon.png differ diff --git a/_projects/obs/streamfx/icon.svg b/_projects/obs/streamfx/icon.svg deleted file mode 100644 index d308ea2..0000000 --- a/_projects/obs/streamfx/icon.svg +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - FX - Stream - -