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/TMDXEVM8148: Capture demo error

Part Number: TMDXEVM8148

Tool/software: Linux

Hi

 Can some one  please help me , as I am using prebuild EZSDK-DM814x-EVM image (version : 5_05_02_00) on the DM8148-EVM and i am using LCD for display & USB camera for capture. I can play the demo videos through the demo applications but when i try to open the capture demo encode application, i got blank screen and i got the following error in gtkterm.

VPSS_GRPX : please open fb1 node first.  

I have tried even like this

target # /etc/init.d/pvr-init stop
target # /etc/init.d/matrix-gui-e stop

-After this done, LCD screen becomes blank

When i try to run this

target #runCaptureEncode

not able to capture any thing,please do a needful help

i have attached the screenshot for the error.

When trying the command V4L2-ctl command it shows

target #v4l2-ctl

-sh: v4l2-ctl: not found

Thanks,

Jahnavi

  • Hello,

    OMX capture -> encode demo does not support USB capture.
    Please refer OMX user guide here /ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/omx_05_02_00_48 for mode information regarding this demo and the video source that is supports.
    Please check this thread:
    e2e.ti.com/.../741165
    One more note when you are using v4l2 capture driver, load-hd-v4l2-firmware.sh must be load.
    Please check this also:
    e2e.ti.com/.../660422

    BR
    Margarita
  •  Hi,

    Thanks for reply, i am using a USB Camera

    USB Camera Hardware information:

    -------------------------------------------------

    usb 1-1: new high speed USB device using musb-hdrc and address 3

    usb 1-1: New USB device found, idVendor=a0c8, idProduct=3460

    usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

    usb 1-1: Product: Vimicro UVC Camera

    usb 1-1: Manufacturer: Vimicro

    uvcvideo: Found UVC 1.00 device Vimicro UVC Camera (a0c8:3460)

    input: Vimicro UVC Camera as /devices/platform/omap/ti81xx-usbss/musb-hdrc.0/usb1/1-1/1-1:1.0/input/input1

    1) when trying to run saLoopback example

    following is the error

    Querying DV Preset failed.

    2) i was not able to run

    # /etc/init.d/matrix-gui-e stop

    # /etc/init.d/pvr-init stop

    # cd /usr/share/ti/ti-media-controller-utils/

    # ./load-hd-firmware.sh stop

    # ./load-hd-v4l2-firmware.sh start

    --- Here my lcd is displayed into two partions

    and error capture is attached

    3) when trying with G streamer to capture using following pipeline

    gst-launch --verbose filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! 'video/x-raw-yuv,width=(int)800,height=(int)480' ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 display-device=LCD ! gstperf ! omx_videosink sync=false display-device=LCD

    --- i can play the video on LCD on my 8148EVM

    but how can i take the live capture from USB camera and display on LCD?

    when i try

    gst-launch --verbose v4l2src/vstdsrc device="/dev/video0" always-copy=false queue-size=12 num-buffers=-1 ! 'video/x-raw-yuv-strided,format=(string)YUYV,width=800,height=480,framerate=(fraction)30/1' ! omxbufferalloc silent=false numBuffers=12 ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60  ! omx_videosink sync=false

    Warning : erroneous pipeline: could not link v4l2src0 to omxbufferalloc0

    Thanks,

    Jahnavi

  • Hello,

    "Querying DV Preset failed."

    Setting/querying of DV preset fails means its not able to detect the input source.
    Capture source must be connected to the component input of IO EXPANSION board before run the sample application, otherwise the sample application reports error as in your case.

    Please refer this thread about USB capture.

    e2e.ti.com/.../894158

    BR
    Margarita