This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: USB camera support

Part Number: AM5728

Tool/software: Linux

Hi,

I am using am5728 EVM, latest Linux SDK 05. i am using omnivision usb camera. please guide me how to detect camera when connected to evm. any sample program to capture video from usb camera using gstreamer frame work.  I installed LINUX SDK . How to import PDK examples. I am using gnu compiler

Thanks  and regards,

K Subrahmaniam

  • It seems you need to use Vision SDK. Please search for "omnivision" in the forum e2e.ti.com/.../791.

  • Hi,

    Please ignore my previous response above. I did some research, it seems some omnivision usb cameras are not UVC device. Please check if yours is.
    Attach your omnivision camera into a Linux PC, run the following command and provide its output.
    $ lsusb -v -d <camera vid:pid>
  • Hi,
    Thank you,
    when you told me vision sdk , I installed rt linux sdk latest version for am57xx . suggest me to frame work and librarties capture video from omnivision usb camera in rots linux.
    Thanks and regards,
    K Subrahmaniam
  • Hi,

    Please follow my instruction to provide the camera usb descriptors, from which I can know the camera type to suggest you next steps how to use the camera.
  • Hi,
    thank you, Camera will be availbale in week days. I want to know that how can I use gstreamer or any other frame work in rtos linux sdk. and what is the command to type when it is connected to the board. which is prefferable for my application rtos linux sdk or linux sdk capturing video nad storing sd card and sending video the network over 4G and push to call service.
    Thanks and regards,
    K Subrahmaniam
  • Hi,

    I cannot help you on sending video over 4G, this is a system query.

    But using gstreamer on AM5728x Processor SDK Linux is no difference from using gstreamer on Linux PC, there are plenty of information on Internet. basically you do "gst-launch v4l2src device=<your-camera-device-node> ! <video-format-setting> ! filesink location=<where-to-save-the-video>".

    Before using gstreamer, you have to know if the camera is supported in Linux or not, that is why I asked you to provide the camera usb descriptors.
  • HI,
    Thank you for your immediate reply. I follow the those instructions . I will send camera descriptors for further guidance.
    Thanks and regards,
    K Subrahmaniam
  • Thanks for the update. I will close this thread for now. If you have issues in using the camera, please create a new thread with details of the specific issue.