Motioneye: RTSP-No connection

Created on 3 Feb 2016  路  10Comments  路  Source: ccrisan/motioneye

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:

  • netcam_start: Network Camera thread starting... for url (rtsp://192.168.x.x:554/onvif1)
  • netcam_rtsp_open_context: Using tcp transport
  • netcam_rtsp_open_context: unable to open input(rtsp://192.168.x.x:554/onvif1): Invalid data found when processing input

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

invalid

Most helpful comment

add
rtsp_uses_tcp off

in motion.conf to force udp transport

All 10 comments

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

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!

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.

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

add
rtsp_uses_tcp off

in motion.conf to force udp transport

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

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).

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.

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 ?

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeff-h picture jeff-h  路  5Comments

mbrivio picture mbrivio  路  4Comments

chrivosie picture chrivosie  路  5Comments

vtrack picture vtrack  路  6Comments

asquelt picture asquelt  路  4Comments