From: vector457 <vec...@gm...> - 2019-06-10 08:48:08
|
Hi all, installed motion on Ubuntu18 I can see both of my two network cameras using VLC. they are old cams but working. I have attached copy of motion.conf rtsp://user:password@10.0.0.78/11 {tenvis 1p391w or similar(no further info)camera} rtsp://user:password@10.0.0.90/onvif1 {sricam SP007 or similar(no further info on it)camera} I used camera1-dist.conf file for both, modifying name ,id and netcam url to create camera1.conf and camera2.conf. Problem 1 no local host view. I ran,mark@fatcat:~$ motion /[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf [0:motion] [NTC] [ALL] config_camera: Processing camera config file /etc/motion/camera1.conf [0:motion] [NTC] [ALL] motion_startup: Logging to syslog [0:motion] [NTC] [ALL] motion_startup: Motion 4.2.2 Started [0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL) [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC) [0:motion] [NTC] [STR] webu_start_strm: Starting all camera streams on port 8081 [0:motion] [NTC] [STR] webu_start_strm: Unable to start stream for camera 0 [0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 8080 [0:motion] [NTC] [STR] webu_start_ctrl: Unable to start MHD [0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 57.107.100 libavformat version 57.83.100 [0:motion] [NTC] [ALL] translate_init: Language: English [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 101 is from /etc/motion/camera1.conf [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 101 Camera Name: MyCam1 Service: rtsp: [0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 21036 [1:ml1:MyCam1] [NTC] [ALL] motion_init: Camera 101 started: motion detection Enabled [1:ml1:MyCam1] [NTC] [VID] vid_start: Opening Netcam RTSP [1:ml1:MyCam1] [NTC] [NET] netcam_rtsp_connect: Normal resolution: Camera (MyCam1) connected [1:ml1:MyCam1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items [2:nc2:MyCam1] [NTC] [NET] netcam_rtsp_handler: Normal resolution: Camera handler thread [2] started [2:nc2:MyCam1] [NTC] [NET] netcam_rtsp_connect: Normal resolution: Camera (MyCam1) connected [1:ml1:MyCam1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 4 items [1:ml1:MyCam1] [NTC] [EVT] event_newfile: File of type 8 saved to: ./CAM01_101-01-20190610181942.mkv / The mkv is indeed in my local dir and is capturing images as expected. But yet when I go to web browser(firefox) localhost:8080 it says no cameras running. I expected to see a live view? Problem 2 camera 2 the onvif1 errors with /Unable to open camera(MyCam2): Invalid data found when processing input /not sure why its works from this url in VLC. thoughts? |