Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Streaming Video Over USB

  1. Dec 4, 2014 #1
    Hello everyone,

    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.

  2. jcsd
  3. Dec 4, 2014 #2


    User Avatar

    Staff: Mentor

    USB on PCs is capable of connecting to multiple devices simultaneously via a hub. You will have to check if the tablet will support a hub.

    If you must use your existing camera instead of a USB camera you will need a USB TV adapter to digitize the output. They are not expensive.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook