So apparently channels dvr chokes when sending multiple streams to the web ui on different client machines. Logs below
2f797022-bf13-421c-a6e6-ddd5381a3d5e
h264_amf
[Parsed_testsrc_0 @ 0x11215f00] size:1280x720 rate:60/1 duration:-1.000000 sar:1/1 Input #0, lavfi, from 'testsrc=size=1280x720:rate=60': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: wrapped_avframe, 1 reference frame, rgb24, 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 60 tbn Stream mapping: Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_amf)) Press [q] to stop, [?] for help [graph 0 input from stream 0:0 @ 0x1121cd80] w:1280 h:720 pixfmt:rgb24 tb:1/60 fr:60/1 sar:1/1 [auto_scale_0 @ 0x1121dec0] w:iw h:ih flags:'' interl:0 [format @ 0x1121d840] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_null_0' and the filter 'format' [auto_scale_0 @ 0x1121dec0] w:1280 h:720 fmt:rgb24 sar:1/1 -> w:1280 h:720 fmt:yuv420p sar:1/1 flags:0x00000004 [h264_amf @ 0x11219fc0] DLL libamfrt64.so.1 failed to open [vost#0:0/h264_amf @ 0x112198c0] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Terminating demuxer thread 0 Conversion failed!
exit status 1
h264_nvenc
[Parsed_testsrc_0 @ 0x185baf00] size:1280x720 rate:60/1 duration:-1.000000 sar:1/1 Input #0, lavfi, from 'testsrc=size=1280x720:rate=60': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: wrapped_avframe, 1 reference frame, rgb24, 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 60 tbn Stream mapping: Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_nvenc)) Press [q] to stop, [?] for help [graph 0 input from stream 0:0 @ 0x185dc6c0] w:1280 h:720 pixfmt:rgb24 tb:1/60 fr:60/1 sar:1/1 [auto_scale_0 @ 0x185dd800] w:iw h:ih flags:'' interl:0 [format @ 0x185dd140] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_null_0' and the filter 'format' [auto_scale_0 @ 0x185dd800] w:1280 h:720 fmt:rgb24 sar:1/1 -> w:1280 h:720 fmt:gbrp sar:1/1 flags:0x00000004 [h264_nvenc @ 0x185bec00] Loaded Nvenc version 13.0 [h264_nvenc @ 0x185bec00] Nvenc initialized successfully [h264_nvenc @ 0x185bec00] 1 CUDA capable devices found [h264_nvenc @ 0x185bec00] [ GPU #0 - < NVIDIA RTX 4000 Ada Generation > has Compute SM 8.9 ] [h264_nvenc @ 0x185bec00] supports NVENC Output #0, null, to '/dev/null': Metadata: encoder : Lavf60.3.100 Stream #0:0: Video: h264 (High 4:4:4 Predictive), 1 reference frame, gbrp(pc, gbr/unknown/unknown, progressive), 1280x720 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 4000 kb/s, 60 fps, 60 tbn Metadata: encoder : Lavc60.3.100 h264_nvenc Side data: cpb: bitrate max/min/avg: 6000000/0/4000000 buffer size: 8000000 vbv_delay: N/A No more output streams to write to, finishing. [out#0/null @ 0x185be1c0] All streams finished [out#0/null @ 0x185be1c0] Terminating muxer thread frame= 60 fps=0.0 q=21.0 Lsize=N/A time=00:00:00.93 bitrate=N/A speed=1.29x [AVIOContext @ 0x185b8a00] Statistics: 618 bytes written, 0 seeks, 3 writeouts video:235kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (testsrc=size=1280x720:rate=60): Input stream #0:0 (video): 61 packets read (29280 bytes); 61 frames decoded; Total: 61 packets (29280 bytes) demuxed Output file #0 (/dev/null): Output stream #0:0 (video): 60 frames encoded; 60 packets muxed (240995 bytes); Total: 60 packets (240995 bytes) muxed [h264_nvenc @ 0x185bec00] Nvenc unloaded Terminating demuxer thread 0
success in 956ms
h264_nvenc+deint
[Parsed_testsrc_0 @ 0x2f2c10c0] size:1280x720 rate:60/1 duration:-1.000000 sar:1/1 [auto_scale_0 @ 0x2f2c30c0] w:iw h:ih flags:'' interl:0 [Parsed_tinterlace_1 @ 0x2f2c1500] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_testsrc_0' and the filter 'Parsed_tinterlace_1' [auto_scale_0 @ 0x2f2c30c0] w:1280 h:720 fmt:rgb24 sar:1/1 -> w:1280 h:720 fmt:yuv444p sar:1/1 flags:0x00000004 [Parsed_tinterlace_1 @ 0x2f2c1500] mode:1 filter:off h:720 -> h:720 Input #0, lavfi, from 'testsrc=size=1280x720:rate=60,tinterlace=mode=1': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: wrapped_avframe, 1 reference frame, yuv444p, 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 30 tbn Stream mapping: Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_nvenc)) Press [q] to stop, [?] for help [graph 0 input from stream 0:0 @ 0x30122800] w:1280 h:720 pixfmt:yuv444p tb:1/30 fr:30/1 sar:1/1 [Parsed_scale_cuda_2 @ 0x30121d40] w:1280 h:720 fmt:yuv444p -> w:720 h:1280 fmt:yuv444p [h264_nvenc @ 0x2f718040] Using input frames context (format cuda) with h264_nvenc encoder. [h264_nvenc @ 0x2f718040] Loaded Nvenc version 13.0 [h264_nvenc @ 0x2f718040] Nvenc initialized successfully Output #0, null, to '/dev/null': Metadata: encoder : Lavf60.3.100 Stream #0:0: Video: h264 (High 4:4:4 Predictive), 1 reference frame, cuda(tv, progressive), 720x1280 (0x0) [SAR 256:81 DAR 16:9], q=2-31, 4000 kb/s, 60 fps, 60 tbn Metadata: encoder : Lavc60.3.100 h264_nvenc Side data: cpb: bitrate max/min/avg: 6000000/0/4000000 buffer size: 8000000 vbv_delay: N/A [null @ 0x2f717740] pts (2) < dts (3) in stream 0 [null @ 0x2f717740] pts (10) < dts (11) in stream 0 [null @ 0x2f717740] pts (18) < dts (19) in stream 0 No more output streams to write to, finishing. [null @ 0x2f717740] pts (26) < dts (27) in stream 0 [null @ 0x2f717740] pts (34) < dts (35) in stream 0 [null @ 0x2f717740] pts (42) < dts (43) in stream 0 [null @ 0x2f717740] pts (50) < dts (51) in stream 0 [out#0/null @ 0x2f717640] All streams finished [out#0/null @ 0x2f717640] Terminating muxer thread frame= 30 fps=0.0 q=11.0 Lsize=N/A time=00:00:00.91 bitrate=N/A speed=3.55x [AVIOContext @ 0x2f2bea00] Statistics: 398 bytes written, 0 seeks, 2 writeouts video:68kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (testsrc=size=1280x720:rate=60,tinterlace=mode=1): Input stream #0:0 (video): 31 packets read (14880 bytes); 31 frames decoded; Total: 31 packets (14880 bytes) demuxed Output file #0 (/dev/null): Output stream #0:0 (video): 30 frames encoded; 30 packets muxed (69805 bytes); Total: 30 packets (69805 bytes) muxed [h264_nvenc @ 0x2f718040] Nvenc unloaded Terminating demuxer thread 0
success in 631ms
h264_nvenc+scaler
[Parsed_testsrc_0 @ 0x25128f00] size:1280x720 rate:60/1 duration:-1.000000 sar:1/1 Input #0, lavfi, from 'testsrc=size=1280x720:rate=60': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: wrapped_avframe, 1 reference frame, rgb24, 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 60 tbn Stream mapping: Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_nvenc)) Press [q] to stop, [?] for help [graph 0 input from stream 0:0 @ 0x25b3fc80] w:1280 h:720 pixfmt:rgb24 tb:1/60 fr:60/1 sar:1/1 [auto_scale_0 @ 0x25b411c0] w:iw h:ih flags:'' interl:0 [trim_in_0_0 @ 0x25b40000] auto-inserting filter 'auto_scale_0' between the filter 'graph 0 input from stream 0:0' and the filter 'trim_in_0_0' [auto_scale_0 @ 0x25b411c0] w:1280 h:720 fmt:rgb24 sar:1/1 -> w:1280 h:720 fmt:rgb0 sar:1/1 flags:0x00000004 [Parsed_scale_cuda_1 @ 0x25b3f3c0] w:1280 h:720 fmt:rgb0 -> w:720 h:1280 fmt:rgb0 [h264_nvenc @ 0x2512cc00] Using input frames context (format cuda) with h264_nvenc encoder. [h264_nvenc @ 0x2512cc00] Loaded Nvenc version 13.0 [h264_nvenc @ 0x2512cc00] Nvenc initialized successfully Output #0, null, to '/dev/null': Metadata: encoder : Lavf60.3.100 Stream #0:0: Video: h264 (High), 1 reference frame, cuda(pc, gbr/unknown/unknown, progressive), 720x1280 (0x0) [SAR 256:81 DAR 16:9], q=2-31, 4000 kb/s, 60 fps, 60 tbn Metadata: encoder : Lavc60.3.100 h264_nvenc Side data: cpb: bitrate max/min/avg: 6000000/0/4000000 buffer size: 8000000 vbv_delay: N/A No more output streams to write to, finishing. [out#0/null @ 0x2512c1c0] All streams finished [out#0/null @ 0x2512c1c0] Terminating muxer thread frame= 60 fps=0.0 q=12.0 Lsize=N/A time=00:00:00.93 bitrate=N/A speed=4.75x [AVIOContext @ 0x25126a00] Statistics: 398 bytes written, 0 seeks, 2 writeouts video:69kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (testsrc=size=1280x720:rate=60): Input stream #0:0 (video): 61 packets read (29280 bytes); 61 frames decoded; Total: 61 packets (29280 bytes) demuxed Output file #0 (/dev/null): Output stream #0:0 (video): 60 frames encoded; 60 packets muxed (70881 bytes); Total: 60 packets (70881 bytes) muxed [h264_nvenc @ 0x2512cc00] Nvenc unloaded Terminating demuxer thread 0
success in 553ms
h264_nvenc+tonemap
[Parsed_testsrc_0 @ 0x402b2440] size:1280x720 rate:60/1 duration:-1.000000 sar:1/1 [auto_scale_0 @ 0x402b4c40] w:iw h:ih flags:'' interl:0 [Parsed_format_1 @ 0x402b2800] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_testsrc_0' and the filter 'Parsed_format_1' [auto_scale_1 @ 0x402c2900] w:iw h:ih flags:'' interl:0 [Parsed_colorspace_2 @ 0x402b2a80] auto-inserting filter 'auto_scale_1' between the filter 'Parsed_format_1' and the filter 'Parsed_colorspace_2' [auto_scale_0 @ 0x402b4c40] w:1280 h:720 fmt:rgb24 sar:1/1 -> w:1280 h:720 fmt:p010le sar:1/1 flags:0x00000004 [auto_scale_1 @ 0x402c2900] w:1280 h:720 fmt:p010le sar:1/1 -> w:1280 h:720 fmt:yuv420p10le sar:1/1 flags:0x00000004 Last message repeated 3 times Input #0, lavfi, from 'testsrc=size=1280x720:rate=60,format=p010le,colorspace=all=bt2020:iall=bt2020:fast=0': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: wrapped_avframe, 1 reference frame, yuv420p10le(bt2020nc/bt2020/smpte2084), 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 60 tbn Stream mapping: Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_nvenc)) Press [q] to stop, [?] for help [graph 0 input from stream 0:0 @ 0x4165db40] w:1280 h:720 pixfmt:yuv420p10le tb:1/60 fr:60/1 sar:1/1 [auto_scale_0 @ 0x4165f0c0] w:iw h:ih flags:'' interl:0 [trim_in_0_0 @ 0x4165df00] auto-inserting filter 'auto_scale_0' between the filter 'graph 0 input from stream 0:0' and the filter 'trim_in_0_0' [auto_scale_0 @ 0x4165f0c0] w:1280 h:720 fmt:yuv420p10le sar:1/1 -> w:1280 h:720 fmt:p010le sar:1/1 flags:0x00000004 Last message repeated 3 times [h264_nvenc @ 0x40a1f280] Using input frames context (format cuda) with h264_nvenc encoder. [h264_nvenc @ 0x40a1f280] Loaded Nvenc version 13.0 [h264_nvenc @ 0x40a1f280] Nvenc initialized successfully [h264_nvenc @ 0x40a1f280] 10 bit encode not supported [h264_nvenc @ 0x40a1f280] Provided device doesn't support required NVENC features [h264_nvenc @ 0x40a1f280] Nvenc unloaded [vost#0:0/h264_nvenc @ 0x409cc340] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Terminating demuxer thread 0 Conversion failed!
exit status 1
h264_vaapi@/dev/dri/card0
[AVHWDeviceContext @ 0x1c1ab280] libva: VA-API version 1.24.0 [AVHWDeviceContext @ 0x1c1ab280] libva: vaGetDriverNames() failed with operation failed [AVHWDeviceContext @ 0x1c1ab280] Failed to initialise VAAPI connection: 1 (operation failed).
signal: segmentation fault (core dumped)
h264_vaapi@/dev/dri/renderD128
[AVHWDeviceContext @ 0x1ff62280] libva: VA-API version 1.24.0 DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [22] param: 4, val: 0 i915 does not support EXECBUFER2 DRM_IOCTL_VERSION, unsupported drm device by media driver: nvid DRM_IOCTL_VERSION, unsupported drm device by media driver: nvid [AVHWDeviceContext @ 0x1ff62280] libva: driver init failed [AVHWDeviceContext @ 0x1ff62280] libva: va_openDriver() returns 18 [AVHWDeviceContext @ 0x1ff62280] Failed to initialise VAAPI connection: 18 (invalid parameter).
signal: segmentation fault (core dumped)
h264_vaapi@/dev/dri/renderD129
no such file or directory
h264_vaapi@/dev/renderD128
no such file or directory