Jetson Nano PR #2548 + RTMP ReoLink GST Pipelines #2752
Replies: 28 comments 48 replies
-
I noticed when using the pipeline splitmuxsink the first part of the file name MUST MATCH case and format. I have "Back-Yard" and the location must be "/tmp/cache/Back-Yard-gstsplitmuxchunk-%05d.mp4"
Also, the pipeline caps for video/x-raw in the detector input section must match the camera resulution and must match the "detector" section resolution.
|
Beta Was this translation helpful? Give feedback.
-
So I have 5 HD cameras running successfully. All detecting at full resolution. I am not doing any recording yet at this time. Not much CPU usage either. It is getting dark, so I am going to play more tomorrow. |
Beta Was this translation helpful? Give feedback.
-
I am going to call it a night but I am starting to see some Python bus errors
|
Beta Was this translation helpful? Give feedback.
-
Just an FYI... The dahua camera IPC-HFW1431S-S4 doesn't have audio. My ReoLink cameras do have audio and just assumed...whoops. |
Beta Was this translation helpful? Give feedback.
-
I am struggling with audio from an RTMP stream. Anyone have any ideas...? I am pretty clueless about GST and only stumbled around with it doing the Jetson tutorials. Any help would be appreciated! The audio isn't a deal breaker but now that I cant make it work I want to! This is one of my many attempts that has not worked...If I comment out the last 3 lines of the record pipeline the video works.
If I comment out the lines below the video works:
|
Beta Was this translation helpful? Give feedback.
-
What model of ReoLink are you running. I have 1 RCL520A up currently with 3 more still in boxes waiting for it to be warm enough. The decoding kind sucks though |
Beta Was this translation helpful? Give feedback.
-
OT: How do I set up notifications just for this discussion? When I enabled 'watch' I get all posts form the complete repository. |
Beta Was this translation helpful? Give feedback.
-
Ah, github had an information comment over it. So I did not see it. In the meantime I created a macro in Outlook to move all github notifications into their own folder. That actually is working well. :) |
Beta Was this translation helpful? Give feedback.
-
@cap9qd a couple of questions about your config file.
|
Beta Was this translation helpful? Give feedback.
-
I am still getting this error but everything seems to be working correctly. Is this something that I need to fix?
|
Beta Was this translation helpful? Give feedback.
-
Looks like it’s missing one of the files. Have you tried a sudo apt update and sudo apt full-upgrade -y yet?
On Feb 6, 2022, at 12:04 PM, Joe Morris ***@***.***> wrote:
I am still getting this error but everything seems to be working correctly. Is this something that I need to fix?
(gst-plugin-scanner:215): GStreamer-WARNING **: 18:02:41.963: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvcompositor.so': libgstbadvideo-1.0.so.0: cannot open shared object file: No such file or directory
—
Reply to this email directly, view it on GitHub<#2752 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACGXNJG64BKSCC2XCFREIHDUZ2Z2TANCNFSM5NURF7XQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I am also getting many of these errors:
Any thoughts? |
Beta Was this translation helpful? Give feedback.
-
I am going to try building the image from the repo and see if some of the things are fixed. I'll keep yall posted... |
Beta Was this translation helpful? Give feedback.
-
Those errors are coming from |
Beta Was this translation helpful? Give feedback.
-
FYI: Just in case you run into the error. I had mistyped a username for one of my cameras. What I saw in the Docker log was an ffmpeg error. This is totally understandable, I just wanted to mention it so no one spends too much time looking too long. |
Beta Was this translation helpful? Give feedback.
-
An interesting tidbit: When I had all of my cameras (5 of them) set at high resolutions the inference speed was between 17 and 25 most of the time. Now that all of the cameras are set at 720 or less the inference speed is higher than 50. I would have thought the opposite. |
Beta Was this translation helpful? Give feedback.
-
Caution on Docker Upgrade: On the Jetson Nano docker version docker.io_20.10.2-0ubuntu1_18.04.3 will cause issues on the Nano. Errors similar to
If you get these errors you need to downgrade to docker.io_20.10.2-0ubuntu1_18.04.2 It is a known issue with no resolution yet. |
Beta Was this translation helpful? Give feedback.
-
So your running frigate on the Jetson Nano? Do you also have a Jetson Coral?
I have DeepStack running on the Nano doing facial recognition. And Frigate in a RPi4 8gig with a Coral TPU.
I then use DoubleTake as a add on to Home Assistant to pull it all together with a GUI interface for creating and training new faces and people.
Curious how your use case is
On Feb 8, 2022, at 10:06 AM, Joe Morris ***@***.***> wrote:
An interesting tidbit: When I had all of my cameras (5 of them) set at high resolutions the inference speed was between 17 and 25 most of the time. Not that all of the cameras are set at 720 or less the inference speed is higher than 50. I would have thought the opposite.
—
Reply to this email directly, view it on GitHub<#2752 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACGXNJFIQC6ZIRGZBUXR7M3U2E5SBANCNFSM5NURF7XQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
From what I understand and have tried, Frigate can’t utilize the GPU of the Nano. Now that may have changed but the last time I tried I ram into issues as well which is why I just broke down and got the TPU and tied it to a RPi4. Also remember to call the aarch64 version of the docker container in your docker compose file. That and statically setting the OS to boot using the 64 bit version of the OS.
I just bought a 40 ***@***.*** 256gig PowerEdge R620 off eBay that eventually have a VM with the TPU passed through. Well technically is a dual processor config with 10 cores each and hyper-threading so a total of 40 manageable CPU cores. I though about looking for a good PCIe TPU/GPU card along with a Haupeg encoder/decoder. But the Haupeg I currently have I don’t think will handle certain digital things.
What we need is an all in one hardware solution that does NVR with detection, recognition, and verification, that can handle let’s say 20 streams PoE. It wouldn’t be cheap cause you would have to virtualization inside and would need enough power to handle that and also have 2.5/5GBE interfaces. I wonder if you could use a kubernet cluster of something similar to the Nano.
Since the Nano has been declared EOL, the developer of the DeepStack interface has decided to no longer maintain support for it on the Nano so we’re going to have to find another choice or run at a lower software version with possible security issues.
On Feb 8, 2022, at 2:09 PM, Joe Morris ***@***.***> wrote:
I have Frigate running on a jetson nano. I then spun up a 2nd jetson nano and am trying to install deepstate on it. That is when I ran into the docker version issue. I plan to also put Doubletake and Compreface on the 2nd nano. All of this will feed node-red via MQTT. From node-red I can pretty do anything I want. My first attempt will be to have Alexa announce who is at the door.
—
Reply to this email directly, view it on GitHub<#2752 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACGXNJH3JD7X6QKCDZPLPU3U2FZ7HANCNFSM5NURF7XQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@cap9qd Would yo u mind reposting your docker-compose file? I am trying to move to that instead of the CLI and getting errors. I am guessing there are some paste errors in the original file you uploaded? Granted, I am just learning about Docker-Compose. |
Beta Was this translation helpful? Give feedback.
-
I don't know docker and don't know what I'm doing here; I'm a total hack in
the most unflattering sense. I basically Google'd "start docker-compose at
boot" and this is the solution I found and made work.
Maybe you can shed some light on this for me? Where do you put the docker
start command and arguments? The only docker experience I have is HA
supervised which does all the bits for you... So whoops.
…On Fri, Feb 11, 2022, 08:08 Joe Morris ***@***.***> wrote:
Question, why did you create the systemd service? Doesn't Docker
automatically restart the container for you?
—
Reply to this email directly, view it on GitHub
<#2752 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIBKIUFUH5U4WH7BOZOEDLDU2UJ4BANCNFSM5NURF7XQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I guess you have the EOL right? I am able to test by doing the ole 'docker-compose up' and it works for me...
…On Fri, Feb 11, 2022, 08:17 Joe Morris ***@***.***> wrote:
I don't get why I am having so much trouble with the docker-compose.yml
file. I am getting this error:
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services: 'frigate'
Here is my docker-compose file:
version: "3.4"
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
#image: blakeblackshear/frigate:<specify_version_tag>
image: yury1sannikov/frigate.l4t:latest
shm_size: "350mb" # update for your cameras based on calculation above
runtime: nvidia
#devices:
# - /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions \
volumes:
- /home/frigate/config.yml:/config/config.yml:ro
- /home/frigate/media:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "1935:1935" # RTMP feeds
environment:
FRIGATE_RTSP_PASSWORD: "password"
NVIDIA_VISIBLE_DEVICES: all
NVIDIA_DRIVER_CAPABILITIES: compute,utility,video
—
Reply to this email directly, view it on GitHub
<#2752 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIBKIUHYLY5QPR64HXPQYUDU2UK53ANCNFSM5NURF7XQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
OT: On Sundays in the early AM I have the REO line cameras autoboot. I had created a user just for Frigate with just view access. When I looked at eh REOlink cameras this afternoon I noticed they were all failing. The user that I had set up did not exist after the reboot. Anyone else see this issue? |
Beta Was this translation helpful? Give feedback.
-
Hi folks, I added a GStreamer documentation to my PR. I will be doing a build sometime this week. Please check out the documentation, as your configuration may not be compatible with the new build. |
Beta Was this translation helpful? Give feedback.
-
My thanks for everything that you are doing. I will take some time today or tomorrow to look at the docs. |
Beta Was this translation helpful? Give feedback.
-
I see that the main Nano PR got closed. I do not know how this process works. Will a new one get opened for version 11? |
Beta Was this translation helpful? Give feedback.
-
I installed a camera directly on the nano yesterday. I cannot figure out the correct gstreamer pipe syntax to make it work. It uses a YUYV format. Help????
|
Beta Was this translation helpful? Give feedback.
-
Managed to the the ReoLink RTMP Stream to mux the aac audio and thought I'd share.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I felt like I was doing wrong cluttering up the PR comments my stuff so I moved the info here. This only works with the PR request from @yury-sannikov here: #2548
ReoLink RTMP pipelines:
This has the raw pipelines I am using:
frigate.yml.txt
Docker files:
docker-compose.yml.txt
startFrigate.sh.txt
I mistakenly mounted the localtime file from a different docker compose config; if you do this it will mess up the sync between the events DB and the recordings storeage and the web wont be able to find the recordings for the events.
Beta Was this translation helpful? Give feedback.
All reactions