Motion - Support Question 2016x 05x 22x 143917

Motion doesn't resolve .local netcam_url



I'm trying to set Motion to use .local domains, but Motion doesn't resolve the address. It works only using the IP address.

the mjpeg stream address is http://DCS-930LB1_02E392.local/video.cgi

I can ping the .local address, i can curl the local address, i can resolve the local address, the OS can connect to the .local address, but Motion refuses to resolve and connect to the .local address.
$ ping DCS-930LB1_02E392.local
PING dcs-930lb1_02e392.local ( 56 data bytes
64 bytes from icmp_seq=0 ttl=64 time=4.809 ms
64 bytes from icmp_seq=1 ttl=64 time=1.752 ms

$ avahi-resolve-host-name  DCS-930LB1_02E392.local

$ curl -u admin:mypassword http://DCS-930LB1_02E392.local/video.cgi
--video boundary--
Content-length: 42288
Date: 05-22-2016 10:48:38 AM IO_00000000_PT_005_000
Content-type: image/jpeg
(mjpeg stream)

Motion verbose error is:
[1] Invalid netcam_url (http://DCS-930LB1_02E392.local/video.cgi)


Motion version: 3.2.12
ffmpeg version: 0.7.17
Libraries: ffmpeg, mysql, postgresql
Server OS: FreeBSD 10.3
-- DanielFarfan - 22 May 2016


Topic revision: r1 - 22 May 2016, DanielFarfan
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.