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
25.16k stars 5.31k forks source link

After compiling with srs6.0.45, it shows that HEVC is disabled. #3602

Closed channerchen closed 1 year ago

channerchen commented 1 year ago

Note: Please read FAQ before file an issue, see #2716

Description

After entering "./configure", it prompts that hevc is disabled.

The OBS cannot push hevc stream.

  1. SRS Version: 6.0.45

  2. SRS Log: HLS is enabled. Experiment: StreamConverter is enabled. Warning: HDS is disabled. Warning: GB28181 is disabled. Warning: HEVC/H.265 is disabled.

[2023-06-26 11:10:16.428][INFO][88165][8ipuq8x2] TCP: before dispose resource(RtmpConn)(0x7ff54804ffe0), conns=1, zombies=0, ign=0, inz=0, ind=0 [2023-06-26 11:10:16.428][ERROR][88165][8ipuq8x2][4] serve error code=3001(HlsDecode)(HLS decode av stream failed) : service cycle : rtmp: stream service : rtmp: receive thread : handle publish message : rtmp: consume message : rtmp: consume video : format consume video : only support video H.264/H.265, actual=12 thread [88165][8ipuq8x2]: do_cycle() [./src/app/srs_app_rtmp_conn.cpp:263][errno=4] thread [88165][8ipuq8x2]: service_cycle() [./src/app/srs_app_rtmp_conn.cpp:457][errno=4] thread [88165][8ipuq8x2]: do_publishing() [./src/app/srs_app_rtmp_conn.cpp:1031][errno=11] thread [88165][8ipuq8x2]: consume() [./src/app/srs_app_recv_thread.cpp:380][errno=11] thread [88165][8ipuq8x2]: handle_publish_message() [./src/app/srs_app_rtmp_conn.cpp:1186][errno=11] thread [88165][8ipuq8x2]: process_publish_message() [./src/app/srs_app_rtmp_conn.cpp:1214][errno=11] thread [88165][8ipuq8x2]: on_video_imp() [./src/app/srs_app_source.cpp:2432][errno=11] thread [88165][8ipuq8x2]: video_avc_demux() [./src/kernel/srs_kernel_codec.cpp:931][errno=11](Interrupted system call)

You can build SRS: " make " to build the SRS server " make help " to get some help

  1. SRS Config:

conf/hevc.flv.conf

May I ask how to edit a version that supports HEVC?

TRANS_BY_GPT3