You are not logged in.

#1 2010-07-08 17:20:44

simlan
Member
From: Germany
Registered: 2010-05-30
Posts: 20

IDEAS anyone? creating /dev/videoX device and Stream Video through it

Hey Guys,

so i have a little Problem:

I need to testdrive a motion/object recognition software. This nifty peace of sh** is not available as sources and does only accept streams coming from /dev/videox . (Cannot not be fed with videos)
You could argue : "Plug the camera in and there u go...." but I dont have this kind of (expensive) camera right now.

Some evidence I found on the net:

webcamstudio does such kind of thngs but in fact I need (prefer) a linux way like:

ffmpeg somevideo | todevX

Last edited by simlan (2010-07-08 17:21:44)

Offline

#2 2010-07-08 17:25:29

hwkiller
Member
Registered: 2009-07-21
Posts: 56

Re: IDEAS anyone? creating /dev/videoX device and Stream Video through it

Could you do something like "ffmpeg somevideo > /dev/devicehere"

Or maybe something like mplayer? I don't know the commands, but have mplayer play the video, then send output to /dev/devicehere

Last edited by hwkiller (2010-07-08 17:26:50)

Offline

#3 2010-07-08 17:38:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: IDEAS anyone? creating /dev/videoX device and Stream Video through it

You need to create that /dev/videoX somehow. Maybe a webcam would do?

Last edited by karol (2010-07-08 17:39:10)

Offline

#4 2010-07-08 20:50:56

simlan
Member
From: Germany
Registered: 2010-05-30
Posts: 20

Re: IDEAS anyone? creating /dev/videoX device and Stream Video through it

This one works great smile http://allonlinux.free.fr/Projets/AVLD/

Thanks guys for the mplayer tip

Offline

Board footer

Powered by FluxBB