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: VAAPI support (y...@tuta.io) ---------------------------------------------------------------------- Message: 1 Date: Mon, 24 Aug 2020 01:08:37 +0200 (CEST) From: y...@tuta.io To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] VAAPI support Message-ID: <mfs_9l0--...@tuta.io> Content-Type: text/plain; charset="utf-8" Please kindly find the attached log.? It didn't work :( Here is what I did (the same for cam1 and cam2): mkfifo /tmp/cam0 ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 \ -i 'rtsp://username:password@address' \ -f rawvideo -pix_fmt yuv420p -video_size 2560x1440 -framerate 25 \ pipe:1 > /tmp/cam0 service motion start 23 Aug 2020, 14:24 by motionmrd...@gmail.com: > You could try.? I don't deal with named pipes nor BSD much but you could > something like.. > > Set up a named pipe on the machine with the file name as "myremotecamera1.mkv" > Start ffmpeg to pipe the output to myremotecamera1.mkv > Configure Motion with netcam_url file:\\\path\to\myremotecamera1.mkv and > start it. > > Not sure whether that would work at all..could possibly have problems with > the second/third steps and them not occurring at the exact same time. > > > On 8/23/2020 8:00 AM, yzrh--- via Motion-user wrote: > >> v4l2loopback is not available on FreeBSD yet.? How about >> named pipe? >> >> >> 23 Aug 2020, 13:51 by motionmrd...@gmail.com: >> >>> This would effectively be the process described in >>> https://motion-project.github.io/motion_config.html#basic_setup_static >>> >>> But instead of specifying a static file, send in the hw decoded stream from >>> the rtsp camera to the v4l2 loopback device. >>> >>> Dave >>> >>> On 8/23/2020 7:43 AM, yzrh--- via Motion-user wrote: >>> >>>> Is there any chance for something like netcam_extpipe? >>>> >>>> >>>> 23 Aug 2020, 04:27 by motionmrd...@gmail.com: >>>> >>>>> No.? Use of vaapi is not implemented in Motion. >>>>> >>>>> >>>>> On 8/22/2020 12:06 PM, yzrh--- via Motion-user wrote: >>>>> >>>>>> Hi everyone, >>>>>> >>>>>> Can motion use VAAPI to decode rtsp stream?? I have >>>>>> three cameras,? CPU usage is about 380%.? With >>>>>> >>>>>> ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -i >>>>>> 'rtsp://username:password@address' -f rawvideo -pix_fmt yuv420p >>>>>> -video_size 2560x1440 -framerate 25 -y /dev/null, >>>>>> >>>>>> CPU usage is below 10%.? I only managed to find >>>>>> movie_extpipe,? but I understand it doesn't affect >>>>>> decoding. >>>>>> >>>>>> Thank you in advance >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>> >> >> >> _______________________________________________ >> 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 -------------- A non-text attachment was scrubbed... Name: motion.log Type: application/octet-stream Size: 11541 bytes Desc: not available ------------------------------ ------------------------------ 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 170, Issue 21 ********************************************