-
Notifications
You must be signed in to change notification settings - Fork 152
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
Everything works fine with Argus Eco, but I cannot connect to stream in VLC player #326
Comments
The error usually means that you are missing the necessary gstremers plugins. What is your OS and how did you install gstreamer? |
I'm using Windows 10 64bit home edition. I downloaded this version of gstreamer : From this webpage : And then from " MSVC 64-bit VS 2019 " I downloaded the 1.20.4 runtime installer After installing it, and added the path variables, I still couldn't get neolink to find the gstreamer binaries. So I copied all the files in the bin folder of gstreamer to the neolink folder to run them directly from there. |
I have a feeling that your copy everything to the neolink folder will let it load the core gstreamer libraries but not the needed plugin ones. If you are using the 1.20 msi the PATH variable should be a little different to what we suggest in the readme. What path variable did you add? |
Just this one: When I did this, it didn't work, so I had to copy all of inside bin folder to neolink folder |
You have checked that the path exists and contains the needed files then? If so could you try running |
I ran this command inside neolink folder where I added all bin content of gstreamer
But when I run And I also get this :
|
Yeah I think remove the gstremers that you put into the neolink folder and try and get it working with just PATH changes. May I ask how you edited the PATH variable? Was it though terminal commands or through the computer settings gui? I think once we get gstreamer installed correctly you are good to go. |
I am not sure but I might have the same problem? I installed gstreamer in default location and set PATH via advanced system settings > environment variables. I have confirmed with echo %PATH% that it is correct. When I run gst-inspect-1.0 I get the same error: If I try to load the stream in VLC it just says failed to load and the error log is blank. |
Yeah gstreamer error are mostly hidden. Since you have errors with gst-insepect this is most likely coming from issues with the setup of gstreamer. We need to find out what is up here before we can proceed. What is your gstreamer version and what is the value of the environmental variable Neolink won't report most gstreamer related errors until you get to streaming and even then they are hidden by default unless the This is because until streaming neolink is just talking to the camera so there's no error there and at straeming we delegate to gstreamer and gstreamer hides the error messages unless that variable is set. |
We don't require the app (gst-plugins-base): For the link from neolink to gstreamer Can you confirm your |
If you set the enironmental variable |
GStreamer version is 1.20.4, same as the above. GSTREAMER_1_0_ROOT_MSVC_X86_64 is set to D:\gstreamer\1.0\msvc_x86_64\ (By the way, the Readme.md instructions use My PATH has D:\gstreamer\1.0\msvc_x86_64\bin in it. gst-inspect-1.0 shows 164 plugins and 789 features including: When I set GST_DEBUG to 3 and run neolink I get a new error message that was not displayed before:
And it is followed by this same error message I have had all along:
|
I have looked in D:\gstreamer\1.0\msvc_x86_64\lib\ and there is no .dll there. That missing .dll is in the subfolder D:\gstreamer\1.0\msvc_x86_64\lib\gstreamer-1.0 |
Looks like your missing a dependency of gstreamer. Do you have the I have read somewhere that you might need to add Also gstreamer changed it from |
If you can perhaps try
|
It isn't missing, some code somewhere is looking for it in the wrong place, in |
I have tried valiantly but I can't even find a place to get dumpbin (I do have Visual Studio but can't find it in the directories anywhere) |
Maybe we should try switching to an older gstreamer until they sort out the packaging for it properly. Perhaps try the 1.16 or 1.18 (do check the path again because they added a msvc into the directory) Also you can probably find dumpbin if you start the visual student command prompt. Usually to bring this up just starting typing visual studio into the start menu. Once in the visual studio command prompt you can just start the dumpbin command without knowing the full path. |
Ah, no luck there. Even with the Visual Studio command prompt, dumpbin is not found. I shall try downgrading gstreamer. |
I managed to get dumpbin, yay. I had to install the "C++ profiling tools" feature in Visual Studio 2022. Here's the result:
EDIT: It appears libass-9.dll is what is missing... |
Okay so we're making progress but still no joy. Downgrading to 1.18.6 got rid of the missing .dll error. When I run neolink with GST_DEBUG = 3, it starts up with no error messages. But when I attempt to load the stream in VLC it errors. VLC error log:
Debug messages in neolink:
|
From this your video is decoding ok as h264. But your missing the aac decoder plugin. If your ok with no sound you can disable that on the camera using an official app and it should work. Or see which aac plugin you need to get. Check what you have with gst-inspect and look for anything aac related. |
SUCCESS! Posting here in case others have the same issues. Changing my gstreamer install from "typical" to "complete" fixed all of the errors. There are no errors whatsoever when loading neolink or accessing the stream from VLC. Additionally I tried upgrading back to gstreamer 1.20.4. It also works properly as far as I can tell, but there ARE errors with GST_DEBUG = 3. So I am going to stick to the error-free 1.18.6 I think. TLDR version: Install older version gstreamer 1.18.6 "complete" (not "typical") to get neolink working perfectly. |
That's good news. if I recall we needed complete for a similar issue before maybe #119. Seems like it is something we should add in the instructions. |
just to update again using 1.18.6 is ok, and 1.22.0 did not work. |
Describe the bug
When I use VLC media player to connect to rtsp I get this error from the console :
To Reproduce
My configuration file is :
The command in cmd is :
neolink rtsp --config=sample_config.toml
The command I used in VLC player for streaming is :
rtsp://127.0.0.1:8554/first_try
The result on console after running neolink is :
Expected behavior
I was expecting the VLC player to show the stream since I had no errors after running neolink on the console, and everything went okay there.
Versions
Neolink software: 0.4.0
Reolink camera model is Argus echo
and firmware is : 1030_671_488_41
The text was updated successfully, but these errors were encountered: