- Shinobi ffmpeg. A pre-made setup for such an image is available on GitHub. Jun 7, 2018 · Shinobi is a fairly simple application with the only main components being FFmpeg, MariaDB and Node. [h264 @ 0x55849bda8640] If you want to help, upload a sample of this file to ftp://upload. js (16. Aug 12, 2017 · Superuser login can be accessed by navigating to your Shinobi URL followed by the /super suffixs as follows. idmap: g 115 100108 65428 So I am using a Shinobi camera server which uses FFmpeg, so the FFmpeg commands below are executed through Shinobi. Many core features and dependencies have changed. Fresh Installation but I can't do anything in Superuser when accessing through a Proxy Use an external Motion Detector before doing Object Detection with Shinobi How to fix a Memory Leak with FFmpeg Shinobi Wall Display for Live Viewing (Video Wall) How to Backup Videos to Google Drive Adding cameras from a remote network How to modify Mar 13, 2021 · Additionally, Shinobi defaults to options driven for performance rather than latency. I currently have 25 cameras, plans to add another 60 but trying to solve this first. What would be wrong in this case? Node. The cameras are setup as HLS streams with the copy codec. Shinobi has GUI that can be accessed by clicking your username in the top left, then Probe. Just need to enter ALL these commands: pm2 kill sudo apt remove ffmpeg -y && sudo apt autoremove -y sudo service mysql stop sudo apt --purge remove mariadb-server -y sudo apt --purge remove "mysql*" -y sudo apt autoremove -y sudo rm -rf /etc/mysql/ sudo rm -rf /var/lib/mysql/ sudo npm uninstall pm2 -g sudo apt remove nodejs -y && sudo apt In addition, no matter which configuration I've tried, none of the videos I've managed to record will play in the Shinobi interface. cmd : -progress pipe:5 -use_wallclock_as_timestamps 1 -analyzeduration 1000000 -probesize 1000000 -fflags +igndts -rtsp_transport tcp -loglevel warning -i "rtsp Oct 19, 2020 · Install Shinobi Now that CentOS is installed, we are ready to install Shinobi. Jun 22, 2020 · Some features of Shinobi use a decent amount of CPU power. Hi All, just started with Shinobi and so far I'm liking it, thanks. If you are willing to install directly on the operating system Mar 15, 2015 · Doing npm install inside the Shinobi directory should install a usable version of FFmpeg. You can avoid this by doing one of the following in the Monitor Settings in Shinobi. You may need to add sudo if using another user. Shinobi uses ffmpeg so it depends what ffmpeg supports. I've connected my Logitech C920 camera to it through Local input and have the Input and Stream set to MJPEG (nothing else other than Base64 seems to work), although I have confirmed the camera does work using h. Log in to your camera’s internal settings You will need to access the camera’s internal settings. GitHub Gist: instantly share code, notes, and snippets. With the Ninja Way these requirements should be fulfilled for you. Node. community Aug 17, 2018 · The static ffmpeg builds do not contain the h264_mmal decoder (maybe it's changed since your build), which is required if using the H. The same applies here for the detection, when i enabled detection ive got also a huge amount of processes. This workaround fixes it, i don't know how correct it Shinobi is an Open Source CCTV software written in Node. g. pm2 flush && pm2 restart camera && pm2 logs Monitor Logs These logs tell us about the Monitor Processes, like FFmpeg errors and warnings or when the Monitor has started or updated. The OPW aims to "Help women (cis and trans) and genderqueer to get involved in free and open source software". community When i enable timelapse i've got way too much ffmpeg processes all taking a huge lot of cpu resources. I have a problem with a camera. 8-0ubuntu0. Once the system has finished restarting, login as root, or the user you wish to install Shinobi under. Verify the Some Aspects Shinobi can be used as a Baby Monitor, Construction Site Montage Viewer, Store Camera DVR, and much more! We can start using Shinobi by clicking on the + Symbol in the top left and adding an ID and a readable Name for the camera we want to add in the Identity section. . Designed with multiple account system, Streams by WebSocket, and Saving to disk without encoding. Normally camera is what determines the codec, while shinobi is set to ‘copy’ mode. cmd : "-progress pipe:5 -use_wallclock_as_timestamps 1 -r 15 -analyzeduration 1000000 -probesize 1000000 " This will allow you to see first hand what ffmpeg is reporting and most importantly, tweak and retest command line options very quickly. VLC - media player by VideoLAN Organization - https://www. It is recommended that you have a dedicated machine for Shinobi even if you intend to use Docker. For simplicity, we will install under the root account. Connection Input Type : MPEG Jul 26, 2017 · Update FFMPEG You should be on FFMPEG 3. If it doesn't exist you can create it. If you do not optimize your camera's settings you won't be able to support many cameras. What's crashing actually is ffmpeg, not shinobi. This article assumes your Shinobi is installed in the default location /home/Shinobi and using Ubuntu 19. I'm using a software called Shinobi, and this is the ffmpeg command that gets fired: /usr/bin/ffmpeg -progress pipe:5 -use_wallclock_as_timestamps 1 -analyzeduration 1000000 -probesize Update your FFmpeg version to the newest one from Git. May 12, 2025 · Shinobi's Docker deployment packages the application with its dependencies (Node. While the code is focused, press Alt+F1 for a menu of operations. If you dont do it that way there is a large CPU cost as it has to re-encode on the fly. I am also re-streaming the camera feeds into Home Assistant via the api (works fine). To use the version of FFmpeg found on the system just run npm uninstall ffmpeg-static Shinobi is an Open Source CCTV software written in Node. My stream appears black or just a solid color UPDATE. With motion detection disable, ffmpeg uses about 45% CPU which I can handle ok. tar. x or greater for the best performance. Hi there, new to using Shinobi and have set it up in Ubuntu 20. Here's a simple way to attempt fixing it. I installed Shinobi a few days ago to test it out before deciding to test-run Shinobi on a separate box. Is there a mechanisme causing Shinobi or FFMPEG to send out to many request when initializing the stream? Oct 28, 2024 · Use with the ffmpeg command-line tool Internal hwaccel decoders are enabled via the -hwaccel option (now supported in ffplay). JS. I'm running Shinobi on a Ubuntu server with Intel (R) Core (TM) i5-2415M CPU @ 2. Options are only required if you choose to use the childNodes object. It is set to take a picture every 5 minutes. I am trying to use shinobi on my unraid paired with docker-wyze-bridge. So I uninstalled Shinobi by following the developers’ instructions. videolan. The software decoder starts normally, but if it detects a stream which is decodable in hardware then it will attempt to delegate all significant processing to that hardware. community ffmpeg warning - high cpu usage - multiple PID for same stream I'm novice level with linux and ffmpeg but I could not find anyone with the same issue. community Here is a quick way to restart Shinobi and begin viewing a fresh log stream. Jul 31, 2024 · Shinobi sometimes consumes all the ram on a fresh installation or updated version of FFmpeg. 1), and MariaDB (10. xz To uninstall the NPM static build and use the build just run the following. These settings are similar to the primary Stream section. idmap: g 45 100045 60 lxc. Here is an explanation for some of those features. js. Happened to me. Stream section Scrolling back upward, you will have the option of making it so the primary Stream is completely turned off. FFMPEG reports a "429 Too Many Requests" from the Doorbird API. So, this transcodes live streams as well as recorded videos? Is there any CPU overhead? Doing a straight “copy” has me sitting around 1%. I believe Nvidia driver version 565. It is recommended you install Ubuntu 22. I've verified the proper Nvidia drivers are installed and can see output when I run the nvidia-smi command. 264 (Raspberry Pi) video input decoder from the drop down menu in Shinobi. Jul 29, 2020 · Shinobi Streamer v2 (Dashcam/NinjaCam) uses this method to Live Stream data to your Shinobi server. See "So the best options for low latency are" below as well as the notes following. 01 is the latest of this writing per Jun 12, 2018 · In many cases the audio data from the camera is causing FFmpeg process to hang. Shinobi is a fairly simple application with the only main components being FFmpeg, MariaDB and Node. 57. - ShinobiCCTV Extract the downloaded zip to the ffmpeg folder within your Shinobi folder. Most importantly Bitrate. community FFmpeg is utilized to handle the real-time streaming of video from the Shinobi cameras, ensuring the video feed conforms to HomeKit's specifications. Shinobi is an Open Source CCTV software written in Node. (ffmpeg-devel@ffmpeg. Regardless it still works and performs real well with my Geforce GTX 970M. Nov 12, 2018 · I have been looking to move on from Zoneminder for my home security camera setup. org) May 19, 2018 · echo "Shinobi - Do you want to Install FFMPEG with 'apt' or download a static version provided with 'npm'?" 然后重新开始安装流程,这时候会询问通过哪种方式安装FFMPEG,在centos系统下,只能选择npm: What are Child Nodes? What is Clustering? Child Nodes are the machines that are connected to the main Shinobi engine to provide added CPU and GPU power to the workload. video is your Shinobi's access address. js, FFmpeg, and MariaDB) into a standardized container. In FFMPEG, this syntax allows us to fetch not only IPv6 but also IPv4 resources in exactly the same fashion. In many articles I find that CUVID may be deprecated. July 3, 2014, FFmpeg and the Outreach Program For Women FFmpeg has started the process to become an OPW includer organization for the next round of the program, with internships starting December 9. Additionally here is the ffmpeg command that was used when the process crashed. If you want notifications to be sent to your Discord server, you need to configure the server to have at least one webhook and create a bash script which uses that webhook to send out notifications. See the Docker documentation for supported platforms. Jul 18, 2021 · First, you need to make sure you know the paths to Shinobi timelapse images and ffmpeg binaries. Sep 1, 2017 · ffmpeg -hwaccels FFMPEG for Windows comes with CUVID but no VAAPI. Playing them with VLC works fine though. Learn how to fix it here. I am curious to know if I can see what ffmpeg command shinobi has created after I add my stream to shinobi. This approach offers several benefits: Hi, I just installed Shinobi on my Raspberry Pi 4 with 4 GB with Raspbian 10 (buster) as OS. I tried set to Shinobi, the device provide 4 mjpeg Jun 27, 2020 · Software considerations Runs on Ubuntu No Snap of Shinobi No Deb of Shinobi Requires Node. idmap: g 0 100000 44 lxc. js v12 delete the node_modules folder in the Shinobi run npm install --unsafe-perm and start Shinobi again Hi, i have 3 cameras in shinobi and each ffmpeg preview process uses 100% cpu in infinite loop. shinobi. So, the question is how can I achieve this in Shinobi CCTV? Input options in the camera (in Shinobi) is set as: Accelerator: Yes Acceleration engine: vaapi (VA-API) Video decoder: Auto HWaccel device: /dev/dri/renderD128 So, how can I make it work in Shonobi knowing that with FFmpeg command does work right? Nov 13, 2018 · A Quick Fix The easiest fix found is to simply install FFmpeg through the operating system's package manager. json There are a few option to set. idmap: u 0 100000 65536 lxc. I believe it only supports up to h. This command only works as root. Shinobi is running on a Raspberry Pi 4 and I have a connection… Edit2: It indeed looks like the ffmpeg included in the shinobisystems/shinobi:dev container doesn't have cuvid or nvenc support. 4. ffmpeg. 265 while h. Thanks Moeiscool - I uninstalled ffmpeg and than ran sudo npm install ffmpeg-static as you suggested and Shinobi worked but then stopped working after I rebooted. May 30, 2022 · We're talking ~10 seconds delay with a Quadro P2000, but with my Ryzen 3900X I can get the same quality but < 1 second latency. Oct 8, 2024 · This can sometimes happen with the currently offered versions of FFmpeg in the Operating System's default respositories. Almost all the errors are from FFMPEG: FFMPEG STDERR a few seconds ago [rtsp @ 0x7fdd7e00f800] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8) Hi, Recently upgraded to the latest version of Shinobi. mkdir /home/Shinobi/ffmpeg At present, for Shinobi to detect the build in this folder you must install ffbinaries. Also by increasing the duration to wait for data we can allow the camera a chance to complete a stream from long distances or poor connections. Edit3: I was able to create a container that has an ffmpeg with cuvid / nvenc support fairly easily. 264 (Raspberry Pi)", the Shinobi is an Open Source CCTV software written in Node. But now I wanted to enable the global detector settings. Where my. 264 as I've used this in other software but it doesn't in Shinobi. Oddly though, the FFmpeg command line works, and plays back, just fine when invoked manually. Jun 1, 2013 · Also, despite what I read about in a lot of up-to-date blogs, you do need not need to recompile ffmpeg on the raspberry pi to take advantage of hardware-accelerated h264 encoding/decoding. General Checklist Check Superuser logs for issues Ensure FFMPEG 3 or above is … Jun 25, 2018 · FFMPEG support to fetch resources via IPv6 address by using square blackets notation (e. Aug 29, 2021 · lxc. hrgDGNHaCg : OgoLPknVhV FFMPEG STDERR a few seconds ago Unknown decoder 'h264_mmal' so it claims decoder errors. sh /bin/sh^M : bad interpreter How to Install FFmpeg on CentOS Shinobi CE and Shinobi Pro Shinobi on the go Nodemailer is no longer maintained The Aim of Shinobi Donate and Contribute Earn Money from Shinobi Why not just use ZoneMinder Why aren't plugins just integrated? Unplayable videos Jul 25, 2022 · At the time of writing this article Shinobi is going through a transition from Dashboard v2 to Dashboard v3. I don't think it's an issue with UDP/TCP as I can stream the camera with VLC using the RTSP location of the camera with no issues, no hiccups or anything. Hi mates, I am full of FFMPEG errors like this: 54XXLWng5 : camera FFMPEG STDERR a few seconds ago DTS 142987553196603, next:20200000 st:0 invalid dropping PTS Run Shinobi using the "microservice" Shinobi Docker images microservice-ffmpeg, microservice-vaapi, microservice-alpine and microservice-nvidia as a stack, connect the Shinobi container to an already existing MariaDB server or run a standalone Shinobi instance with a SQLite database. Live Community Chat : https://shinobi. Where are the options? The options are exposed in the Pro version's dev branch and will be merged before the beginning of December. Cameras are streaming from old NVR, BNC/coax with IP converter so they are not streaming directly from the camera. Regarding this thread: Shinobi not playing back Nginx RTMP or HLS streams : ShinobiCCTV (reddit. With this knowledge you can do it from any other device you desire. It is the future of CCTV and NVR for developers and end-users alike. org FFprobe - Stream analyzer included with FFmpeg and is meant to be used on command line. first intention was "ok missing mmal support in the precompiled buster release" but ffmpeg -decoders give me: I have 6 Hikvision ip cams set up and running in Shinobi. I have no problems when opening the RTSP stream in e. Mar 15, 2014 · Doing npm install inside the Shinobi directory should install a usable version of FFmpeg. I have managed to dewarp it by setting the stream type to MJPEG and adding this ffmpeg line to the filters list. js FFmpeg MariaDB Invalid argument LTH8DDcbtP : zaviof32101 FFMPEG STDERR a few seconds ago [mp4 @ 0xbffdd80] Could not find tag for codec pcm_mulaw in stream #1, codec not currently supported in container Apr 24, 2020 · 第二只拦路虎:FFmpeg 在 CentOS 7 上安装 FFmpeg 最简单的方法是通过 Nux Dextop 仓库的方式安装: (注: Shinobi 官方自动化安装脚本是也是采用该仓库进行安装,下面的代码摘自 Shinobi 源码的 INSTALL/centos. "v360=fisheye:output=equirect:ih_fov=180:iv_fov=180:pitch=90:h_fov=360:v_fov=120" if I add ",crop=h=480 We have a Eseenet DVR, (i would like to use License Plate Recognizing), previously worked fine at Zoneminder. JS (Camera Recorder - Security Surveillance Software - Restreamer - Shinobi/INSTALL/ffmpeg. video/installers/ffmpeg-release-armhf-32bit-static. Try these settings Generally a lot can be cleared up when using TCP instead of UDP. Why am I getting a square image after dewarping using ffmpeg? So this is a stream from a "Jasboom" 360 Camera. I've verified that ffmpeg sees the nvidia decoder. x), FFmpeg (Between 3. Hello, I am wondering, what is this option supposed to do and under which circumstances is it recommended to turn it on or off? I noticed that when this option is enabled, it appends an option -use_wallclock_as_timestamps 1 to ffmpeg process, but there is not much documentation on the internet regarding what this ffmpeg option is supposed to do neither. But as soon as I change "Send Frames" from no to yes and save the settings I get these errors: Shinobi is an Open Source CCTV software written in Node. e. Stream decoding using VAAPI works : Jun 12, 2018 · Version 3. io Docker image on a machine with a ten-core Xeon CPU and a whole bunch of memory. Also updated ffmpeg separately. Here we'll help you figure it out. Hello, I try to connect a Hikvision DS-2CD2646G2T-IZS camera but I get no picture. 3 to 4. Stop Shinobi install Node. 2. when I connect the camera, in shinobi I get this error: msg : Information about this exit will be found before this log. 3 - Linux ARMhf - http://cdn. If the problem still occurs, it means that your file has a feature which has not been implemented. This is a static file to simulate a livestream. 7 to the latest. Did some research and found out that one possible reason is that the Change Shinobi base image (with ffmpeg) to be an image compatible for your RPi's architecture, using SHINOBI_BASE_IMAGE. To start the Shinobi installation run the following command: I haven't had to deal with pixel format conversions, but isn't that what pix_fmt is for? like can't you do: ffmpeg -hwaccel qsv -i input -pix_fmt qsv -c:v h264_enc output (qsv looks like the designator for qsv format, but I think you are right that it's actually nv12, seems like an ffmpeg thing to indicate the hardware accel formats same as the device) Regardless, I'd say post any commands you Hi, I'm having trouble adding a Doorbird RTSP stream to Shinobi. VLC Media Player, MotionEYE, . sh at master · moeiscool/Shinobi May 17, 2020 · Run Shinobi using the "microservice" Shinobi Docker images microservice-ffmpeg, microservice-vaapi, microservice-alpine and microservice-nvidia as a stack, connect the Shinobi container to an already existing MariaDB server or run a standalone Shinobi instance with a SQLite database. Sep 17, 2020 · This is what they mean in the context of FFmpeg (and Shinobi) : Decode : The action of consumption. Set the Stream Type to "Only When Watching, Use Substream". When your FFmpeg process makes the connection to the camera and begins to receive video stream data. I've been using Shinobi in a setup with 4 Dahua IPC-HDW2231R-ZS's, and there's substantial and variable delay between the camera timestamps and what I see in Shinobi. 10. Use ffmpeg from the command line using the command line string you can see in the Shinobi logs i. Jul 19, 2018 · FFprobe — Stream analyzer included with FFmpeg and is meant to be used on command line. 6-1~deb10u1). By default Shinobi is installed at /home/Shinobi so you can extract to the folder /home/Shinobi/ffmpeg. sh) ** Update So I finally got everything up and running, I have 6 containers including Shinobi which I built an image as noted above Everything seems to work, though the one main issue appears to be with ffmpeg, currently with just one camera connected and viewing only, the cpu is pegging pretty high around 80% and much higher if I record In the config if I select "H. How to view the Log stream for System, Monitor, or User Learn about this here /system/logs A Stream to Test Shinobi's Internal Processing You can test Shinobi by creating a Monitor with these settings changed. Feb 20, 2025 · After a lot of tinkering, I'm reaching out for help Goal: Update ffmpeg to the latest version Update the CUDA version from 12. Also playing them through the Shinobi web ui is also fine. 1. Jun 30, 2021 · There are three kinds of logs that occur in Shinobi. I noticed that the recorded videos are no longer seekable when playing them using Windows Media Player and Exoplayer from the Android app. I am able to see my cameras on the docker-wyze-bridge admin panel and connect to the rtmp streams with both vlc and ffmpeg on my laptop, but when I try to start shinobi it kills itself over and over with: FVSYkiwp2G : czDLhWxJWQ Process Unexpected Exit a few seconds ago ffmpeg is already the newest version (7:4. 30GHz, and set my Hikvision camera to 1080p and using VA-API hardware acceleration. The original stream is a 960x960 stream and I consuming it via rtsp. js, and real easy to use. Learn about latency of Stream types here. Clustering is when you have multiple machines working together. idmap: g 105 115 1 lxc. I run the Hass. For Ubuntu users do the following : apt update -y apt install ffmpeg -y pm2 restart all For CentOS users do the following, This will restart your machine in the middle : sudo yum install epel-release -y sudo yum update -y sudo shutdown -r now ##################### After Reboot sudo rpm Install Shinobi with Docker Quick and Contained Warning : Docker may install on your system but it may not be able to run the image that is automatically selected by our scripts. idmap: g 44 44 1 lxc. Since then, anything that uses ffmpeg Posted by u/ult_avatar - 3 votes and 2 comments Very, very probably you are using wrong video or audio codecs. 04 on a dedicated machine rather than on Docker or a VM. org/incoming/ and contact the ffmpeg-devel mailing list. To use the version of FFmpeg found on the system just run npm uninstall ffmpeg-static Shinobi is Open Source, written in Node. RTSP Transport : TCP Analyzation Duration : 1000000 Probe Size : 1000000 Got an RTSP Last I checked, the ffmpeg that comes with the Shinobi Docker image didn't support hardware decoding on Nvidia GPUs, and it was necessary to replace ffmpeg with a different build. 265+ is not supported. In Machine Terms Stream Delay (High Latency in Web Browser Stream) Jul 24, 2018 · My stream appears black or just a solid color This could mean your settings are wrong or the setup is incomplete. 4+) are the main components that Shinobi needs. 04. Jul 22, 2018 · Update FFMPEG You should be on FFMPEG 3. Edit: typo. com) After some more investigation, it appears that FFmpeg seems to crash when invoked by Shinobi, or that's what Shinobi claims to have happened. Extract the downloaded zip to the ffmpeg folder within your Shinobi folder. So if you only wish to remove Shinobi then you can ignore the steps to remove any of the components. I am running the migoller/shinobidocker:0. Shinobi will generate a ffmpeg command line that contains unnecessary -preset parameter even though the stream and recorders are both set to copy the RTSP video stream and the AAC audio stream directly. Shinobi is running on a Debian host via Proxmox with GPU passed-through successfully. Thus, introducing the square brackets " [, ]" before and after the address fields in the FFMPEG commands also allows the Shinobi's to access IPv6 while These are the options to create the Stream-Out from Shinobi. However you can change this at the expense of resources from your server and client. When Homebridge shuts down, the plugin ensures that streams are properly stopped, providing a smooth and reliable shutdown process without interruptions. In this scenario i have timelape enabled: In this screenshot i just have it disabled. I was able to add my Wifi camera as a monitor and I can watch the live view. " PROTO:// [ADDRESS]: PORT / ENDPOINT " ). If the stream is not decodable in hardware (for example, it is an unsupported codec or profile I am new to both shinobi and ffmpeg. I am initiating recording via the api (works fine). Check your ffmpeg command line, experiment with it and once it runs reliably, configure shinobi the same way. The childNodes object in conf. Learn about System, Monitor and User logs to help you understand and troubleshoot your Shinobi CCTV system. ffmpeg version 3. 1-microservice-ffmpeg image. community Jun 13, 2025 · About the issue: the FFmpeg build inside the aforementioned shinobi docker version does not have ANY hardware acceleration for our nvidia gpus (you'll can check with the command "ffmpeg -codecs" inside your docker console). When it comes to Shinobi, I only found :peace_symbol: :palestinian_territories: Shinobi CE - The Free Open Source CCTV platform written in Node. 4 or above for the best performance. vgm hayzjnsr kzpcqx ows p8agl9 25mo ph0yditp p2m7pr dumtn ciqd