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. PiNoir camera: bright at 800x600, dark at higher res?
      (Mathias Koerber)


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

Message: 1
Date: Sat, 25 Dec 2021 22:10:58 +0800
From: Mathias Koerber <math...@koerber.org>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] PiNoir camera: bright at 800x600, dark at
        higher res?
Message-ID: <c4f43f39-d0ce-1f7f-81f7-ac4756dff...@koerber.org>
Content-Type: text/plain; charset=UTF-8; format=flowed

I just re-built my Motion Rpi using a RpI 3 with a PiNoir V2
camera (using v4l2, as installed from apt-get)

I find that at 800x600 resolution, the camera yield bright picgtures, 
but if I try higher resolutions (1024x768, 1600x1200) it gets very dark

I also find that auto-brightness has no effect afaics.

Does anyone have any tips on how to get a higher-resolution
but bright picture?

thx


Here is my config
> daemon off
> setup_mode off
> emulate_motion off
> log_file /var/log/motion/motion.log
> log_level 6
> target_dir /var/lib/motion
> 
> videodevice /dev/video0
> width 800
> height 600
> auto-brightness 2
> 
> framerate 15
> text_left DOORBELL
> text_right %Y-%m-%d\n%T-%q
> 
> threshold 1500
> despeckle_filter EedDl
> minimum_motion_frames 3
> event_gap 60
> pre_capture 10
> post_capture 30
> lightswitch_percent 85
> 
> picture_output best
> picture_filename %Y%m%d_%H%M%S-%q
> 
> movie_output on
> movie_max_time 60
> #movie_quality 45
> movie_quality 60
> movie_codec mp4
> movie_filename %t-%v-%Y%m%d_%H%M%S
> rotate 90
> movie_max_time 300
> 
> webcontrol_port 8080
> webcontrol_localhost off
> webcontrol_parms 2
> 
> # The port number for the live stream.
> stream_port 8081
> stream_localhost off
> stream_preview_scale 25
> 
> locate_motion_mode on
> locate_motion_style redbox
> text_left "Doorbell\n%wx%h\nFrame: %q FPS: %{fps}"
> text_right "%v\n%Y-%m-%d\n%T"
> text_changes on
> text_scale 2


and here output from v4l2-ctl --all:

> Driver Info:
>         Driver name      : bm2835 mmal
>         Card type        : mmal service 16.1
>         Bus info         : platform:bcm2835-v4l2-0
>         Driver version   : 5.10.63
>         Capabilities     : 0x85200005
>                 Video Capture
>                 Video Overlay
>                 Read/Write
>                 Streaming
>                 Extended Pix Format
>                 Device Capabilities
>         Device Caps      : 0x05200005
>                 Video Capture
>                 Video Overlay
>                 Read/Write
>                 Streaming
>                 Extended Pix Format
> Priority: 2
> Video input : 0 (Camera 0: ok)
> Format Video Capture:
>         Width/Height      : 800/600
>         Pixel Format      : 'YU12' (Planar YUV 4:2:0)
>         Field             : None
>         Bytes per Line    : 800
>         Size Image        : 729600
>         Colorspace        : SMPTE 170M
>         Transfer Function : Default (maps to Rec. 709)
>         YCbCr/HSV Encoding: Default (maps to ITU-R 601)
>         Quantization      : Default (maps to Limited Range)
>         Flags             :
> Format Video Overlay:
>         Left/Top    : 150/50
>         Width/Height: 1024/768
>         Field       : None
>         Chroma Key  : 0x00000000
>         Global Alpha: 0xff
>         Clip Count  : 0
>         Clip Bitmap : No
> Framebuffer Format:
>         Capability    : Extern Overlay
>                         Global Alpha
>         Flags         : Overlay Matches Capture/Output Size
>         Width         : 800
>         Height        : 608
>         Pixel Format  : 'YU12'
> Streaming Parameters Video Capture:
>         Capabilities     : timeperframe
>         Frames per second: 15.000 (15/1)
>         Read buffers     : 1
> 
> User Controls
[...]



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



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

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

Reply via email to