LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   media player (https://www.linuxquestions.org/questions/mandriva-30/media-player-796654/)

mecelec415 03-20-2010 06:11 AM

media player
 
Im looking for a media player that can emulate a camera.
In a way that i could select it as a camera in other apps?
any ideas

irmin 03-20-2010 08:30 AM

Maybe this can help you:
http://freshmeat.net/projects/vloopback

It will create a v4l dummy device, that gets it input from a user stream and so it can be used to fake a camera :)

mecelec415 03-24-2010 04:25 AM

I found and installed
dkms-vloopback - Video4Linux Loopback Device​
from the packagemanager.
can i use it with vlc?
what would the comand be? to get it to work and how if not in the start up command might i get it to pose as /dev/video3 or similar
vlc -vloopback [input vloopback device] -device [real video device]:

irmin 03-24-2010 09:13 AM

http://v4l2vd.sourceforge.net/ is a newer version of the above project (On my linux-2.6.32 I had to modify the source code to compile the driver, if you have problems I can send you the modified source code). In principle any application that is capable of playing a video on a v4l2 output device is usable for a video source. The project provides a sample program that provides a raw video stream on the other end of the video pipe.


All times are GMT -5. The time now is 09:21 AM.