Motion - Support Question 2015x 07x 27x 184223

Authentication error with RTSP


I am trying to connect a Foscam FI9803P V2 to motion. The cam only supports RTSP with authentication. I tried 2 different settings in motion.conf which both result in the same error.

Using rtsp://testuser:testpassword@ in VLC just works fine.

Any suggestions what I might do wrong?

netcam_url rtsp://testuser:testpassword@

netcam_userpass testuser:testpassword
netcam_url rtsp://

[2] [ALR] [NET] netcam_start: Network Camera thread starting... for url (rtsp://testuser:testpassword@
[2] [ALR] [NET] rtsp_connect: unable to open input(rtsp:// -825242872 - Server returned 401 Unauthorized (authorization failed)
Segmentation fault (core dumped)


Motion version: trunkREV561
ffmpeg version: N-74035-g4b90dcb
Libraries: ffmpeg, mysql, postgresql
Server OS: Ubuntu 14.04.2 LTS
-- DanielLettau - 27 Jul 2015


Topic revision: r1 - 27 Jul 2015, DanielLettau
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.