From: vector457 <vec...@gm...> - 2019-06-11 09:30:35
|
awesome that did it thankyou On 11/6/19 7:18 pm, tosiara wrote: > Your camera does not support TCP transport. Change your config to: > netcam_use_tcp off > > On Tue, Jun 11, 2019 at 12:11 PM vector457 <vec...@gm...> wrote: >> thanks please find attached..looks like a "transport" error? >> >> On 11/6/19 5:17 pm, tosiara wrote: >>> Please provide full log with -d 7 command line switch >>> >>> On Mon, Jun 10, 2019 at 11:03 PM vector457 <vec...@gm...> wrote: >>>> thanks for reply. >>>> Strange. This morning i tried locahost:8080 and cam1 appeared so that seems to be working now. Not sure why it wasnt last night. What was interesting last night when it wasnt was that the Camera list was the default Camera1 and not what I had renamed it too, as if localhost wasnt using the conf file info. This morning its indeed using the renamed cameras. Browser cache problem? Even tho I tried a number of refresh. >>>> Browser running from the same machine as motion is. >>>> >>>> tried ffplay rtsp://user:pswd@10.0.0.90/onvif1, worked as expected. >>>> tried restarting motion same problem >>>> >>>> [2:ml2:MyCam2] [NTC] [ALL] motion_loop: Thread exiting >>>> [0:motion] [NTC] [ALL] main: Motion thread 2 restart >>>> [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 102 is from /etc/motion/camera2.conf >>>> [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 102 Camera Name: MyCam2 Service: rtsp: >>>> [2:ml2:MyCam2] [NTC] [ALL] motion_init: Camera 102 started: motion detection Enabled >>>> [2:ml2:MyCam2] [NTC] [VID] vid_start: Opening Netcam RTSP >>>> [2:ml2:MyCam2] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: Unable to open camera(MyCam2): Invalid data found when processing input >>>> [2:ml2:MyCam2] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down complete. >>>> [2:ml2:MyCam2] [ERR] [VID] vid_start: Netcam RTSP failed to open >>>> [2:ml2:MyCam2] [WRN] [ALL] motion_init: Could not fetch initial image from camera >>>> >>>> >>>> On 11/6/19 12:44 am, tosiara wrote: >>>> >>>> 1. You can't see the stream, probably, because you are trying from >>>> another machine? >>>> Try to set "stream_localhost off". Will that work? >>>> I wonder how does it "say no cameras running"? Provide either log or >>>> screenshot of the message >>>> >>>> 2. What URL is used for camera? Please provide the full log >>>> >>>> Do not use VLC for verification. Always test with "ffplay" >>>> >>>> On Mon, Jun 10, 2019 at 11:48 AM vector457 <vec...@gm...> wrote: >>>> >>>> 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? >>>> >>>> _______________________________________________ >>>> Motion-user mailing list >>>> Mot...@li... >>>> https://lists.sourceforge.net/lists/listinfo/motion-user >>>> https://motion-project.github.io/ >>>> >>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >>>> >>>> _______________________________________________ >>>> Motion-user mailing list >>>> Mot...@li... >>>> https://lists.sourceforge.net/lists/listinfo/motion-user >>>> https://motion-project.github.io/ >>>> >>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >>>> >>>> >>> _______________________________________________ >>> Motion-user mailing list >>> Mot...@li... >>> https://lists.sourceforge.net/lists/listinfo/motion-user >>> https://motion-project.github.io/ >>> >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> >> _______________________________________________ >> Motion-user mailing list >> Mot...@li... >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user |