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/TMS320DM368: TMS320DM368

Part Number: TMS320DM368
Other Parts Discussed in Thread: TVP5150,

Tool/software: Linux

Hi,

I am working with Dm368 over monta vista flavour for linux, where 10 bit parallel data from video source monochromatic type is passed to DM368 Video In. The video works in progressive mode with resolution of 640 x 480 over 60 fps,

 .

I am able to grab video in avi format using gstreamer but the video suffers from certain issues like the object overlaps the overlay and there is a continuous burst of  some signal over the recorded video. Since the vpfe video library is quite vast, it would be a great help it I could any expertise on probable areas where I should look upon.Upon chcking the clocks, Hsync and Vsync are fine.

Images from the video grab are attahced for reference.

Any help in this regard would be deeply appreciated.

  • Hi,

    Can you clarify the below points.

    1. Which camera sensor is used? Is it newly integrated to DM368 or part of default hardware?

    2. Did you try any other camera sensor? If yes, what were your observations?

    3. Which TI SDK being used?

    4. Provide gstreamer pipeline that is used to grab video in AVI format.
  • Hi Anuj,
    Thanks for the reply.

    1. We are using custom DM368 board where the input to DSP is parallel 10 bit data from engine to board. The input from the engine to DSP is recognized in raw-bayer format.

    2. Initially we were working on BT656 capture from TVP5150 sensor and the video quality observed was all good. But the change in engine requires to change the capture format as well and monochrome capture.

    3. TI dvsdk_dm368-evm_4_02_00_06_setuplinux based ridgerun sdk we are using.

    4. Pipeline for video capture:
    gst-launch -e -v v4l2src always-copy=FALSE input-src=fpga crop-area=50,40@640x480 ! 'video/x-raw-yuv, framerate=60/1, width=640, height=480'! leaky=1 queue leaky=1 ! dmaiaccel ! dmaiperf print-arm-load=true !dmaiaccel !dmaienc_h264 encodingpreset=2 ratecontrol=2 targetbitrate=1500000 ! dmaiperf ! avimux ! filesink location=/media/sd/video.avi sync=FAlSE enable-last-buffer=FALSE


    Request you to please provide probable digging areas for video quality improvement.



    Regards,
    Rohit Gupta

  • Hi Rohit,

    After analyzing your input, I can suspect some saturation in camera sensor. Please try out the below to conform.
    1. Try to dump video after capture.
    gst-launch -e -v v4l2src always-copy=FALSE input-src=fpga crop-area=50,40@640x480 ! 'video/x-raw-yuv, framerate=60/1, width=640, height=480' ! filesink location=/media/sd/rawvideo sync=FAlSE enable-last-buffer=FALSE
    2. Try facing camera sensor to either pure black or white surface and check the output.

    3. Some tools are available in psp/linux-driver-examples-psp03.01.01.38/imp-prev-rsz/dm365 to capture raw video. Please go-through readme.txt available in same path to get more information.

  • A help required

    I have just started my project at DRDO over TMS320DM368 EVM Board.

    I have been trying it since last 10 days but unable to boot it.

    I have query regarding dvsdk installation procedure . Is it compulsory to install it in /usr/local/dvsdk ?

  • Anyone please help out with this...we have been trying with TMS320DM368 EVM Board since last 20  days, but still unsuccessful . After running ./setup.sh on minicom, we are getting nothing. Unless and until we get u-boot prompt , we can't do anything.

    Anyone who was successfully able to get this u-boot prompt please help out.

  • Hi Asmita,

    I would suggest you to open new thread for this post, so that it will get the attention of the experts.

    Mean while I would like to know which software are you using?DVSDK or IPNC RDK? Can you post a new thread with these details as well?

  • Thank you for your reply. I would sure open a new thread.

    I am using DVSDK software which I have downloaded 

     
    No Login dvsdk_dm368-evm_4_02_00_06_setuplinux TMS320DM368 DVSDK 4.02 Installer

      from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_4_00/4_02_00_06/index_FDS.html  

    on ubuntu 10.04

    and my board is TMS320DM368 EVM.

    I followed the quick start guide and software development guide . I was still not able to get the u-boot prompt. 

    Kindly suggest .