ossrs / srs

SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
25.32k stars 5.33k forks source link

WebRTC: Compatibility problem with AMD GPU Encoder (AMD HW H.264) #4130

Open Diras226 opened 1 month ago

Diras226 commented 1 month ago

While streaming with an AMD GPU Encoder (AMD HW H.264) occasionally it comes to encoding errors. This leads to sound cracks and stream buffering.

Version SRS:6

To Reproduce Steps to reproduce the behavior:

  1. Start stream via OBS with AMD HW H.264 Encoder.
  2. Wait until error occurs.
  3. Logs state the decoding error.

Expected behavior Stream encoding should work without any errors.

Screenshots

AMD_HW_H264_OBS_SETTINGS

AMD_HW_H264_Decoding_Error

winlinvip commented 1 month ago

Could you provide full log of id nw1ds1z9? And please never skip config and detail version of SRS.

Diras226 commented 1 month ago

I don't think i have this log anymore. Where can i find it when i am running in docker? I guess i have to log to file not only stdout?