VideoMapping / lpmtX2

the 2nd version to the recoded lpmt video mapping sofware for linux & osx
MIT License
13 stars 4 forks source link

Output stream #5

Closed jamet closed 9 years ago

jamet commented 9 years ago

new preview feature, the lpmt window can now be streamed through a v4l2loopback device of your choice at 320x240 30FPS (it might be too much, if it has an impact on performance, it might be good to turn it down).

preview can be switched on/off at startup and device output is chosen through bin/data/config.xml.

nanu-c commented 9 years ago

thats cool, i am going to add this to remoteX

nanu-c commented 9 years ago

We should check if there is a loopback device at startup and if not start it or turn all function related to ofxGstv4l2sink off. What do you think?

jamet commented 9 years ago

well, it's kind of why there is a xml config file, but agree an other check could be to verify it the device exists.

check the preview branch on remoteX, i've made it work B&W, with a littlte tweek to ofGstVideoGrabber.cpp (there is a problem with v4l2loopback devices, since they don't have a fixed framerate, they are selected by the grabber).

i think the same thing will have to be done in remoteX, to have a parametrable preview device.

by the way, could you also make a PR with your last commit that fixed the color range?