motioneyeos icon indicating copy to clipboard operation
motioneyeos copied to clipboard

Vstarcam not supported in Motioneye os

Open digitalxz opened this issue 5 years ago • 9 comments
trafficstars

Hi

I have just installed motioneye os on rpi3 and while adding Vstarcam it gives an error saying its not supported. Is there any guide to fix this problem.

TIA

digitalxz avatar Jan 10 '20 13:01 digitalxz

I have tried adding these streams rtsp://192.168.1.101:10554/tcp/av0_0 and http://192.168.1.101:81/snapshot.cgi

and it doesnot works..

also why is that the username and password settings in motioneyeos revert to default whenever i refresh the page. like i change the admin and password of vstarcam and when i refresh he page its reset to default.

2 Capture

digitalxz avatar Jan 10 '20 14:01 digitalxz

Try rtsp://admin:[email protected]:10554/tcp/av0_0

(obviously replacing admin and password with the admin password for the cam) Default I believe was admin:888888

I had a vstarcam up and running last weekend on motioneyeos

Let me know if this works. Ill be playing around with my 3 vstarcams on sunday

rmuz8 avatar Jan 10 '20 19:01 rmuz8

i tried what rmuz8 suggested, but i cant add the camera as when adding admin:password (replaced it with my actual password), the camera doesnt appear to be able to be selected. so i cant add the camera. Only rtmp:192.168.1.101:10080/tcp/av0_0 gives me the camera, but it is just a blank black video feed

azelinc avatar Feb 08 '20 02:02 azelinc

@azelinc Try entering the URL this way, substituting the UN/PW for your settings: http://192.168.1.101:10080/videostream.cgi?user=USERNAME&pwd=PASSWORD

ahanifen avatar Apr 28 '20 05:04 ahanifen

Same problem for me....anyone found solution???

fratellino69 avatar Oct 04 '20 20:10 fratellino69

Same problem for me....anyone found solution???

i got it to work with this

rtsp://192.168.0.119:10554/tcp/av0_0

azelinc avatar Oct 05 '20 07:10 azelinc

me too. is possible that last version of motioneye has problems in adding cams?

Il giorno lun 5 ott 2020 alle ore 09:06 azelinc [email protected] ha scritto:

Same problem for me....anyone found solution???

i got it to work with this

rtsp://192.168.0.119:10554/tcp/av0_0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2253#issuecomment-703443294, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRZSL27VCSDZFWFQ4T3XD3SJFWATANCNFSM4KFHSAGA .

fratellino69 avatar Oct 05 '20 09:10 fratellino69

Setup: RPi0, MotionEyeOS-dev20200907, mmal + Network FosCam rtsp camera, wifi. Cannot confirm issue with adding known good Foscam to existing mmal camera (working) setup in PiZero hub setup. Same setup works with adding Network Camera (d-Link DCS-5020L) mjpeg stream. Using same setup from my primary hub (rtsp://192.168.2.15:88/videoMain, username & password, BOTH are case sensitive) camera registers correctly in Add Camera, using same video resolution and framerate, get I get the "No Camera" symbol for about 20-30 seconds, then image appears. Also work with 20200606.

On Mon, Oct 5, 2020 at 5:06 AM fratellino69 [email protected] wrote:

me too. is possible that last version of motioneye has problems in adding cams?

Il giorno lun 5 ott 2020 alle ore 09:06 azelinc [email protected] ha scritto:

Same problem for me....anyone found solution???

i got it to work with this

rtsp://192.168.0.119:10554/tcp/av0_0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/ccrisan/motioneyeos/issues/2253#issuecomment-703443294 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AMRZSL27VCSDZFWFQ4T3XD3SJFWATANCNFSM4KFHSAGA

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2253#issuecomment-703503615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHNTXS7KAILPBJB3MCDSJGEBVANCNFSM4KFHSAGA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

starbasessd avatar Oct 05 '20 11:10 starbasessd

Finally I got this Vstarcam working in motionEye.

I'm using Vstarcam c7824wip model with motionEye v. 0.42.1, Motion v. 4.3.2 running on Debian 11 within Proxmox container. Procedure likely to be be similar for other older cameras from same vendor running on motionEye.

There's two ways of getting streams from this camera to work on motionEye - either get 360p MJPG stream over HTTP or get any of the RTSP over UDP streams (720p, 480p, 180p).

  1. MJPG HTTP stream.

You have to provide link for motionEye using this syntax http://[camera ip]:[port]/videostream.cgi?user=[username]&pwd=[password]

Port above is dynamic and changes every time camera is power-cycled. You have to identify this port for your camera. There's more than one way to do it, I'm using Nmap scanning with all ports scanning option. Nmap scan output looks like this: Discovered open port 10080/tcp on 192.168.1.150 Discovered open port 56246/tcp on 192.168.1.150 Discovered open port 9600/tcp on 192.168.1.150 Discovered open port 10554/tcp on 192.168.1.150

three ports are fixed - 10080 (for ONVIF), 10554 (for RTSP), 9600. Our http port (in this case) is 56246.

So in this specific setup scenario video link would look like this: http://192.168.1.150:56246/videostream.cgi?user=admin&pwd=888888

This stream link can be processed by motionEye, however you are getting lower res than that in RTSP streams and you'll have to update port every time camera is rebooted. On the plus - http mjpg stream can be more reliable than udp rtsp.

  1. RTSP UDP stream.

You have to tell motionEye that this stream uses UDP and provide link in this syntax (for 720p stream) rtsp://[username]:[password]@[camera ip]:10554/udp/av0_0

For this in camera settings in motionEye web interface under Video Device settings, Extra Motion Options you should enter following (without quotes): "netcam_use_tcp off". Apply and reboot system or restart motioneye service.

This option sets "netcam_use_tcp off" parameter at the end of camera config file (in my case /etc/motioneye/camera-3.conf ) and these parameters are provided for motion as arguments (or smth like that).

By looking at Motion documentation it seems that Motion expects "rtsp_transport udp" parameter, but this parameter is not implemented in motionEye. Anyway netcam_use_tcp parameter seems to be working.

rtsp stream can provide higher resolution than mjpg one, but can be less reliable.

good luck,

gramasx avatar Feb 22 '22 20:02 gramasx