Kinect v2 from image_color to /dev/video0 -- webcam streaming or other
Hey there everyone. I used ROS quite a bit over summer under a different work account but now that I have learned to love ROS, I want to use it to help me stream RGB video from my Kinect v2 for xBox One. I am using Ubuntu 16.04 and ROS Kinetic I currently have libFreenect2, and iai_kinect2 working, and I can view my published ROS image topics, along with using Protonect and other test programs, but I have not found an elegant way of streaming this video as a linux video device such as /dev/video0
The brutal method I have got working is to roslaunch kinect2_bridge to publish the camera data, use image_view to view the published video in a window, then use ffmpeg with v4l2loopback to stream my entire desktop as the video device.
I have searched long and hard for a better way to do this, and I have had many ideas, but I just cant figure out how to take the image data directly from the camera and push it through as a video device so that I can have that run in the background as I use my desktop. Does anyone have any ideas or know of a better way?