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: SRT streaming support (MrDave) 2. annoying file save (Richard Bown) 3. Re: SRT streaming support (Dave Blanchard) 4. Re: SRT streaming support (MrDave) ---------------------------------------------------------------------- Message: 1 Date: Fri, 23 Dec 2022 09:54:41 -0700 From: MrDave <motionmrd...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] SRT streaming support Message-ID: <e885a365-1d35-7f24-261d-922bb5fc9...@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed With the revisions in the latest versions of Motion, if it plays with ffplay, then it should work by specifying it as the netcam_url parameter.? The edits limiting the accepted protocols have been removed.? You can also add whichever ffmpeg parameters are needed in the netcam_params. Motion would also work with the workaround you are trying on gstreamer.? That is, have ffmpeg grab the stream and send it to a v4l2 loopback device that Motion would then use. On 12/23/2022 2:04 AM, Dave Blanchard wrote: > Hello, are there any plans to support SRT streaming protocol? I have been > slamming my head into a brick wall this entire day trying to get v4l2loopback > or ANYTHING to work right in gstreamer, to no avail. So far I'm only able to > get SRT or RTP working at all. I'd really like to use SRT exclusively as it > just plain works better than anything else. In the RTMP code it says motion > could be extended to support whatever streaming formats ffmpeg supports, > which does include SRT. What would it take, in general, to add in SRT support > to motion? Thanks. > ------------------------------ Message: 2 Date: Fri, 23 Dec 2022 17:24:06 +0000 From: Richard Bown <rich...@g8jvm.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: [Motion-user] annoying file save Message-ID: <27163f3c048e6be63897c80e986a6bbc5a1f5d37.ca...@g8jvm.com> Content-Type: text/plain; charset="UTF-8" Hi For a long time when I look through the save videos of recorded movement there is always one or two text messages that show up Headed "ABC" with a load of text underneath which looks like its in latin Anyway to switch these off HC&HNY -- --? ?Best wishes /73? ?Richard Bown ? ------------------------------ Message: 3 Date: Fri, 23 Dec 2022 12:12:04 -0600 From: Dave Blanchard <d...@killthe.net> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] SRT streaming support Message-ID: <20221223121204.ae2ff56a2e7e4d980de70...@killthe.net> Content-Type: text/plain; charset=ISO-8859-1 On Fri, 23 Dec 2022 09:54:41 -0700 MrDave <motionmrd...@gmail.com> wrote: > With the revisions in the latest versions of Motion, if it plays with > ffplay, then it should work by specifying it as the netcam_url > parameter.? The edits limiting the accepted protocols have been > removed.? You can also add whichever ffmpeg parameters are needed in the > netcam_params. Awesome!! > Motion would also work with the workaround you are trying on gstreamer.? > That is, have ffmpeg grab the stream and send it to a v4l2 loopback > device that Motion would then use. That's what I ended up doing, after spending literally the entire day trying to get gstreamer to work right. What incredibly annoying software. Amazing how quick and simple it was, with ffmpeg. Still, it would be easier for me just to stream directly from SRT. Can you give me a example of how the netcam_url is supposed to be formatted, with an option or two being passed to ffmpeg? I'm unclear as to how that works. Is motion 4.5.1 sufficient, or do I need to grab the latest git? By the way, after reading through the source a bit, motion is some of the cleanest, best commented code I've ever seen. And I spend a lot of time reading and suffering through people's shit code. My hat's off to you! Dave ------------------------------ Message: 4 Date: Fri, 23 Dec 2022 14:01:27 -0700 From: MrDave <motionmrd...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] SRT streaming support Message-ID: <999b15b8-a0a7-bce7-910c-76a12a166...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" On 12/23/2022 11:12 AM, Dave Blanchard wrote: > On Fri, 23 Dec 2022 09:54:41 -0700 > MrDave<motionmrd...@gmail.com> wrote: > >> With the revisions in the latest versions of Motion, if it plays with >> ffplay, then it should work by specifying it as the netcam_url >> parameter.? The edits limiting the accepted protocols have been >> removed.? You can also add whichever ffmpeg parameters are needed in the >> netcam_params. > Awesome!! > >> Motion would also work with the workaround you are trying on gstreamer. >> That is, have ffmpeg grab the stream and send it to a v4l2 loopback >> device that Motion would then use. > That's what I ended up doing, after spending literally the entire day trying > to get gstreamer to work right. What incredibly annoying software. Amazing > how quick and simple it was, with ffmpeg. Still, it would be easier for me > just to stream directly from SRT. > > Can you give me a example of how the netcam_url is supposed to be formatted, > with an option or two being passed to ffmpeg? I'm unclear as to how that > works. Is motion 4.5.1 sufficient, or do I need to grab the latest git? I think any version after 4.4 should work.? I just tested it with 4.5.1.? The netcam_url is just netcam_url srt://localhost:40052 netcam_params listen_timeout=microseconds,recv_buffer_size=bytes and in a separate terminal I created a sample stream ffmpeg -i testmovie.mkv -c:v libx264 -f mpegts 'srt://:40052?mode=listener&latency=2000000' ?(It initially timed out but then started and spewed a lot of ffmpeg/srt messages but worked.? The netcam_params are just samples I saw from the ffmpeg documentation page.) > By the way, after reading through the source a bit, motion is some of the > cleanest, best commented code I've ever seen. And I spend a lot of time > reading and suffering through people's code. My hat's off to you! > > Dave > > > _______________________________________________ > 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 196, Issue 22 ********************************************