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.

gst-launch pipeline

Other Parts Discussed in Thread: TMS320DM368

hello !

i am trying to run a gst-launch pipeline on my tms320dm368 evm board.

i am trying to construct a piplelien via below mentioned command but there seems to be a problem and i am not able to figure it out as i am newbie to TI boards.

root@dm368-evm:/# gst-launch -v v4l2src always-copy=FALSE device=/dev/video2 ! T
IVidenc1 ! rtpmp4vpay pt=96 ! udpsink host=192.168.1.1 port=1234


Setting pipeline to PAUSED ...
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
davinci_previewer davinci_previewer.2: ipipe_set_preview_config
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
mt9p031 1-005d: control id -2147483648 not supported
vpfe-capture vpfe-capture: input information not found for the subdev
mt9p031 1-005d: control id 9963776 not supported
mt9p031 1-005d: control id 9963777 not supported
mt9p031 1-005d: control id 9963778 not supported
mt9p031 1-005d: control id 9963779 not supported
mt9p031 1-005d: control id 9963780 not supported
mt9p031 1-005d: control id 9963781 not supported
mt9p031 1-005d: control id 9963782 not supported
mt9p031 1-005d: control id 9963783 not supported
mt9p031 1-005d: control id 9963784 not supported
mt9p031 1-005d: control id 9963785 not supported
mt9p031 1-005d: control id 9963786 not supported
mt9p031 1-005d: control id 9963787 not supported
mt9p031 1-005d: control id 9963788 not supported
mt9p031 1-005d: control id 9963789 not supported
mt9p031 1-005d: control id 9963790 not supported
mt9p031 1-005d: control id 9963791 not supported
mt9p031 1-005d: control id 9963792 not supported
mt9p031 1-005d: control id 9963794 not supported
mt9p031 1-005d: control id 9963798 not supported
mt9p031 1-005d: control id 9963799 not supported
mt9p031 1-005d: control id 9963800 not supported
mt9p031 1-005d: control id 9963801 not supported
mt9p031 1-005d: control id 9963802 not supported
mt9p031 1-005d: control id 9963803 not supported
mt9p031 1-005d: control id 9963804 not supported
mt9p031 1-005d: control id 9963805 not supported
mt9p031 1-005d: control id 9963806 not supported
mt9p031 1-005d: control id 9963807 not supported
mt9p031 1-005d: control id 9963808 not supported
mt9p031 1-005d: control id 9963809 not supported
vpfe-capture vpfe-capture: couldn't set pix format in ccdc
vpfe-capture vpfe-capture: width = 1, height = 1, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperline = 32, sizeimage = 64
vpfe-capture vpfe-capture: width = 32768, height = 32768, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 1, height = 1, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 32, height = 2, bpp = 1, bytesperline = 32, sizeimage = 96
vpfe-capture vpfe-capture: width = 32768, height = 32768, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 1, bytesperline = 2176, sizeimage = 5013504
vpfe-capture vpfe-capture: width = 1, height = 1, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperline = 32, sizeimage = 64
vpfe-capture vpfe-capture: width = 8, height = 2, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperline = 32, sizeimage = 64
vpfe-capture vpfe-capture: width = 32768, height = 32768, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 32775, height = 32769, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 1, height = 1, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperline = 32, sizeimage = 64
vpfe-capture vpfe-capture: width = 8, height = 2, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperline = 32, sizeimage = 64
vpfe-capture vpfe-capture: width = 32768, height = 32768, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 32775, height = 32769, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 1, height = 1, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperline = 32, sizeimage = 64
vpfe-capture vpfe-capture: width = 8, height = 2, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperline = 32, sizeimage = 64
vpfe-capture vpfe-capture: width = 32768, height = 32768, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 32775, height = 32769, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 1, height = 1, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperline = 32, sizeimage = 64
vpfe-capture vpfe-capture: width = 8, height = 2, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 2, bpp = 2, bytesperline = 32, sizeimage = 64
vpfe-capture vpfe-capture: width = 32768, height = 32768, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 32775, height = 32769, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 2176, height = 1536, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: width = 2176, height = 1536, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
vpfe-capture vpfe-capture: couldn't set pix format in ccdc
libv4l2: error setting pixformat: Invalid argument
ERROR: Pipeline doesn't want to pause.
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to set input 2 on device /dev/video2.
Additional debug info:
v4l2_calls.c(975): gst_v4l2_set_input (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Invalid argument
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to set norm for device '/dev/video2'.
Additional debug info:
v4l2_calls.c(739): gst_v4l2_set_norm (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Invalid argument
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video2' cannot capture at 2176x1536
Additional debug info:
gstv4l2object.c(2082): gst_v4l2_object_set_format (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Call to S_FMT failed for UYVY @ 2176x1536: Invalid argument
Setting pipeline to NULL ...
Freeing pipeline ...
root@dm368-evm:/

  • also posting my bootargs
    DM36x EVM # printenv
    autoload=no
    baudrate=115200
    bootargs=console=ttyS0,115200n8 rw dm365_imp.oper_mode=0 video=davincifb:vid0=OFF:vid1=OFF:osd0=480x272x16,4050K mem=60MB vpfe_capture.interface=1 davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=480x272 root=/dev/mtdblock4 rootfstype=jffs2 ip=off
    bootcmd=nboot 0x80700000 0 0x400000;bootm
    bootdelay=4
    bootfile=uImage-dm368-evm.bin
    dhcp=off
    ethact=DaVinci-EMAC
    ethaddr=00:0e:99:03:52:25
    fileaddr=80700000
    filesize=20C728
    gatewayip=0.0.192.168
    ip=off
    ipaddr=192.168.189.3
    netmask=255.255.255.0
    oldbootargs=console=ttyS0,115200n8 rw dm365_imp.oper_mode=0 video=davincifb:vid0=OFF:vid1=OFF:osd0=480x272x16,4050K mem=60MB vpfe_capture.interface=1 davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=480x272 root=/dev/nfs nfsroot=192.168.189.4:/home/asadmalik/targetfs ip=dhcp
    oldbootcmd=nboot 0x80700000 0 0x400000;bootm
    oldbootfile=uImage-dm368-evm.bin
    oldserverip=192.168.189.4
    serverip=192.168.189.4
    stderr=serial
    stdin=serial
    stdout=serial
    ver=U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)
  • Hi,

    The gst pipelines provided with the DVSDK release should work out of the box. Please try them first

    thank you
    Cesar