Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Prevent Motion From Using TV-Tuner Card (MrDave)
2. Re: Prevent Motion From Using TV-Tuner Card (Bill Sheets)
----------------------------------------------------------------------
Message: 1
Date: Sun, 11 Nov 2018 12:33:34 -0700
From: MrDave <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Prevent Motion From Using TV-Tuner Card
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
I don't use Plex but have a similar card and Motion does not interfere
with it.?? Motion can not process /dev/dvb devices and only processes
/dev/video devices so I would suspect that it has to do with how Plex is
starting.? If Plex is set up to scan for /dev/video devices, then it is
possible that is trying to grab your /dev/video device and when it is
already being used by Motion, it terminates and does not continue to
look any further for the /dev/dvb devices.
I'd suggest seeing if Plex can stop looking for the /dev/video device,
possibly using udev rules to create a symbolic link to the device, or
maybe setting up a v4l2 loopback device on the camera.
The last choice of course is to revise the startup rules to put a
dependency upon Motion to only start after Plex has finished starting.?
(Others may be able to provide guidance on how to do this)
On 10/29/2018 6:10 PM, Bill Sheets wrote:
> I have an Ubuntu system running Motion and Plex Media Server.?? I want
> Motion to access the web camera attached to the computer.?? I have a
> WinTV-HVR-22XX tuner card in the machine for use with Plex to record
> over the air programs.?? However, when I reboot the system it appears
> that Motion is grabbing the card before Plex does rendering it
> unavailable to Plex.?? If I stop Motion, Plex can grab the card.
>
> Is there some setting in the configuration files for Motion I can
> change to tell it to leave the tuner alone?
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Sun, 11 Nov 2018 21:38:08 -0800
From: Bill Sheets <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Prevent Motion From Using TV-Tuner Card
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"
I modified the following line in /etc/init.d/motion:
# Required-Start: $local_fs $syslog $remote_fs plexmediaserver
Added plexmediaserver and startup now works without any problems.
Bill S.
On 11/11/2018 11:33 AM, MrDave wrote:
>
> I don't use Plex but have a similar card and Motion does not interfere
> with it.?? Motion can not process /dev/dvb devices and only processes
> /dev/video devices so I would suspect that it has to do with how Plex
> is starting.? If Plex is set up to scan for /dev/video devices, then
> it is possible that is trying to grab your /dev/video device and when
> it is already being used by Motion, it terminates and does not
> continue to look any further for the /dev/dvb devices.?
>
> I'd suggest seeing if Plex can stop looking for the /dev/video device,
> possibly using udev rules to create a symbolic link to the device, or
> maybe setting up a v4l2 loopback device on the camera.?
>
> The last choice of course is to revise the startup rules to put a
> dependency upon Motion to only start after Plex has finished
> starting.? (Others may be able to provide guidance on how to do this)
>
>
> On 10/29/2018 6:10 PM, Bill Sheets wrote:
>> I have an Ubuntu system running Motion and Plex Media Server.?? I
>> want Motion to access the web camera attached to the computer.?? I
>> have a WinTV-HVR-22XX tuner card in the machine for use with Plex to
>> record over the air programs.?? However, when I reboot the system it
>> appears that Motion is grabbing the card before Plex does rendering
>> it unavailable to Plex.?? If I stop Motion, Plex can grab the card.
>>
>> Is there some setting in the configuration files for Motion I can
>> change to tell it to leave the tuner alone?
>
>
>
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
--
*Bill Sheets*
971.264.0694
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 149, Issue 17
********************************************