Virt-Manager, Intel-GPU-Tools and more Dockers


dee31797

Recommended Posts

11 minutes ago, parisv said:

 

root@tower:~# ls -la /dev/dri

/bin/ls: cannot access '/dev/dri': No such file or directory

root@tower:~# 

 

that's odd I added this to my go file yesterday to help h/w transcode for plex.

 

#!/bin/bash

# Start the Management Utility

/usr/local/sbin/emhttp &

modprobe i915

chmod -R 777 /dev/dri

~                         

Until that's working this docker will be blank/black screen.

Link to comment
37 minutes ago, dee31797 said:

Until that's working this docker will be blank/black screen.

Ok I've figured it out. My motherboard had the gpu when a monitor was attached but since moving it to the cupboard and making it headless it wasn't enabled. I changed the settings int he bios and can now see:

 

root@tower:/dev/dri# ls

by-path/  card0  renderD128

 

and gpu tools is now working thanks.

Edited by parisv
Link to comment
32 minutes ago, parisv said:

thanks, at least I know where to look now. Is there any issue with what's in my go file?

That's the same as my go file.  What processor are you using?  Also, the igpu has to be turned on in bios.  Lots of variables to get igpu working in Unraid and this thread isn't the best place to figure it, I just put together the intel-tools container.

Link to comment

Greetings,

 

Comment on the Recordings-autoconverter docker.  I'm really liking the functionality of it; saving a ton of space vs the .ts files.

 

Is it possible to adjust the docker to convert MakeMKV ripped DVDs (TV Shows averaging 1-2gb/episode) to H265 encoded files (and delete the ripped copy)?

 

Thanks

Link to comment
4 minutes ago, Glonch said:

Greetings,

 

Comment on the Recordings-autoconverter docker.  I'm really liking the functionality of it; saving a ton of space vs the .ts files.

 

Is it possible to adjust the docker to convert MakeMKV ripped DVDs (TV Shows averaging 1-2gb/episode) to H265 encoded files (and delete the ripped copy)?

 

Thanks

If the MakeMKV ripped DVDs are .ts files then Recordings-autoconverter will convert them.  If they are not .ts files, you will have to use a different program like unmanic, handbrake, tdarr, or H265ize.  I believe there are others but these I know for sure are in Unraid's CA Apps.

  • Like 1
Link to comment
  • 4 weeks later...

Hi to everyone, I am trying to set up a video surveilance server with shinobi over Unraid.

 

The thing is, that I want to use 2 separate NICS, one to access the cameras and the other to connect Unraid to my home network. I have, finally, made Shinobi work, but I'm still having issues with the cameras. Since I don´t want to use them with fixed IP adresses, but rather with DHCP adresses assigned from the UNRAID server.

So, I start glasss-isc-dhcp and after a couple of minutes it stops. That is one thing, the other is that I can not even edit the DHCP config at the GUI, because it asks me for a username and password because my connection its not private. 

 

Here is the screen shot:

 

691752536_ScreenShot2020-06-04at11_19_54AM.thumb.png.31076e41d9cef72aacb3b9f8a59a77c9.png

 

And if I try to use "glassadmin" and "glasspassword" It wouldn't recognize them. And after a couple of minutes the Glass stops responding so it does not mater what you type in, the system turns useless anyway. So it is two issues in one.

I don't know if it is a problem when the databases are crated at the moment of the installation. So, if the database is not installed correctly, there will be no reference data to compare the user and the password I am typing to the one that should be stored in the database. 

 

I am thinking that the login problem is a result of the database one, fixing the database problem should solve the login problem.

 

Here is a copy of my log, I hope that you can help me understand what is going on so I can solve this issue.

 

Thanks a lot.

 

Cheers!

 

ISC DHCP GLASS Log.txt

Link to comment
7 minutes ago, rojarrolla said:

Hi to everyone, I am trying to set up a video surveilance server with shinobi over Unraid.

 

The thing is, that I want to use 2 separate NICS, one to access the cameras and the other to connect Unraid to my home network. I have, finally, made Shinobi work, but I'm still having issues with the cameras. Since I don´t want to use them with fixed IP adresses, but rather with DHCP adresses assigned from the UNRAID server.

So, I start glasss-isc-dhcp and after a couple of minutes it stops. That is one thing, the other is that I can not even edit the DHCP config at the GUI, because it asks me for a username and password because my connection its not private. 

 

Here is the screen shot:

 

 

 

And if I try to use "glassadmin" and "glasspassword" It wouldn't recognize them. And after a couple of minutes the Glass stops responding so it does not mater what you type in, the system turns useless anyway. So it is two issues in one.

I don't know if it is a problem when the databases are crated at the moment of the installation. So, if the database is not installed correctly, there will be no reference data to compare the user and the password I am typing to the one that should be stored in the database. 

 

I am thinking that the login problem is a result of the database one, fixing the database problem should solve the login problem.

 

Here is a copy of my log, I hope that you can help me understand what is going on so I can solve this issue.

 

Thanks a lot.

 

Cheers!

 

ISC DHCP GLASS Log.txt 13.29 kB · 1 download

I believe the issue that causes it to shutdown is the missing dhcp configuration file, log message "dhcpd-pools: parse_config: /etc/dhcp/dhcpd.conf: No such file or directory"

 

WIthout this file the DHCP server will not start as well as glass admin.  For a sample config file, see www.github.com/djaydev/docker-glass-isc-dhcp/blob/master/sample.dhcpd.conf

Link to comment
2 minutes ago, dee31797 said:

I believe the issue that causes it to shutdown is the missing dhcp configuration file, log message "dhcpd-pools: parse_config: /etc/dhcp/dhcpd.conf: No such file or directory"

 

WIthout this file the DHCP server will not start as well as glass admin.  For a sample config file, see www.github.com/djaydev/docker-glass-isc-dhcp/blob/master/sample.dhcpd.conf

Thanks! I've seen those instructions, and I tried to do it, however, the ISC-DHCP-Glass terminal also becomes unavailable and I can not reach those directories. 

 

Is there a way to reach them outside docker?

 

Thanks!

Link to comment
1 minute ago, rojarrolla said:

Thanks! I've seen those instructions, and I tried to do it, however, the ISC-DHCP-Glass terminal also becomes unavailable and I can not reach those directories. 

 

Is there a way to reach them outside docker?

 

Thanks!

Yes, the directory exists on your machine, you access them however you wish.  The docker container only sees them as a mapped volume.  If not mapped from your machine to the docker container, then they don't exist.

Link to comment
3 minutes ago, rojarrolla said:

Thanks, would you mind telling me where to start? 

This is what I see from my root directory in unraid. Sorry I'm not very experienced with linux,  I understand a little bit.

 

Thanks!

 

 

I can help with the file system, but you're going to have a tough time with this container.  It's an advanced setup running a web server, dhcp server, text based configuration via config files.  

 

The docker container settings (in Unraid GUI) has a list of volumes, variables, devices, etc and are managed by you.  In this specific instance you need to add "/etc/dhcp/dhcpd.conf" to the docker container.  The most common why this is done is with an appdata folder, "/mnt/user/appdata/glasss-isc-dhcp/dhcpd.conf" mapped to "/etc/dhcp/dhcpd.conf", but the choice is yours use whatever host directory you desire.

 

Once your selection is made, use the Unraid GUI docker settings to change the host path to your selection and the container path should already be filled in when you installed the container.  For an more in depth explanation on docker settings and volumes please see https://wiki.unraid.net/UnRAID_6/Docker_Management

Link to comment
4 minutes ago, dee31797 said:

I can help with the file system, but you're going to have a tough time with this container.  It's an advanced setup running a web server, dhcp server, text based configuration via config files.  

 

The docker container settings (in Unraid GUI) has a list of volumes, variables, devices, etc and are managed by you.  In this specific instance you need to add "/etc/dhcp/dhcpd.conf" to the docker container.  The most common why this is done is with an appdata folder, "/mnt/user/appdata/glasss-isc-dhcp/dhcpd.conf" mapped to "/etc/dhcp/dhcpd.conf", but the choice is yours use whatever host directory you desire.

 

Once your selection is made, use the Unraid GUI docker settings to change the host path to your selection and the container path should already be filled in when you installed the container.  For an more in depth explanation on docker settings and volumes please see https://wiki.unraid.net/UnRAID_6/Docker_Management

Ok, I'll look into it, and If I have other questions, I'll come back here.

 

Thanks!

Link to comment
6 hours ago, MM23 said:

This might be a dumb question but how do I paste links into uGet webui? I can't figure out how and it's kinda unusable without the ability to paste

click "clipboard" in the top right

click text box, press ctrl + v on your keyboard to paste text you desire the container to have

click submit

in the uget wegui go to where you need the text, press ctrl + v on your keyboard to paste text you desire

 

edit:  the container is still usable with pasting text. 

Edited by dee31797
add note
Link to comment

I just discovered recordings-autoconverter. It works beautifully! Thanks for creating it and sharing with the community.

 

Is there any option to have recordings-autoconverter leave the audio untouched? I have a 5.1 Home Theatre setup and would like to keep the 5.1 audio instead of convert it to 2 channel stereo.

 

Thanks

Link to comment
9 minutes ago, Darrell said:

I just discovered recordings-autoconverter. It works beautifully! Thanks for creating it and sharing with the community.

 

Is there any option to have recordings-autoconverter leave the audio untouched? I have a 5.1 Home Theatre setup and would like to keep the 5.1 audio instead of convert it to 2 channel stereo.

 

Thanks

Thank you!

 

Currently there's no options for the audio but I will look into adding something like that in the future.  

  • Thanks 1
Link to comment
  • 2 weeks later...

Hello, i'm trying to setup the MotionEye docker.
I have 3 IP Cameras set to 1080p - 15fps - mkv/V4L2M2M Format
When all 3 is capturing my CPU uses 20-25% (It's a Threadripper 2920!) and i think its a bit high for this kind of cpu.
Tried also passthrough but still had about the same. (18-23%)
I run on the docker's console the ffmpeg -hwaccels, and i got this:

/tmp # ffmpeg -hwaccels
ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.0 (Alpine 9.2.0)
  configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --disable-stripping --disable-static --disable-librtmp --enable-vaapi --enable-vdpau --enable-libopus --disable-debug
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Hardware acceleration methods:
vdpau
vaapi

Is the HW accel enabled? If not how i can enable it?

Also ffmpeg -encoders output:
 

/ # ffmpeg -encoders
ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.0 (Alpine 9.2.0)
  configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --disable-stripping --disable-static --disable-librtmp --enable-vaapi --enable-vdpau --enable-libopus --disable-debug
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Encoders:
 V..... = Video
 A..... = Audio
 S..... = Subtitle
 .F.... = Frame-level multithreading
 ..S... = Slice-level multithreading
 ...X.. = Codec is experimental
 ....B. = Supports draw_horiz_band
 .....D = Supports direct rendering method 1
 ------
 V..... a64multi             Multicolor charset for Commodore 64 (codec a64_multi)
 V..... a64multi5            Multicolor charset for Commodore 64, extended with 5th color (colram) (codec a64_multi5)
 V..... alias_pix            Alias/Wavefront PIX image
 V..... amv                  AMV Video
 V..... apng                 APNG (Animated Portable Network Graphics) image
 V..... asv1                 ASUS V1
 V..... asv2                 ASUS V2
 V..... avrp                 Avid 1:1 10-bit RGB Packer
 V..X.. avui                 Avid Meridien Uncompressed
 V..... ayuv                 Uncompressed packed MS 4:4:4:4
 V..... bmp                  BMP (Windows and OS/2 bitmap)
 V..... cinepak              Cinepak
 V..... cljr                 Cirrus Logic AccuPak
 V.S... vc2                  SMPTE VC-2 (codec dirac)
 VFS... dnxhd                VC3/DNxHD
 V..... dpx                  DPX (Digital Picture Exchange) image
 VFS... dvvideo              DV (Digital Video)
 V.S... ffv1                 FFmpeg video codec #1
 VF.... ffvhuff              Huffyuv FFmpeg variant
 V..... fits                 Flexible Image Transport System
 V..... flashsv              Flash Screen Video
 V..... flashsv2             Flash Screen Video Version 2
 V..... flv                  FLV / Sorenson Spark / Sorenson H.263 (Flash Video) (codec flv1)
 V..... gif                  GIF (Graphics Interchange Format)
 V..... h261                 H.261
 V..... h263                 H.263 / H.263-1996
 V..... h263_v4l2m2m         V4L2 mem2mem H.263 encoder wrapper (codec h263)
 V.S... h263p                H.263+ / H.263-1998 / H.263 version 2
 V..... libx264              libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (codec h264)
 V..... libx264rgb           libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB (codec h264)
 V..... h264_v4l2m2m         V4L2 mem2mem H.264 encoder wrapper (codec h264)
 V..... h264_vaapi           H.264/AVC (VAAPI) (codec h264)
 V..... libx265              libx265 H.265 / HEVC (codec hevc)
 V..... hevc_v4l2m2m         V4L2 mem2mem HEVC encoder wrapper (codec hevc)
 V..... hevc_vaapi           H.265/HEVC (VAAPI) (codec hevc)
 VF.... huffyuv              Huffyuv / HuffYUV
 V..... jpeg2000             JPEG 2000
 VF.... jpegls               JPEG-LS
 VF.... ljpeg                Lossless JPEG
 VF.... magicyuv             MagicYUV video
 VFS... mjpeg                MJPEG (Motion JPEG)
 V..... mjpeg_vaapi          MJPEG (VAAPI) (codec mjpeg)
 V.S... mpeg1video           MPEG-1 video
 V.S... mpeg2video           MPEG-2 video
 V..... mpeg2_vaapi          MPEG-2 (VAAPI) (codec mpeg2video)
 V.S... mpeg4                MPEG-4 part 2
 V..... libxvid              libxvidcore MPEG-4 part 2 (codec mpeg4)
 V..... mpeg4_v4l2m2m        V4L2 mem2mem MPEG4 encoder wrapper (codec mpeg4)
 V..... msmpeg4v2            MPEG-4 part 2 Microsoft variant version 2
 V..... msmpeg4              MPEG-4 part 2 Microsoft variant version 3 (codec msmpeg4v3)
 V..... msvideo1             Microsoft Video-1
 V..... pam                  PAM (Portable AnyMap) image
 V..... pbm                  PBM (Portable BitMap) image
 V..... pcx                  PC Paintbrush PCX image
 V..... pgm                  PGM (Portable GrayMap) image
 V..... pgmyuv               PGMYUV (Portable GrayMap YUV) image
 VF.... png                  PNG (Portable Network Graphics) image
 V..... ppm                  PPM (Portable PixelMap) image
 VF.... prores               Apple ProRes
 VF.... prores_aw            Apple ProRes (codec prores)
 VFS... prores_ks            Apple ProRes (iCodec Pro) (codec prores)
 V..... qtrle                QuickTime Animation (RLE) video
 V..... r10k                 AJA Kona 10-bit RGB Codec
 V..... r210                 Uncompressed RGB 10-bit
 V..... rawvideo             raw video
 V..... roqvideo             id RoQ video (codec roq)
 V..... rv10                 RealVideo 1.0
 V..... rv20                 RealVideo 2.0
 V..... sgi                  SGI image
 V..... snow                 Snow
 V..... sunrast              Sun Rasterfile image
 V..... svq1                 Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1
 V..... targa                Truevision Targa image
 V..... libtheora            libtheora Theora (codec theora)
 VF.... tiff                 TIFF image
 VF.... utvideo              Ut Video
 V..... v210                 Uncompressed 4:2:2 10-bit
 V..... v308                 Uncompressed packed 4:4:4
 V..... v408                 Uncompressed packed QT 4:4:4:4
 V..... v410                 Uncompressed 4:4:4 10-bit
 V..... libvpx               libvpx VP8 (codec vp8)
 V..... vp8_v4l2m2m          V4L2 mem2mem VP8 encoder wrapper (codec vp8)
 V..... vp8_vaapi            VP8 (VAAPI) (codec vp8)
 V..... libvpx-vp9           libvpx VP9 (codec vp9)
 V..... vp9_vaapi            VP9 (VAAPI) (codec vp9)
 V..... wmv1                 Windows Media Video 7
 V..... wmv2                 Windows Media Video 8
 V..... wrapped_avframe      AVFrame to AVPacket passthrough
 V..... xbm                  XBM (X BitMap) image
 V..... xface                X-face image
 V..... xwd                  XWD (X Window Dump) image
 V..... y41p                 Uncompressed YUV 4:1:1 12-bit
 V..... yuv4                 Uncompressed packed 4:2:0
 VF.... zlib                 LCL (LossLess Codec Library) ZLIB
 V..... zmbv                 Zip Motion Blocks Video
 A..... aac                  AAC (Advanced Audio Coding)
 A..... ac3                  ATSC A/52A (AC-3)
 A..... ac3_fixed            ATSC A/52A (AC-3) (codec ac3)
 A..... adpcm_adx            SEGA CRI ADX ADPCM
 A..... g722                 G.722 ADPCM (codec adpcm_g722)
 A..... g726                 G.726 ADPCM (codec adpcm_g726)
 A..... g726le               G.726 little endian ADPCM ("right-justified") (codec adpcm_g726le)
 A..... adpcm_ima_qt         ADPCM IMA QuickTime
 A..... adpcm_ima_wav        ADPCM IMA WAV
 A..... adpcm_ms             ADPCM Microsoft
 A..... adpcm_swf            ADPCM Shockwave Flash
 A..... adpcm_yamaha         ADPCM Yamaha
 A..... alac                 ALAC (Apple Lossless Audio Codec)
 A..... aptx                 aptX (Audio Processing Technology for Bluetooth)
 A..... aptx_hd              aptX HD (Audio Processing Technology for Bluetooth)
 A..... comfortnoise         RFC 3389 comfort noise generator
 A..X.. dca                  DCA (DTS Coherent Acoustics) (codec dts)
 A..... eac3                 ATSC A/52 E-AC-3
 A..... flac                 FLAC (Free Lossless Audio Codec)
 A..... g723_1               G.723.1
 A..X.. mlp                  MLP (Meridian Lossless Packing)
 A..... mp2                  MP2 (MPEG audio layer 2)
 A..... mp2fixed             MP2 fixed point (MPEG audio layer 2) (codec mp2)
 A..... libmp3lame           libmp3lame MP3 (MPEG audio layer 3) (codec mp3)
 A..... nellymoser           Nellymoser Asao
 A..X.. opus                 Opus
 A..... libopus              libopus Opus (codec opus)
 A..... pcm_alaw             PCM A-law / G.711 A-law
 A..... pcm_dvd              PCM signed 16|20|24-bit big-endian for DVD media
 A..... pcm_f32be            PCM 32-bit floating point big-endian
 A..... pcm_f32le            PCM 32-bit floating point little-endian
 A..... pcm_f64be            PCM 64-bit floating point big-endian
 A..... pcm_f64le            PCM 64-bit floating point little-endian
 A..... pcm_mulaw            PCM mu-law / G.711 mu-law
 A..... pcm_s16be            PCM signed 16-bit big-endian
 A..... pcm_s16be_planar     PCM signed 16-bit big-endian planar
 A..... pcm_s16le            PCM signed 16-bit little-endian
 A..... pcm_s16le_planar     PCM signed 16-bit little-endian planar
 A..... pcm_s24be            PCM signed 24-bit big-endian
 A..... pcm_s24daud          PCM D-Cinema audio signed 24-bit
 A..... pcm_s24le            PCM signed 24-bit little-endian
 A..... pcm_s24le_planar     PCM signed 24-bit little-endian planar
 A..... pcm_s32be            PCM signed 32-bit big-endian
 A..... pcm_s32le            PCM signed 32-bit little-endian
 A..... pcm_s32le_planar     PCM signed 32-bit little-endian planar
 A..... pcm_s64be            PCM signed 64-bit big-endian
 A..... pcm_s64le            PCM signed 64-bit little-endian
 A..... pcm_s8               PCM signed 8-bit
 A..... pcm_s8_planar        PCM signed 8-bit planar
 A..... pcm_u16be            PCM unsigned 16-bit big-endian
 A..... pcm_u16le            PCM unsigned 16-bit little-endian
 A..... pcm_u24be            PCM unsigned 24-bit big-endian
 A..... pcm_u24le            PCM unsigned 24-bit little-endian
 A..... pcm_u32be            PCM unsigned 32-bit big-endian
 A..... pcm_u32le            PCM unsigned 32-bit little-endian
 A..... pcm_u8               PCM unsigned 8-bit
 A..... pcm_vidc             PCM Archimedes VIDC
 A..... real_144             RealAudio 1.0 (14.4K) (codec ra_144)
 A..... roq_dpcm             id RoQ DPCM
 A..X.. s302m                SMPTE 302M
 A..... sbc                  SBC (low-complexity subband codec)
 A..X.. sonic                Sonic
 A..X.. sonicls              Sonic lossless
 A..X.. truehd               TrueHD
 A..... tta                  TTA (True Audio)
 A..X.. vorbis               Vorbis
 A..... libvorbis            libvorbis (codec vorbis)
 A..... wavpack              WavPack
 A..... wmav1                Windows Media Audio 1
 A..... wmav2                Windows Media Audio 2
 S..... ssa                  ASS (Advanced SubStation Alpha) subtitle (codec ass)
 S..... ass                  ASS (Advanced SubStation Alpha) subtitle
 S..... dvbsub               DVB subtitles (codec dvb_subtitle)
 S..... dvdsub               DVD subtitles (codec dvd_subtitle)
 S..... mov_text             3GPP Timed Text subtitle
 S..... srt                  SubRip subtitle (codec subrip)
 S..... subrip               SubRip subtitle
 S..... text                 Raw text subtitle
 S..... webvtt               WebVTT subtitle
 S..... xsub                 DivX subtitles (XSUB)

Also uploading one of the cameras config. The other 2 are exactly the same with different names.

Thanks for your time

camera-1.conf

Link to comment
28 minutes ago, skois said:

Hello, i'm trying to setup the MotionEye docker.
I have 3 IP Cameras set to 1080p - 15fps - mkv/V4L2M2M Format
When all 3 is capturing my CPU uses 20-25% (It's a Threadripper 2920!) and i think its a bit high for this kind of cpu.
Tried also passthrough but still had about the same. (18-23%)
I run on the docker's console the ffmpeg -hwaccels, and i got this:

Is the HW accel enabled? If not how i can enable it?

Also ffmpeg -encoders output:
 

Also uploading one of the cameras config. The other 2 are exactly the same with different names.

Thanks for your time

camera-1.conf 2.18 kB · 0 downloads

Hi,

 

The first half of the process is motion detection and it will be the majority of your CPU usage.  Motioneye uses the application "Motion" to detect changes in the video. The more camera feeds, the more CPU usage and it's all software based.

 

Once motion is detected and motioneye is set to record video on said motion, Motioneye either encodes the video to a new video codec or you can use passthrough to save the video in the original codec.  Encoding of the video can be done with a hardware device if available and supported.

 

For hardware accelerated encoding you must pass a hardware device to the container.  For example, V4L2M2M requires a hardware device that's typically located at "/dev/videoX" and must be mapped to the container.  I've only seen V4L2M2M with ARM based SBC's such as the Odroid XU4 hardware accelerated encoding (reference https://github.com/ccrisan/motioneye/releases/tag/0.42).  Other options supported by motioneye are Nvidia's NVENC (requires a Nvidia GPU) and Intel's QSV (requires an Intel iGPU apart of an Intel CPU).  Even though ffmpeg has options such as VAAPI (also GPU based), Motioneye does not support it.

 

Here's the catch, even if you do have a Nvidia GPU or Intel iGPU to map to this container, since this container image is based on Alpine linux it doesn't have support for it.  So to use hardware encoding I recommend you use the docker container that's created by Motioneye's original author, located at https://hub.docker.com/r/ccrisan/motioneye . It's based on Ubuntu so it's 3 times the size of my container.  I haven't tested it myself (I use passthrough video setting personally) but I believe his container does support hardware encoding.  As we mentioned once you install his container you have to map a supported GPU to his container before hardware accelerated encoding will work.

Link to comment
Hi,
 
The first half of the process is motion detection and it will be the majority of your CPU usage.  Motioneye uses the application "Motion" to detect changes in the video. The more camera feeds, the more CPU usage and it's all software based.
 
Once motion is detected and motioneye is set to record video on said motion, Motioneye either encodes the video to a new video codec or you can use passthrough to save the video in the original codec.  Encoding of the video can be done with a hardware device if available and supported.
 
For hardware accelerated encoding you must pass a hardware device to the container.  For example, V4L2M2M requires a hardware device that's typically located at "/dev/videoX" and must be mapped to the container.  I've only seen V4L2M2M with ARM based SBC's such as the Odroid XU4 hardware accelerated encoding (reference https://github.com/ccrisan/motioneye/releases/tag/0.42).  Other options supported by motioneye are Nvidia's NVENC (requires a Nvidia GPU) and Intel's QSV (requires an Intel iGPU apart of an Intel CPU).  Even though ffmpeg has options such as VAAPI (also GPU based), Motioneye does not support it.
 
Here's the catch, even if you do have a Nvidia GPU or Intel iGPU to map to this container, since this container image is based on Alpine linux it doesn't have support for it.  So to use hardware encoding I recommend you use the docker container that's created by Motioneye's original author, located at https://hub.docker.com/r/ccrisan/motioneye . It's based on Ubuntu so it's 3 times the size of my container.  I haven't tested it myself (I use passthrough video setting personally) but I believe his container does support hardware encoding.  As we mentioned once you install his container you have to map a supported GPU to his container before hardware accelerated encoding will work.
Aha, I see, I'll give it a shot then. The next shot will be at shinobi to reduce delay (right now is about 30s) but its only using 3% cpu!

Sent from my Mi 10 Pro using Tapatalk

Link to comment
  • 1 month later...

I am using uGet.  I am unable to sort columns. I've tried in  WebVNC and direct VNC.  For example when I click 'Complete' column, the session flashes and organizes for 1-2 seconds then reverts right back to the previous sorting.  I am not sure if this is some sort of restriction or a problem on my end. Any help is appreciated.

Link to comment
7 hours ago, dtctechs said:

I am using uGet.  I am unable to sort columns. I've tried in  WebVNC and direct VNC.  For example when I click 'Complete' column, the session flashes and organizes for 1-2 seconds then reverts right back to the previous sorting.  I am not sure if this is some sort of restriction or a problem on my end. Any help is appreciated.

dtctechs,

I've added some downloads to uGet to test column sorting (I hadn't tried it before now) and I can't replicate the issue.  I initially thought it could be browser incompatibility but it also works for me in direct VNC.  Unfortunately the only suggestion I have is to delete the config folder and rebuild the container.  The quickest way to rebuild the container is to force an update from the Unraid Dashboard WebGUI.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.