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: Youtube + high resolution on Raspberry Pi (neoma...@tutanota.com) ---------------------------------------------------------------------- Message: 1 Date: Sun, 17 May 2020 21:59:59 +0200 (CEST) From: neoma...@tutanota.com To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Youtube + high resolution on Raspberry Pi Message-ID: <m7zdb2t--...@tutanota.com> Content-Type: text/plain; charset="utf-8" I don't know how to create my own.? This entire format is confusing. I followed the link at the bottom of this email and followed the instructions.? I believe I clicked a button, which sent me an email.? The email said to reply to unsubscribe.? I replied.? I got a confirmation saying I'd unsubscribed but I'm still getting emails. May 16, 2020, 12:06 by d...@howorth.org.uk: > On Sat, 16 May 2020 19:17:58 +0200 (CEST) > neomadic--- via Motion-user <motion-user@lists.sourceforge.net> wrote: > >> How does one unsubscribe from these emails? I followed the directions >> and replied to the unsubscribe email but it's not working.?? >> > > (1) why did you reply on an existing thread instead of creating your > own? > > (2) what exactly did you do and at what stage exactly did the procedure > deviate from the instructions? > > and P.S. Are you sure you unsubscribed from the address that is > subscribed? > >> May 11, 2020, 10:01 by tosi...@gmail.com: >> >> > Let's start from upgrading to the latest 4.3.1 and capturing a log >> > with -d 7 >> > >> > If you are familiar with gdb would be great to the backtrace of the >> > crash >> > >> > On Mon, May 11, 2020, 15:11 Benjamin <> bdg...@gmail.com> > wrote: >> > >> >> Hello, >> >> I'd like to build a camera for a birdhouse that does the >> >> following: >> >> - Store high resolution movies of motion events (1280x960 25fps) >> >> - Stream to Youtube at 1280x960 25fps >> >> >> >> It'll run on a Raspberry Pi 3A+. I'm testing on a Raspberry Pi 3B+ >> >> with motion 4.3.1. >> >> >> >> I thought of using gstreamer to split the camera stream to >> >> Youtube and to motion. >> >> >> >> After many trials I came up with the following pipeline. The idea >> >> is to produce 3 outputs: >> >> - stream to Youtube with silent audio (this part works well) >> >> - high resolution stream for saving movies (movie_passthrough) on >> >> /dev/video4 (v4l2loopback) >> >> - low resolution and low framerate stream for motion detection on >> >> /dev/video3 (v4l2loopback) >> >> >> >> gst-launch-1.0 -v rpicamsrc bitrate=5000000 ! \ >> >> video/x-h264,width=1280,height=960,framerate=25/1 ! \ >> >> tee name=rpicam ! \ >> >> queue ! \ >> >> h264parse ! \ >> >> flvmux name=ytmux ! \ >> >> rtmpsink location=rtmp://>> >> >> a.rtmp.youtube.com/live2/the-secret-stream-id >> >> <http://a.rtmp.youtube.com/live2/the-secret-stream-id>>> \ >> >> audiotestsrc volume=0 ! \ voaacenc ! \ ytmux. \ >> >> rpicam. ! \ >> >> queue ! \ >> >> h264parse ! \ >> >> video/x-h264,stream-format=byte-stream ! \ >> >> v4l2sink device=/dev/video4 \ >> >> rpicam. ! \ >> >> queue ! \ >> >> h264parse ! \ >> >> decodebin ! \ >> >> videorate ! \ >> >> videoscale ! \ >> >> video/x-raw,width=320,height=240,framerate=5/1 ! \ >> >> omxh264enc ! \ >> >> h264parse ! \ >> >> video/x-h264,stream-format=byte-stream ! \ >> >> v4l2sink device=/dev/video3 >> >> >> >> rpicamsrc comes from here: >> >> >> https://github.com/thaytan/gst-rpicamsrc >> >> >> >> my motion.conf file: >> >> ? ? daemon off >> >> ? ? setup_mode off >> >> >> >> ? ? log_level 6 >> >> >> >> ? ? netcam_url v4l2:///dev/video3 >> >> ? ? netcam_highres v4l2:///dev/video4 >> >> >> >> ? ? width 320 >> >> ? ? height 240 >> >> ? ? framerate 5 >> >> >> >> ? ? text_left CAMERA1 >> >> ? ? text_right %Y-%m-%d\n%T-%q >> >> >> >> ? ? emulate_motion off >> >> ? ? threshold 1500 >> >> ? ? despeckle_filter EedDl >> >> ? ? minimum_motion_frames 1 >> >> ? ? event_gap 10 >> >> ? ? pre_capture 3 >> >> ? ? post_capture 0 >> >> >> >> ? ? picture_output off >> >> ? ? picture_filename %Y%m%d%H%M%S-%q >> >> >> >> ? ? movie_output on >> >> ? ? movie_passthrough on >> >> ? ? movie_max_time 60 >> >> ? ? movie_codec mkv >> >> ? ? movie_filename %t-%v-%Y%m%d%H%M%S >> >> >> >> ? ? webcontrol_port 8080 >> >> ? ? webcontrol_localhost off >> >> ? ? webcontrol_parms 3 >> >> >> >> ? ? stream_port 8081 >> >> ? ? stream_localhost off >> >> >> >> >> >> /dev/video3 and /dev/video4 are configured like this: >> >> pi@raspberrypi /e/motion> v4l2-ctl -d3 --list-formats-ext >> >> ioctl: VIDIOC_ENUM_FMT >> >> ? ? Type: Video Capture >> >> >> >> ? ? [0]: 'H264' (H.264, compressed) >> >> ? ? ? ? Size: Discrete 320x240 >> >> ? ? ? ? ? ? Interval: Discrete 0.200s (5.000 fps) >> >> pi@raspberrypi /e/motion> v4l2-ctl -d4 --list-formats-ext >> >> ioctl: VIDIOC_ENUM_FMT >> >> ? ? Type: Video Capture >> >> >> >> ? ? [0]: 'H264' (H.264, compressed) >> >> ? ? ? ? Size: Discrete 1280x960 >> >> ? ? ? ? ? ? Interval: Discrete 0.040s (25.000 fps) >> >> >> >> >> >> The thing is I cannot get it to work reliably. Motion either stops >> >> with SIGSEGV, or I get ffmpeg decoding errors. It somewhat worked >> >> once or twice, but the stored movies were not readable (no frame >> >> error). So I guess I'm missing something or taking the wrong >> >> approach. Does someone have an idea of how I could achieve this ? >> >> Or where else I could investigate ? Maybe should I only feed the >> >> low res to motion using the videodevice parameter and use an >> >> external program for recording the high resolution stream ? >> >> >> >> Thanks for your help, >> >> >> >> Benjamin >> >> >> >> >> >> _______________________________________________ >> >> 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 167, Issue 24 ********************************************