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)
   2. Re: VAAPI support (MrDave)
   3. Re: VAAPI support (y...@tuta.io)
   4. Re: VAAPI support (MrDave)


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

Message: 1
Date: Sun, 23 Aug 2020 15:43:31 +0200 (CEST)
From: y...@tuta.io
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] VAAPI support
Message-ID: <mfqyp7d--...@tuta.io>
Content-Type: text/plain; charset=UTF-8

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
>




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

Message: 2
Date: Sun, 23 Aug 2020 07:51:07 -0600
From: MrDave <motionmrd...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] VAAPI support
Message-ID: <4cd0fa47-bee8-6963-1318-d5486960c...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

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



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

Message: 3
Date: Sun, 23 Aug 2020 16:00:15 +0200 (CEST)
From: y...@tuta.io
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] VAAPI support
Message-ID: <mfqbebv--...@tuta.io>
Content-Type: text/plain; charset=UTF-8

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
>




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

Message: 4
Date: Sun, 23 Aug 2020 08:24:35 -0600
From: MrDave <motionmrd...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] VAAPI support
Message-ID: <609ee9ed-37d1-61f9-eea8-758873d78...@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

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



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



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

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 20
********************************************

Reply via email to