So first I'll give an overview of the project that I am working on. We have a camera system that we wish to control on a Windows 8 tablet. The program on the tablet will need to display the video signal and also be able to issue commands to the camera (currently, just change the brightness of the LEDs).
There is a "black box" in between the camera and the tablet, which is what I am working on. This "black box" is responsible for power management, sending commands from the tablet to the camera, and relaying back the video signal.
Both the commands from the tablet and the video signal to the tablet needs to be done over a USB cable.
Currently I've gotten the power management figured out. I can also send and receive commands from my desktop to an Atemega328P. The USB connects to an FT232 which converts to UART and everything is good, I can issue a command and see the response.
Now, where I am getting confused is how to also implement streaming the video back to the PC. The video signal coming from the camera is analog and in the format of NTSC or PAL (will need to handle both eventually). I do not know much about USB but I have spent some time drowning in USB 2.0 documentation and USB Video Class protocol documentation.
I figure I will need to digitize the analog video signal before transmitting it over USB somehow. However, with constantly streaming to the tablet I am not sure how I would issue commands back to the "black box" without interrupting the video signal.
This could also be a software issue where it can be accomplished with careful management of the packets being sent, I just don't know.
Any insights on would be appreciated and if you would like more information please don't hesitate to ask.
Thanks for reading and I look forward to your responses.