ossrs / srs

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

Does SRS 6 support RTMP push streaming with H265? #3859

Closed jiangbo closed 6 months ago

jiangbo commented 8 months ago

Describe the bug We are using the container version of SRS, with the container address: registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6. When using OBS to stream, the streaming address is RTMP protocol, and the video encoder selected is HEVC, but the video cannot be played. Without changing any other settings, just changing the video encoder to X264, the video can be played normally. Does the container version of SRS 6 support H265 by default?

Version [2023-11-02 10:59:30.043][INFO][1][583k9246] XCORE-SRS/6.0.59(Bee)

To Reproduce Steps to reproduce the behavior:

  1. Deploy the container version of SRS.
  2. Use OBS to stream, using the RTMP protocol, and change the video encoder to HEVC.
  3. Use the RTC player to play the video, but the video cannot be played.

Expected behavior The video can be played normally.

Screenshots None

Additional context None

TRANS_BY_GPT4

laurfb commented 8 months ago

Yes! :)

srs_rtmp_h265

regards, Laur