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.

How video compression & streaming can be processed in DM8148?

Hi, 

am using DM8148 SOC in an aerial vehicle and I want to capture the video from the camera by using USB port , and compress the video and live stream to ground station by using wi-fi transceiver. can you please tell me hoe the process can be carried out  in the processor(i.e., the video compression and dividing them in to packets to stream over wifi). How do i initiate this live video streaming.

Thanks in advance... 

  • Hello,

    What is the software release that you are using(planning to use)?

    BR
    Margarita
  • Hi,

    If its just a small usb camera and you if you want the software do the encoding then I would suggest you look into gstreamer (gstreamer rtsp streaming) that will just take minutes to get it working.

    Cheers,
    --Prabhakar Lad
  • Hey thanks.. for the suggestion,  now for the initial test I am using  a simple usb camera that is connected to DM8148 via usb 0 port and the captured video is to be compressed the 8148 can support h.264 codec ,so i want to know if i compress to h.264 the live raw data continuously what would be the h.264 compression ratio? And this compressed live video is transmitted to the ground station through Ti-wi ble wi-fi module on the 2.4Ghz band.The module is connected to SD1 port and uart4 interface.

    I want to know what would be the bitrate ,throughput and bandwidth parameters based on the compressed video given at the transmitter to the wifi module.it is possible with the gstreamer to calculate and obtain graphs or waveforms of the data transferring carried in the rtsp?please give a quick response? 

    Thanks in advance..

  • Hi,
    can you please elaborate the software tools that could be used ,because am new to this stream..

    Thanks in advance..
  • Hi,

    Do you have stringent requirement for usb camera only ? are you using the 8148 evm or custom8148 ? if its a 8148 evm you can connect the hd component camera and get it encoded easily and stream it over wifi.

    Cheers,
    Prabhakar Lad
  • hi,
    am using using 8148 custom soc not the evm and it is strict to use usb camera only.
    it can possible to get some graphs of transmitting data from 8148 to receiver by gstreamer or any other tool?
    what is the compression ratio that 8148 can support for h.264?please give a quick response?
    Thanks.
  • Hi,

    Not sure if you are aware, the hardware which does the capture/encoding of video is a black box you dont get the source untill you have the NDA/FAE. So if you want the hardware to encoding you need to get it done via them.
    The hardware is capable of capturing NTSC/PAL/HD 4:3/16:9 aspect rations If you are using ezsdk you can refer [1].
    First thing you need to know what release are you using ezsdk/psp/rdk ? Depending on that I might be help you a bit.

    Alternatively if you are OK with software encoding which gstreamer can do it easily for you.

    [1] processors.wiki.ti.com/.../OpenMax_Development_Guide

    Cheers,
    --Prabhakar Lad
  • Hello Anvesh,

    Regarding EZSDK:

    - OMX capture_encode: We support capture through TVP 7002, which is connected to the component input. As Prabhakar said the HDVPSS source code is under NDA could be obtain only through your local FAE or TI Representative.

    -Gstreamer: You could use gstreamer for capture. Gstreamer has element v4l2src which is using v4l2 capture driver. You could add different external decoders by following this user guide : processors.wiki.ti.com/.../DM81xx_AM38xx_Adding_External_Decoders_to_V4L2_Capture_Driver

    For more information you could check this user guide about EZSDK and v4l2 capture:
    processors.wiki.ti.com/.../TI81XX_PSP_VIDEO_CAPTURE_Driver_User_Guide

    Regarding the ratio you could check the h264 encoder user guide about :
    IH264ENC_AspectRatioIdc

    BR
    Margartia