Closed DaniGarciaLopez closed 3 years ago
Hi, the first thing I noticed is that you got the IP-Adresses mixed up.
My tool connects to the camera, so actioncam.....
Step two is viewing the RTSP using mplay, the RTSP Server is my application, so the RTSP URL should contain your PCs IP-Address or simply localhost/127.0.0.1
If the tool isn't able to find the camera or connect at all, let me know and I will have a look if it is incompatible.
Thanks for the help!
Writting "actioncam" in terminal shows me the following error: bash: actioncam: command not found
Probably I did something wrong installing go or your library. These are the steps I followed:
wget https://storage.googleapis.com/golang/go1.10.1.linux-armv6l.tar.gz
sudo tar -C /usr/local -xvf go1.10.1.linux-armv6l.tar.gz
PATH=$PATH:/usr/local/go/bin
. ~/.profile
rm go1.10.1.linux-armv6l.tar.gz
go get github.com/jonas-koeritz/actioncam
The library is located in:
~/go/src/github.com/jonas-koeritz/actioncam
Go to the folder and run "go build ."
The binary is in the current directory so "./actioncam" should be correct.
Using "go run" is okay too, it shouldn't make a difference.
I built the folder and now command "./actioncam" works.
If I dont add IP it shows: "cannot create camera without IP-Address". I tried:
./actioncam 127.0.0.1
./actioncam 192.168.1.1
Both show connection refused error. How can I know the IP of my camera?
Looks like it might not be compatible if it didn't find it automatically. I'll have a look at your camera and get back to you soon!
Is your PC connected to your cameras wifi?
Yes. Using the following command I have access to video stream:
mplayer -nocache rtsp://192.168.1.1/MJPG
A lot of packages are missed, it shows me every 3-4 seconds a new frame. Anyway, this doesnt bother me because I want to use your library just to take pictures and download them.
If your camera already does MJPEG streaming it might be totally incompatible. The cameras I've worked with don't do live streaming via a standard protocol at all. That's why I created the library in the first place.
I can have a look at the default app and see if I can implement the file management stuff for your cam as well.
I understand. If you can it would be great!
This post talks about the protocol that my camera uses, it might help you: http://hackeken.blogspot.com/2017/01/reverse-engineering-eken-android-app.html
Hello again Jonas! Im back with the project and I would like to use your library. Did you have time to check compatibility with Eken H8? If not I was planning to buy one of the cameras you said it is compatible, but I was trying to buy either campark or tectectec and they are not currently available in amazon. Do you have any idea of which available cameras are still compatible with your library? Thanks!
The Xpro broke a few weeks ago and I invested in a GoPro Hero 5 as replacement. If you choose any camera and tell me which app it uses natively I could have a look at it and tell if it would possibly be supported.
I was planning to buy Victure AC700. It uses this app: https://play.google.com/store/apps/details?id=com.dlk.IPCamViewer
On first glance this doesn't look like it would use the same library. If you buy on Amazon you could send it back as not fitting the intended purpose 😉
Am Mo., 20. Juli 2020 um 12:43 Uhr schrieb dgarcialopez < notifications@github.com>:
I was planning to buy Victure AC700. It uses this app: https://play.google.com/store/apps/details?id=com.dlk.IPCamViewer
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jonas-koeritz/actioncam/issues/9#issuecomment-660950818, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRPLC3R32KZJBEQKMF6J3LR4QNTTANCNFSM4NBZBHKA .
Yes hahahaha Campark X20 uses CamKing app, it should work right?
Hi! I bought and tried Campark X5 and seems that is not compatible. IP error appears ("cannot create camera without IP-Address"). How could I know which cameras might be compatible? Thanks!
Did you connect to the cameras network? This looks just like the auto discovery didn't work.
dgarcialopez notifications@github.com schrieb am Do., 30. Juli 2020, 18:34:
Hi! I bought and tried Campark X5 and seems that is not compatible. IP error appears ("cannot create camera without IP-Address"). How could I know which cameras might be compatible? Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jonas-koeritz/actioncam/issues/9#issuecomment-666510789, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRPLC6J5B5EFBQ6LLKE5STR6GOJDANCNFSM4NBZBHKA .
Yes, it is connected. I tried also using these IPs and it does not work:
./actioncam 127.0.0.1
./actioncam 192.168.1.1
You need to use the IP-Address of the camera, 127.0.0.1 is your own computer, the camera usually gives itself the .100 or another address on its own wifi. You can use Wireshark to see who's talking on the network.
dgarcialopez notifications@github.com schrieb am Do., 30. Juli 2020, 19:39:
Yes, it is connected. I tried also using these IPs and it does not work: ./actioncam 127.0.0.1 ./actioncam 192.168.1.1
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jonas-koeritz/actioncam/issues/9#issuecomment-666552872, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRPLC75ZPQDFH4JLXTCMQTR6GV5BANCNFSM4NBZBHKA .
I checked with Wireshark and looks like the IP is: 192.72.1.100. But I tried with that IP and it is not working either
I will have a look at the cameras native app tomorrow and try to determine if it should be working.
dgarcialopez notifications@github.com schrieb am Do., 30. Juli 2020, 20:27:
I checked with Wireshark and looks like the IP is: 192.72.1.100. But I tried with that IP and it is not working either
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jonas-koeritz/actioncam/issues/9#issuecomment-666583302, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRPLC6MINFQLACITVTLMMLR6G3QVANCNFSM4NBZBHKA .
Great! Thanks again :)
Doesn't look like this will be easily implementable. Closing for now.
Hello!
I'm not familiar with go lang nor rtsp connection so probably I'm doing things wrong. My camera is an Eken H8R so I'm not sure if it is completely compatible with your program either.
I managed to install go and your library in my raspberry pi. I can access to my camera stream with the following command: mplayer -nocache rtsp://192.168.1.1/MJPG
I am not sure how to execute the command to start RTSP server. I tried: go run actioncam.go 192.168.1.1, but it showed error connection refused.
I don't know if I'm doing it in a good way or it is just that my camera is not compatible. Any further help is welcome. Thanks!