Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: unable to start motion after it worked for many weeks
      (jack bean)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 May 2018 12:05:19 -0500
From: jack bean <jackiebean2...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] unable to start motion after it worked for
        many weeks
Message-ID:
        <CAF=vicojbmqtemytwymtk8f7nqv1nve0x_7wex4g+9oatnz...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

OK, i just found out what was wrong. i guess during reboot, the device
order got switched around and the external was swapped with the built in by
the OS for some reason, so it was actually in video0 instead of video1
(annoying, the first time it was the opposite way) and the way i found this
out was by opening the dev folder and unplugging the USB cord. so i just
renamed it to video0 in the config and it works now. i also noticed i had a
line for video1 in underneath video0 in the config file, so it probably
just used the last entry instead of the both of them. that was my mistake
for not removing video1, but it is still annoying they swapped on me for no
reason. initially it was named video1 and worked. is there a reason linux
would do this? maybe the first time it was used was after i plugged it in
for the first time (meaning becasue it was a new device the built in takes
video0 and the new usb camera gets assigned video1), and then after the
reboot it swapped because i left the external plugged in and it just likes
the external usb camera better? whats the deal here? very weird it would
assign the usb camera first if i leave it plugged in and second if i plug
it in long after the desktop comes up.

On Wed, May 30, 2018 at 12:12 AM, Terry Parker <terry...@gmail.com> wrote:

> Is this the config file you are editing:
> /home/stealth/.motion/motion.conf
> I ask because that is the file motion is reading. Can you post the
> contents of that file?
>
>
> On Tue, May 29, 2018 at 7:51 PM, jack bean <jackiebean2...@gmail.com>
> wrote:
>
>> no. i still have the same version of motion installed as before, i just
>> reinstalled it using the same install version i had already to make sure,
>> all this input still does not answer my question. how do i make sure i am
>> using the external camera instead of the built in camera? does the log file
>> indicate anything wrong and if so what should i be looking at in the config
>> file to correct this? this is a serious issue. i have got to have a camera
>> working while i am gone due to some security issues in my home. i am trying
>> to catch someone attempting to break in. it was working fine before and now
>> all of the sudden it wont. i don't want to catch them walking past the
>> laptop, if they even do, it would be too late then and they might not even
>> go in front of it, i want to catch them trying to jimmy the door because
>> they have already done that unsuccessfully but they keep trying.
>>
>> On Tue, May 29, 2018 at 3:35 PM, Kinney Baughman <baughma...@gmail.com>
>> wrote:
>>
>>> Any chance you went from version 3.1 to 3.2?
>>>
>>> The conf file changed considerably in that jump.  Some changes continued
>>> throughout the 3.2 branch.
>>>
>>> http://lavrsen.dk/foswiki/bin/view/Motion/UpgradingFromOlderVersion
>>>
>>> On Sat, May 26, 2018 at 2:48 PM, jack bean <jackiebean2...@gmail.com>
>>> wrote:
>>>
>>>> i had my share of hiccups starting it and getting it to record, until i
>>>> just started using sudo motion and then sudo killall motion to shut it
>>>> down. it recorded fine. i had dropbox linked to the record folder. the
>>>> config file is the same as it was when it worked, but now it will not work.
>>>> motion starts, but will not recors anything, no matter what i do, or how
>>>> many times i jump up and down in front of the camera. before it quit
>>>> working it only took a bit of movement to record video and stills. now it
>>>> wont do anything. i also reinstalled motion in synaptic.
>>>>
>>>> here is the log file in case it has something i dont recognize as the
>>>> issue.
>>>>
>>>>
>>>> [8831360] [NTC] [ALL] [May 26 13:01:59] motion_startup: Using log type
>>>> (ALL) log level (NTC)
>>>> [8831360] [NTC] [ALL] [May 26 13:01:59] become_daemon: Motion going to
>>>> daemon mode
>>>> [8831360] [NTC] [ALL] [May 26 13:01:59] become_daemon: Created process
>>>> id file /var/run/motion/motion.pid. Process ID is 31776
>>>> [8831360] [NTC] [ALL] [May 26 13:01:59] motion_startup: Motion running
>>>> as daemon process
>>>> [8831360] [NTC] [ENC] [May 26 13:01:59] ffmpeg_init: ffmpeg
>>>> LIBAVCODEC_BUILD 3685476 LIBAVFORMAT_BUILD 3680357
>>>> [0] [NTC] [ALL] [May 26 13:01:59] main: Thread 1 is from
>>>> /home/stealth/.motion/motion.conf
>>>> [0] [NTC] [ALL] [May 26 13:01:59] main: Thread 1 is device: /dev/video1
>>>> input -1
>>>> [0] [NTC] [ALL] [May 26 13:01:59] main: Stream port 8081
>>>> [0] [NTC] [ALL] [May 26 13:01:59] main: Waiting for threads to finish,
>>>> pid: 31776
>>>> [0] [NTC] [STR] [May 26 13:01:59] httpd_run: motion-httpd testing :
>>>> IPV4 addr: 127.0.0.1 port: 8080
>>>> [0] [NTC] [STR] [May 26 13:01:59] httpd_run: motion-httpd Bound : IPV4
>>>> addr: 127.0.0.1 port: 8080
>>>> [0] [NTC] [STR] [May 26 13:01:59] httpd_run:
>>>> motion-httpd/3.2.12+git20140228 running, accepting connections
>>>> [0] [NTC] [STR] [May 26 13:01:59] httpd_run: motion-httpd: waiting for
>>>> data on 127.0.0.1 port TCP 8080
>>>> [1] [NTC] [ALL] [May 26 13:01:59] motion_init: Thread 1 started ,
>>>> motion detection Enabled
>>>> [1] [NTC] [VID] [May 26 13:01:59] vid_v4lx_start: Using videodevice
>>>> /dev/video1 and input -1
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_get_capability:
>>>> ------------------------
>>>> cap.driver: "uvcvideo"
>>>> cap.card: "HP Webcam: HP Webcam"
>>>> cap.bus_info: "usb-0000:00:1d.7-5"
>>>> cap.capabilities=0x84200001
>>>> ------------------------
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_get_capability: - VIDEO_CAPTURE
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_get_capability: - STREAMING
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_select_input: name = "Camera 1",
>>>> type 0x00000002, status 00000000
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_select_input: - CAMERA
>>>> [1] [WRN] [VID] [May 26 13:01:59] v4l2_select_input: Device doesn't
>>>> support VIDIOC_G_STD
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_set_pix_format: Config palette
>>>> index 17 (YU12) doesn't work.
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_set_pix_format: Supported
>>>> palettes:
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_set_pix_format: (0) YUYV (YUYV
>>>> 4:2:2)
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_set_pix_format: 0 - YUYV 4:2:2
>>>> (compressed : 0) (0x56595559)
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_set_pix_format Selected palette
>>>> YUYV
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_do_set_pix_format: Testing
>>>> palette YUYV (320x240)
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_do_set_pix_format: Using palette
>>>> YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 00000008
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls: found control
>>>> 0x00980900, "Brightness", range -64,64
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls:     "Brightness",
>>>> default 5, current 5
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls: found control
>>>> 0x00980901, "Contrast", range 0,95
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls:     "Contrast",
>>>> default 30, current 30
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls: found control
>>>> 0x00980902, "Saturation", range 0,128
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls:     "Saturation",
>>>> default 80, current 80
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls: found control
>>>> 0x00980903, "Hue", range -40,40
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls:     "Hue",
>>>> default 0, current 0
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls: found control
>>>> 0x00980910, "Gamma", range 72,500
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls:     "Gamma",
>>>> default 120, current 120
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls: found control
>>>> 0x00980913, "Gain", range 0,100
>>>> [1] [NTC] [VID] [May 26 13:01:59] v4l2_scan_controls:     "Gain",
>>>> default 0, current 0
>>>> [1] [NTC] [VID] [May 26 13:01:59] vid_v4lx_start: Using V4L2
>>>> [1] [NTC] [ALL] [May 26 13:01:59] image_ring_resize: Resizing
>>>> pre_capture buffer to 1 items
>>>> [1] [NTC] [STR] [May 26 13:02:00] http_bindsock: motion-stream testing
>>>> : IPV4 addr: 127.0.0.1 port: 8081
>>>> [1] [NTC] [STR] [May 26 13:02:00] http_bindsock: motion-stream Bound :
>>>> IPV4 addr: 127.0.0.1 port: 8081
>>>> [1] [NTC] [ALL] [May 26 13:02:00] motion_init: Started motion-stream
>>>> server in port 8081 auth Disabled
>>>> [1] [NTC] [ALL] [May 26 13:05:05] motion_loop: End of event 1
>>>> [1] [NTC] [ALL] [May 26 13:05:05] motion_loop: Thread exiting
>>>> [1] [NTC] [STR] [May 26 13:05:05] stream_stop: Closing motion-stream
>>>> listen socket & active motion-stream sockets
>>>> [1] [NTC] [STR] [May 26 13:05:05] stream_stop: Closed motion-stream
>>>> listen socket & active motion-stream sockets
>>>> [1] [NTC] [VID] [May 26 13:05:05] vid_close: Closing video device
>>>> /dev/video1
>>>> [0] [NTC] [ALL] [May 26 13:05:05] main: Threads finished
>>>> [0] [NTC] [STR] [May 26 13:05:05] httpd_run: motion-httpd - Finishing
>>>> [0] [NTC] [STR] [May 26 13:05:05] httpd_run: motion-httpd Closing
>>>> [0] [NTC] [STR] [May 26 13:05:05] motion_web_control: motion-httpd
>>>> thread exit
>>>> [0] [NTC] [ALL] [May 26 13:05:06] main: Motion terminating
>>>> [0] [NTC] [ALL] [May 26 13:05:06] motion_remove_pid: Removed process id
>>>> file (pid file).
>>>> [0] [NTC] [ALL] [May 26 13:05:06] motion_remove_pid: Closing logfile
>>>> (/var/log/motion/motion.log).
>>>> [10338688] [NTC] [ALL] [May 26 13:18:48] motion_startup: Using log type
>>>> (ALL) log level (NTC)
>>>> [10338688] [NTC] [ALL] [May 26 13:18:48] become_daemon: Motion going to
>>>> daemon mode
>>>> [10338688] [NTC] [ALL] [May 26 13:18:48] become_daemon: Created process
>>>> id file /var/run/motion/motion.pid. Process ID is 1746
>>>> [10338688] [NTC] [ALL] [May 26 13:18:48] motion_startup: Motion running
>>>> as daemon process
>>>> [10338688] [NTC] [ENC] [May 26 13:18:48] ffmpeg_init: ffmpeg
>>>> LIBAVCODEC_BUILD 3685476 LIBAVFORMAT_BUILD 3680357
>>>> [0] [NTC] [ALL] [May 26 13:18:48] main: Thread 1 is from
>>>> /home/stealth/.motion/motion.conf
>>>> [0] [NTC] [ALL] [May 26 13:18:48] main: Thread 1 is device: /dev/video1
>>>> input -1
>>>> [0] [NTC] [ALL] [May 26 13:18:48] main: Stream port 8081
>>>> [0] [NTC] [ALL] [May 26 13:18:48] main: Waiting for threads to finish,
>>>> pid: 1746
>>>> [0] [NTC] [STR] [May 26 13:18:48] httpd_run: motion-httpd testing :
>>>> IPV4 addr: 127.0.0.1 port: 8080
>>>> [0] [NTC] [STR] [May 26 13:18:48] httpd_run: motion-httpd Bound : IPV4
>>>> addr: 127.0.0.1 port: 8080
>>>> [0] [NTC] [STR] [May 26 13:18:48] httpd_run:
>>>> motion-httpd/3.2.12+git20140228 running, accepting connections
>>>> [0] [NTC] [STR] [May 26 13:18:48] httpd_run: motion-httpd: waiting for
>>>> data on 127.0.0.1 port TCP 8080
>>>> [1] [NTC] [ALL] [May 26 13:18:48] motion_init: Thread 1 started ,
>>>> motion detection Enabled
>>>> [1] [NTC] [VID] [May 26 13:18:48] vid_v4lx_start: Using videodevice
>>>> /dev/video1 and input -1
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_get_capability:
>>>> ------------------------
>>>> cap.driver: "uvcvideo"
>>>> cap.card: "HP Webcam: HP Webcam"
>>>> cap.bus_info: "usb-0000:00:1d.7-5"
>>>> cap.capabilities=0x84200001
>>>> ------------------------
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_get_capability: - VIDEO_CAPTURE
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_get_capability: - STREAMING
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_select_input: name = "Camera 1",
>>>> type 0x00000002, status 00000000
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_select_input: - CAMERA
>>>> [1] [WRN] [VID] [May 26 13:18:48] v4l2_select_input: Device doesn't
>>>> support VIDIOC_G_STD
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_set_pix_format: Config palette
>>>> index 17 (YU12) doesn't work.
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_set_pix_format: Supported
>>>> palettes:
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_set_pix_format: (0) YUYV (YUYV
>>>> 4:2:2)
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_set_pix_format: 0 - YUYV 4:2:2
>>>> (compressed : 0) (0x56595559)
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_set_pix_format Selected palette
>>>> YUYV
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_do_set_pix_format: Testing
>>>> palette YUYV (320x240)
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_do_set_pix_format: Using palette
>>>> YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 00000008
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls: found control
>>>> 0x00980900, "Brightness", range -64,64
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls:     "Brightness",
>>>> default 5, current 5
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls: found control
>>>> 0x00980901, "Contrast", range 0,95
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls:     "Contrast",
>>>> default 30, current 30
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls: found control
>>>> 0x00980902, "Saturation", range 0,128
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls:     "Saturation",
>>>> default 80, current 80
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls: found control
>>>> 0x00980903, "Hue", range -40,40
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls:     "Hue",
>>>> default 0, current 0
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls: found control
>>>> 0x00980910, "Gamma", range 72,500
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls:     "Gamma",
>>>> default 120, current 120
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls: found control
>>>> 0x00980913, "Gain", range 0,100
>>>> [1] [NTC] [VID] [May 26 13:18:48] v4l2_scan_controls:     "Gain",
>>>> default 0, current 0
>>>> [1] [NTC] [VID] [May 26 13:18:48] vid_v4lx_start: Using V4L2
>>>> [1] [NTC] [ALL] [May 26 13:18:48] image_ring_resize: Resizing
>>>> pre_capture buffer to 1 items
>>>> [1] [NTC] [STR] [May 26 13:18:49] http_bindsock: motion-stream testing
>>>> : IPV4 addr: 127.0.0.1 port: 8081
>>>> [1] [NTC] [STR] [May 26 13:18:49] http_bindsock: motion-stream Bound :
>>>> IPV4 addr: 127.0.0.1 port: 8081
>>>> [1] [NTC] [ALL] [May 26 13:18:49] motion_init: Started motion-stream
>>>> server in port 8081 auth Disabled
>>>> [1] [NTC] [ALL] [May 26 13:21:07] motion_loop: End of event 1
>>>> [1] [NTC] [ALL] [May 26 13:21:07] motion_loop: Thread exiting
>>>> [1] [NTC] [STR] [May 26 13:21:07] stream_stop: Closing motion-stream
>>>> listen socket & active motion-stream sockets
>>>> [1] [NTC] [STR] [May 26 13:21:07] stream_stop: Closed motion-stream
>>>> listen socket & active motion-stream sockets
>>>> [1] [NTC] [VID] [May 26 13:21:07] vid_close: Closing video device
>>>> /dev/video1
>>>> [0] [NTC] [ALL] [May 26 13:21:07] main: Threads finished
>>>> [0] [NTC] [STR] [May 26 13:21:07] httpd_run: motion-httpd - Finishing
>>>> [0] [NTC] [STR] [May 26 13:21:07] httpd_run: motion-httpd Closing
>>>> [0] [NTC] [STR] [May 26 13:21:07] motion_web_control: motion-httpd
>>>> thread exit
>>>> [0] [NTC] [ALL] [May 26 13:21:08] main: Motion terminating
>>>> [0] [NTC] [ALL] [May 26 13:21:08] motion_remove_pid: Removed process id
>>>> file (pid file).
>>>> [0] [NTC] [ALL] [May 26 13:21:08] motion_remove_pid: Closing logfile
>>>> (/var/log/motion/motion.log).
>>>>
>>>> where it says devices, it indicates it is trying to use the internal
>>>> webcam instead of the external one, but why did it revert to that when i
>>>> specifically changed it in the config file?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> Motion-user mailing list
>>>> Motion-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>>> https://motion-project.github.io/
>>>>
>>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>>>>
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Motion-user mailing list
>>> Motion-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>> https://motion-project.github.io/
>>>
>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Motion-user mailing list
>> Motion-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> https://motion-project.github.io/
>>
>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 143, Issue 41
********************************************

Reply via email to