motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.97k stars 651 forks source link

RTSP-No connection #118

Closed andre1000 closed 8 years ago

andre1000 commented 8 years ago

I have a problem with the connection of a IP-cam via rtsp protocol. The connection with VLC with rtsp://192.168.x.x:554/onvif1 works fine.

When I use the same address in motion I become the following message:

A other rtsp cam works fine with motion Thanks, André

ccrisan commented 8 years ago

This is a motion-related issue and cannot be fixed or worked around by motionEye.

andsk8 commented 7 years ago

I have the same problem. I have motion working with one cam perfectly. TP-Link NC250. As soon as I change the ip to the other cam I receive all the same errors than you. Both cams are the same, and both work on vlc with the same kind of url. rtsp://user:pass@host:554/h264_hd.sdp Any advice? Thanks!

asquelt commented 7 years ago

same problem here: rtsp://192.168.111.218:554/onvif1 works fine under vlc. returns "Invalid data found when processing input" under motion. it's most likely some missing library. camera is Digoo DG M1Q.

ccrisan commented 7 years ago

@asquelt see this for details on how to report this to motion.

dbk3r commented 7 years ago

add rtsp_uses_tcp off

in motion.conf to force udp transport

jeanbruder-zz commented 6 years ago

@dbk3r : Thx so much ! This solved my issue with motion and my SRICAM SP009 !

gusarg81 commented 5 years ago

add rtsp_uses_tcp off

in motion.conf to force udp transport

Solved for me to for SRICAM SP017! Thanks!! In my case I just added this param to this IPCAM (and not entire motion config).

btpys commented 5 years ago

add rtsp_uses_tcp off

in motion.conf to force udp transport

Thx! solved it for a Besder (Yoosee 6024PW-JW201) as this cam only works with UDP.

  1. Find the cam config file, it should be something like this: /data/etc/thread-X.config
  2. add: rtsp_uses_tcp off
  3. Reboot SO.
bianco-ciro commented 5 years ago

add rtsp_uses_tcp off in motion.conf to force udp transport

Solved for me to for SRICAM SP017! Thanks!! In my case I just added this param to this IPCAM (and not entire motion config).

How you have do that ?

gusarg81 commented 5 years ago

add rtsp_uses_tcp off in motion.conf to force udp transport

Solved for me to for SRICAM SP017! Thanks!! In my case I just added this param to this IPCAM (and not entire motion config).

How you have do that ?

You have to add that line to the ipcam config.