2016-07-10, 19:02
Hi,
i want to add an external player for playing a usb-webcam on top of KODI. Unfortunately, the device-file /dev/video0 isn't recognized as playable video file in the file list. Therefore i also can't choose the "Play with" option in the contextmenu. Any ideas?
My playercorefactory.xml is looking like this:
Crosspost on german forum kodinerds.net
i want to add an external player for playing a usb-webcam on top of KODI. Unfortunately, the device-file /dev/video0 isn't recognized as playable video file in the file list. Therefore i also can't choose the "Play with" option in the contextmenu. Any ideas?
My playercorefactory.xml is looking like this:
Code:
<playercorefactory>
<players>
<player name="RearcamPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>/usr/bin/mplayer</filename>
<args>tv:// -tv driver=v4l2:width=800:height=600:device={1} -nosound -framedrop -vo fbdev2</args>
<hidexbmc>true</hidexbmc>
</player>
</players>
<rules action="prepend">
<rule filename="/dev/video*" player="RearcamPlayer"/>
</rules>
</playercorefactory>
Crosspost on german forum kodinerds.net