-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to improve the latency sourcing video with rtsp? #56
Comments
Could you please check where the latency comes from? |
I think it might do with the python test script so I directly run a launch file modified to my rtsp source, but the latency has no improvement. Also, there pops out an error message "(image_raw: 15196) g_object_unref: assertion 'G_IS_OBJECT (object)' failed". |
I'm also experiencing significant lag with this node. I'm not sure how I can determine if it comes from the camera or the OpenCV decoding. Any ideas on how to troubleshoot this problem? |
You can try to build a minimal example of an OpenCV app to open the stream.
Even thought... That's mainly what this repo does with extra options.
If it happens also with the python testing script... It may be that the
backend OpenCV is using is not good for you.
I'd advise to try gscam also.
…On Tue, Jan 28, 2020, 22:04 Alexander Rössler ***@***.***> wrote:
I'm also experiencing significant lag with this node. I'm not sure how I
can determine if it comes from the camera or the OpenCV decoding. Any ideas
on how to troubleshoot this problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#56?email_source=notifications&email_token=AANEK5EM4DA7SFYUPA3KOOLRAAGNJA5CNFSM4KAPQ2WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKC4UJQ#issuecomment-579193382>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANEK5DCPWKV72NGEQJHILLRAAGNJANCNFSM4KAPQ2WA>
.
|
Hey @machinekoder or @D7823 , did you find a way to get less latency on the rtsp stream? Either with this node or a different one? Someone else may be having a similar issue in #64 so it would be nice to see how to deal with this situation (and maybe improve it in this project if there is a way). |
My case may be a bit different. Still using this node, I directly connected two machines through the ethernet cable and setting up the static IP addresses. With this setting, I didn't measure the actual latency but at least no obvious latency observed by bare eyes. |
@D7823 Thanks for the update. It makes a lot of sense that just reducing network delay will make things work more smoothly. |
Hi all,
I try to use this driver to stream video through rtsp for a SLAM task. But when I run the testing python script to test the video source, I find the video has a big latency, like about 10 seconds which is intolerable to my project. Is there any method to narrow the latency?
Thanks in advance.
Duncan
The text was updated successfully, but these errors were encountered: