open-webrtc-toolkit / owt-server

General server (streaming/conference/transcoding/anayltics) for OWT. (A.k.a. MediaServer)
https://01.org/open-webrtc-toolkit
Apache License 2.0
1.13k stars 369 forks source link

video-agent not support mix h265 #373

Open webbwu opened 4 years ago

webbwu commented 4 years ago

2019-11-14 17:56:31,890 - INFO: mcu.media.VideoMixer - Init maxInput(16), rootSize(640, 480), bgColor(16, 128, 128) 2019-11-14 17:56:31,890 - DEBUG: mcu.media.SoftVideoCompositor.SoftFrameGenerator - (0x33474f0)Support fps max(60), min(15) 2019-11-14 17:56:31,890 - DEBUG: mcu.media.SoftVideoCompositor.SoftFrameGenerator - (0x33474f0)hardware concurrency 16, parallel composition num 8 2019-11-14 17:56:31,891 - DEBUG: mcu.media.SoftVideoCompositor.SoftFrameGenerator - (0x334aba0)Support fps max(48), min(6) 2019-11-14 17:56:31,891 - DEBUG: mcu.media.SoftVideoCompositor.SoftFrameGenerator - (0x334aba0)hardware concurrency 16, parallel composition num 8 2019-11-14 17:56:31.892 - DEBUG: VideoNode - Video engine init OK, supported_codecs: { decode: [ 'vp8', 'vp9', 'h264', 'h265' ], encode: [ 'vp8', 'vp9', 'h264_CB', 'h264_B', 'h265' ] } 2019-11-14 17:56:31.967 - DEBUG: AmqpClient - New message received { method: 'generate', args: [ 'h265', { height: 480, width: 640 }, 24, 'unspecified', 100 ], corrID: 9, replyTo: 'amq.gen-AwNk0kMrftDXf8vfC2yxmw' } 2019-11-14 17:56:31.968 - DEBUG: VideoNode - generate, codec: h265 resolution: { height: 480, width: 640 } framerate: 24 bitrate: unspecified keyFrameInterval: 100 2019-11-14 17:56:31.968 - DEBUG: VideoNode - addOutput: codec h265 resolution: { height: 480, width: 640 } framerate: 24 bitrate: 499.20000000000005 keyFrameInterval: 100 2019-11-14 17:56:31.968 - ERROR: VideoNode - Failed in adding output to video-engine 2019-11-14 17:57:01.979 - DEBUG: AmqpClient - New message received { method: 'deinit', args: [ '82080736569593204521' ], corrID: 22, replyTo: 'amq.gen-AwNk0kMrftDXf8vfC2yxmw' } 2019-11-14 17:57:01,980 - DEBUG: mcu.media.VideoMixer - closeAll 2019-11-14 17:57:01,980 - DEBUG: mcu.media.VideoMixer - Closed all media in this Mixer 2019-11-14 17:57:01,980 - DEBUG: mcu.media.SoftVideoCompositor.SoftFrameGenerator - (0x33474f0)Exit 2019-11-14 17:57:01,980 - DEBUG: mcu.media.SoftVideoCompositor.SoftFrameGenerator - (0x334aba0)Exit 2019-11-14 17:57:01.982 - WARN: WorkingNode - Exiting on SIGTERM

all logs changed to debug and no other error logs

daijh commented 4 years ago

owt-sever VideoMixer support HEVC in:

  1. hardware mcu mode on skylake+, with MSDK installed
  2. software mcu mode with SVT-HEVC

And Enable HEVC in/out in configuration console.

Refer to below for SVT-HEVC: https://github.com/open-webrtc-toolkit/owt-server/blob/master/doc/servermd/Server.md 2.3.6 Deploy SVT-HEVC Encoder Library {#Conferencesection2_3_6}

webbwu commented 4 years ago

SVT-HEVC is installed and configuration include h265, What's in the log is the error above.

cisco66666 commented 4 years ago

Is the system you use ubuntu? Currently supports h265 only hw and sw ubuntu

webbwu commented 4 years ago

Is the system you use ubuntu? Currently supports h265 only hw and sw ubuntu

the system is centos,test it later using ubuntu. thank you