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 (Joris)
   2. Re: Problems with mkv files (Ronnie McMaster)


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

Message: 1
Date: Sun, 2 Feb 2020 19:22:19 +0100
From: Joris <jo...@v5.be>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Problems with mkv files
Message-ID:
        <CAL_dZsknZQCCsA=crzyh4tydqa7cgu_xigz3+rcfmycsehk...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Interesting: I can view the video file in the default android player, and
using mplayer.
VLC (v3.0.8 on linux) shows the same

So not certain if the error is in vlc or in the encoding.
The easiest way forward is probably to have motion encode the video with a
different codec.


Op zo 2 feb. 2020 om 17:50 schreef Peter Zandbergen <
peter.zandber...@myhops.com>:

> 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
>
> _______________________________________________
> 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...

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

Message: 2
Date: Sun, 2 Feb 2020 11:47:39 -0700
From: Ronnie McMaster <ronnie.mcmas...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Problems with mkv files
Message-ID:
        <CAA8w+K4A-QY6AteA3DxubAK295xs0WAoA7wTsQ=oyvjcmzc...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I agree with trying a different format. The video plays in the Parole
player, but not VLC in Xubuntu.

I use AVI, but that's not an option in 4.1.1

Change *ffmpeg_video_codec mkv* to *ffmpeg_video_codec mp4*


On Sun, Feb 2, 2020 at 11:20 AM Harlan Daneker <hdane...@gmail.com> wrote:

> Your problem is with your VLC player. I just had to boot my windows 10
> computer for something and I was able to play your video with the windows
> 10 default player.
>
> On Sun, Feb 2, 2020 at 12:42 PM Harlan Daneker <hdane...@gmail.com> wrote:
>
>> I'm not the best person to be answering questions so if anybody else
>> knows please jump in. I would try a different codec mpeg4, msmpeg4 and see
>> what the result is.
>>
>> On Sun, Feb 2, 2020 at 11:48 AM Peter Zandbergen <
>> peter.zandber...@myhops.com> wrote:
>>
>>> 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
>>>
>>> _______________________________________________
>>> 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...

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



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

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 6
*******************************************

Reply via email to