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: Problems with mkv files (Peter Zandbergen)


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

Message: 1
Date: Sun, 2 Feb 2020 17:46:46 +0100
From: Peter Zandbergen <peter.zandber...@myhops.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Problems with mkv files
Message-ID:
        <CAGr=_=neq+kx0jdq6r2fm7abadskjtyu5gyxcr1gts6oyq-...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I attached the conf file, as distributed by apt for raspbian.

I followed the manual and also installed the driver for the Pi camera, see
the lsmod output.

This setup gives me mkv video files with a still picture.

I have attached the video file for the second event, I uncovered the
camera, waved and then covered it.

Thanks for looking into this.

Peter Zandbergen
Tel: +31 6 460 55 872

linkedIn: peterzandbergen <https://www.linkedin.com/in/peterzandbergen>


On Sun, 2 Feb 2020 at 16:25, Harlan Daneker <hdane...@gmail.com> wrote:

> Conf file would give more information
>
> On Sun, Feb 2, 2020 at 10:17 AM Peter Zandbergen <
> peter.zandber...@myhops.com> wrote:
>
>> Hi,
>>
>> I have installed motion on a raspberry pi zero using the apt package. I
>> added the driver for the Pi camera and managed to get a running image with
>> proper detection in the browser on port 8081.
>>
>> After seeing that a few events had been recorded to the target directory
>> I copied them to my W10 pc and tried to play them with VLC. What I saw was
>> a still picture of the first frame, no running video.
>>
>> Some suggestions on how to fix this?
>>
>> Log is below and video file added.
>>
>> Cheers,
>>
>> Peter Zandbergen
>> Tel: +31 6 460 55 872
>>
>> linkedIn: peterzandbergen <https://www.linkedin.com/in/peterzandbergen>
>>
>>
>>
>> LOG
>>
>> ======
>> ------------------------
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_get_capability: - VIDEO_CAPTURE
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_get_capability: - VIDEO_OVERLAY
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_get_capability: - READWRITE
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_get_capability: - STREAMING
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_select_input: name = "Camera
>> 0", type 0x00000002, status 00000000
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_select_input: - CAMERA
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_select_input: Device does not
>> support specifying PAL/NTSC norm
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_do_set_pix_format: Testing
>> palette YU12 (320x240)
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_do_set_pix_format: Using
>> palette YU12 (320x240) bytesperlines 320 sizeimage 115200 colorspace
>> 00000001
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls: found control
>> 0x00980900, "Brightness", range 0,100
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls:
>> "Brightness", default 50, current 50
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls: found control
>> 0x00980901, "Contrast", range -100,100
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls:
>> "Contrast", default 0, current 0
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls: found control
>> 0x00980902, "Saturation", range -100,100
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls:
>> "Saturation", default 0, current 0
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls: found control
>> 0x00980918, "Power Line Frequency", range 0,3
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls:       "Power
>> Line Frequency", default 1, current 1
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls: found control
>> 0x0098090e, "Red Balance", range 1,7999
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls:       "Red
>> Balance", default 1000, current 1000
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls: found control
>> 0x0098090f, "Blue Balance", range 1,7999
>> [1:ml1] [NTC] [VID] [Feb 01 14:16:41] v4l2_scan_controls:       "Blue
>> Balance", default 1000, current 1000
>> [1:ml1] [NTC] [ALL] [Feb 01 14:16:41] image_ring_resize: Resizing
>> pre_capture buffer to 1 items
>> [1:ml1] [NTC] [STR] [Feb 01 14:16:41] http_bindsock: listening on any
>> IPv4 address port 8081
>> [1:ml1] [NTC] [ALL] [Feb 01 14:16:41] motion_init: Started motion-stream
>> server on port 8081 (auth Disabled)
>> [1:ml1] [NTC] [EVT] [Feb 01 14:16:46] event_newfile: File of type 8 saved
>> to: /var/lib/motion/01-20200201141646.mkv
>> [1:ml1] [NTC] [ALL] [Feb 01 14:16:46] motion_detected: Motion detected -
>> starting event 1
>> [1:ml1] [NTC] [ALL] [Feb 01 14:20:00] mlp_actions: End of event 1
>> [1:ml1] [NTC] [EVT] [Feb 01 14:20:37] event_newfile: File of type 8 saved
>> to: /var/lib/motion/02-20200201142037.mkv
>> [1:ml1] [NTC] [ALL] [Feb 01 14:20:37] motion_detected: Motion detected -
>> starting event 2
>> [1:ml1] [NTC] [ALL] [Feb 01 14:21:56] mlp_actions: End of event 2
>> [1:ml1] [NTC] [EVT] [Feb 01 14:22:19] event_newfile: File of type 8 saved
>> to: /var/lib/motion/03-20200201142219.mkv
>> [1:ml1] [NTC] [ALL] [Feb 01 14:22:19] motion_detected: Motion detected -
>> starting event 3
>> [1:ml1] [NTC] [ALL] [Feb 01 14:23:51] mlp_actions: End of event 3
>> [1:ml1] [NTC] [EVT] [Feb 01 14:23:58] event_newfile: File of type 8 saved
>> to: /var/lib/motion/04-20200201142358.mkv
>> [1:ml1] [NTC] [ALL] [Feb 01 14:23:58] motion_detected: Motion detected -
>> starting event 4
>> [1:ml1] [NTC] [ALL] [Feb 01 14:30:30] mlp_actions: End of event 4
>> [1:ml1] [NTC] [EVT] [Feb 01 14:30:54] event_newfile: File of type 8 saved
>> to: /var/lib/motion/05-20200201143054.mkv
>> [1:ml1] [NTC] [ALL] [Feb 01 14:30:54] motion_detected: Motion detected -
>> starting event 5
>> [1:ml1] [NTC] [ALL] [Feb 01 14:32:44] mlp_actions: End of event 5
>> [1:ml1] [NTC] [EVT] [Feb 01 14:34:33] event_newfile: File of type 8 saved
>> to: /var/lib/motion/06-20200201143432.mkv
>> [1:ml1] [NTC] [ALL] [Feb 01 14:34:33] motion_detected: Motion detected -
>> starting event 6
>> [1:ml1] [NTC] [ALL] [Feb 01 14:36:09] mlp_actions: End of event 6
>> [1:ml1] [NTC] [EVT] [Feb 01 14:37:39] event_newfile: File of type 8 saved
>> to: /var/lib/motion/07-20200201143739.mkv
>> [1:ml1] [NTC] [ALL] [Feb 01 14:37:39] motion_detected: Motion detected -
>> starting event 7
>> [1:ml1] [NTC] [ALL] [Feb 01 14:48:29] mlp_actions: End of event 7
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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...
-------------- next part --------------
# Commands executed to install motion

sudo apt update -y && sudo apt full-upgrade -y && sudo apt install motion -y
sudo modprobe bcm2835-v4l2

# Module list:
lsmod

Module                  Size  Used by
bnep                   20480  2
hci_uart               40960  1
btbcm                  16384  1 hci_uart
serdev                 20480  1 hci_uart
bluetooth             409600  24 hci_uart,bnep,btbcm
ecdh_generic           28672  1 bluetooth
8021q                  32768  0
garp                   16384  1 8021q
stp                    16384  1 garp
llc                    16384  2 garp,stp
brcmfmac              290816  0
brcmutil               16384  1 brcmfmac
sha256_generic         20480  0
raspberrypi_hwmon      16384  0
hwmon                  16384  1 raspberrypi_hwmon
cfg80211              643072  1 brcmfmac
snd_bcm2835            24576  1
snd_pcm                98304  1 snd_bcm2835
rfkill                 28672  6 bluetooth,cfg80211
snd_timer              32768  1 snd_pcm
bcm2835_codec          36864  0
snd                    73728  5 snd_timer,snd_bcm2835,snd_pcm
bcm2835_v4l2           45056  0
v4l2_mem2mem           24576  1 bcm2835_codec
bcm2835_mmal_vchiq     32768  2 bcm2835_codec,bcm2835_v4l2
v4l2_common            16384  1 bcm2835_v4l2
videobuf2_dma_contig    20480  1 bcm2835_codec
videobuf2_vmalloc      16384  1 bcm2835_v4l2
videobuf2_memops       16384  2 videobuf2_dma_contig,videobuf2_vmalloc
videobuf2_v4l2         24576  3 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common       45056  4 
bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
videodev              192512  6 
bcm2835_codec,v4l2_common,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v
media                  36864  3 bcm2835_codec,videodev,v4l2_mem2mem
vc_sm_cma              36864  1 bcm2835_mmal_vchiq
uio_pdrv_genirq        16384  0
uio                    20480  1 uio_pdrv_genirq
fixed                  16384  0
ip_tables              24576  0
x_tables               32768  1 ip_tables
ipv6                  446464  20



-------------- next part --------------
A non-text attachment was scrubbed...
Name: motion.conf
Type: application/octet-stream
Size: 27694 bytes
Desc: not available
-------------- next part --------------
A non-text attachment was scrubbed...
Name: motion.log
Type: application/octet-stream
Size: 4314 bytes
Desc: not available
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-20200202173955.mkv
Type: video/x-matroska
Size: 92650 bytes
Desc: not available

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



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

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 164, Issue 4
*******************************************

Reply via email to