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. Resolution Issues ? Motion 4.5.1 (Barry Martin) ---------------------------------------------------------------------- Message: 1 Date: Fri, 22 Dec 2023 17:48:33 -0600 From: Barry Martin <barry3mar...@gmail.com> To: motion-user@lists.sourceforge.net Subject: [Motion-user] Resolution Issues ? Motion 4.5.1 Message-ID: <9ed54ec0-11f4-47af-a456-aa7ed6ce7...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi! Having an issue with two of three Motion stations not giving the proper resolution: stuck at 800x600; the USB cameras are capable of 1280x720 and 1920x1080 (running at 720). The old Motion (Version 4.4.0) displays 720 without problem on all three Raspberry Pi 4 (4GB) units. New Motion (Version 4.5.1) works fine on one of the units (1280x720) but the other two displaying the 800x600. Old is Bullseye, new is Bookworm. To make things easier for me with the new ?system? is I ?cloned? the SD cards: 200 = Master connects via eth0 201 Clone Connects via wlan to 192.168.4.201 202 Clone Connects via wlan to 192.168.4.202 203 Clone Connects via wlan to 192.168.4.203 203 behaves: gives a 720 image. 201 and 202 do not behave: give a 800x600 image. I also tried cloning 203 to 201 ? still got the 4:3 image. Cameras are all essentially the same: ELP brand, USB 2.0, and capable of up to 1920 (do with the old/original Motion). One thing I noted in 201 and 202?s motion.log is: v4l2_pixfmt_select: Configuration palette index 17 (YU12) for 1280x720 doesn't work. A few lines later messages of switching from 1280x720 to 800x600 Oddly enough 203 gives: vid_start: ?V4L2 device failed to open? though the image is correct. LIS all three are Raspberry Pi 4?s and the SD cards are duplicates except for the IP addresses. I did try including ?palette 8? to force the MJPG mode ? didn?t work. Motion is using camera1.conf ? I?ve changed the text and restarted Motion, rebooted the Pi ? text updates, still get the 4:3. $ cat /etc/motion/camera1.conf -------------------------------------- # /usr/etc/motion/camera1.conf # # This config file was generated by motion 4.5.1 ########################################################### # Configuration options specific to camera 1 ############################################################ # User defined name for the camera. camera_name MyCam1 # Numeric identifier for the camera. camera_id 101 # The full URL of the network camera stream. # netcam_url rtsp://yourcamera1ip:port/camera/specific/url # v4l2_palette 8 # 8 = MPJG palette 21 = H.264 but not work # Replaced by video_parms -- see https://motion-project.github.io/4.6.0/motion_config.html#video_params # Image width in pixels. width 1280 # Image height in pixels. height 720 # Text size text_scale 4 # Text to be overlayed in the lower left corner of images # text_left CAMERA 1 text_left Front Yard - CAM 1 # File name(without extension) for movies relative to target directory # movie_filename CAM01_%t-%v-%Y%m%d%H%M%S movie_filename %m-%d/%v-%Y%m%d%H%M%S <end config file> Different RPi 4?s, different cameras ? same results. Thanks in advance! Have a Merry Christmas/Happy Holiday! Barry -------------- 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 208, Issue 6 *******************************************