Skip to content

AMD hardware encoding encountered the error "amf_encode_tex: SubmitInput failed: AMF_FAIL" #13489

@Mangomm

Description

@Mangomm

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

Other

OBS Studio Version (Other)

OBS 30.2.2 (64-bit, windows)

OBS Studio Log URL

https://obsproject.com/logs/ig5PUj3JpKAccmnK

OBS Studio Crash Log URL

No response

Expected Behavior

The OBS can properly encode and stream the content.

Current Behavior

When I used OBS to stream video at a resolution of 2560x1600 to the ZLM streaming server via RTMP, an encoding error occurred. The error message was:
11:36:30.987: [texture-amf-h264: 'advanced_video_stream'] amf_encode_tex: SubmitInput failed: AMF_FAIL
Laptop configuration:
Resolution: 2560x1600;
Hardware graphics card model: AMD Radeon(TM) Vega 8 Graphics;

Note that when I changed the display resolution of my laptop to 1920x1080p (right-click on the desktop -> select Display Settings -> modify resolution), this problem did not occur and OBS could encode normally again. I'm not sure if this is because the graphics card only supports 1920x1080p and not 2560x1600.

Steps to Reproduce

Note: The following steps may not be applicable to every AMD graphics card. I only encountered this for the first time when the graphics card model was AMD Radeon(TM) Vega 8 Graphics;

  1. Open OBS, select Settings -> Live Streaming, add the streaming address, for example, my rtmp://192.168.1.117/live, tyy;
  2. Settings -> Output, select AMD H264 as the video encoder and disable re-scaling;
  3. Settings -> Video, select 2560x1600 as both the basic resolution and the output resolution;
  4. Apply and save;
  5. Then start the live streaming;
    Then an encoding error will occur: amf_encode_tex: SubmitInput failed: AMF_FAIL

Anything else we should know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions