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.

DM368 RTP streaming

hi

am using DM368 TI evm with Leopard 5M aptina Sensor header board

i used the following Gstream command

gst-launch -v v4l2src always-copy=FALSE ! TIVidenc1 codecName=mpeg4enc engineName=encode contiguousInputFrame=TRUE ! rtpmp4vpay pt=96 ! udpsink host=192.168.1.106 port=5000

but i got the following error

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 = 1, bpp = 2, bytesperline = 32, sizeimage = 32
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 = 1, bpp = 1, bytesperline = 32, sizeimage = 48
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 = 1, bpp = 2, bytesperline = 32, sizeimage = 32
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 = 1, bpp = 2, bytesperline = 32, sizeimage = 32
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 = 1, bpp = 2, bytesperline = 32, sizeimage = 32
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 = 1, bpp = 2, bytesperline = 32, sizeimage = 32
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

(gst-launch-0.10:2230): GStreamer-WARNING **: pad v4l2src0:src rvpfe-capture vpfe-capture: width = 2176, height = 1536, bpp = 2
eturned caps whivpfe-capture vpfe-capture: adjusted width = 2176, height = 1536, bpp = 2, bytesperline = 4352, sizeimage = 6684672
ch are not a real subset of its vpfe-capture vpfe-capture: width = 2176, height= 1536, bpp = 2
template caps
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/video0.
Additional debug info:
v4l2_calls.c(975): gst_v4l2_set_input (): /GstPipeline:pipeline0/GstV4l2Src:v4l2 src0:
system error: Invalid argument
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to set  norm for device '/dev/video0'.
Additional debug info:
v4l2_calls.c(739): gst_v4l2_set_norm (): /GstPipeline:pipeline0/GstV4l2Src:v4l2s  rc0:
system error: Invalid argument
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/vid eo0' cannot capture at 2176x1536
Additional debug info:
gstv4l2object.c(2082): gst_v4l2_object_set_format (): /GstPipeline:pipeline0/Gst  V4l2Src:v4l2src0:
Call to S_FMT failed for UYVY @ 2176x1536: Invalid argument
Setting pipeline to NULL ...
Freeing pipeline ...
root@dm368-evm:~#

please let me know what am missing in this command line...

my dvsdk_4_02_00_06

 

Thankyou!!

Regards

V.Natarajan

 

 

  • Hello!

    Please try use ticapuresrc, also check vpfe-capture parameters, for CMOS-matrix you must use interface=1.

  • hi

     

    This is my bootarg command

     

     bootargs console=ttyS0,115200n8 rw dm365_imp.oper_mode=0 video=davincifb:vid0=OFF:vid1=OFF:osd0=480x272x16,4050K mem=60MB vpfe_capture.interface=1davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=480x372 root=/dev/nfs nfsroot=192.168.1.106:/home/jackal/targetfs ip=dhcp

     

    And also i tried ticapturesrc

    i got this message  "ERROR: pipeline could not be constructed: no element "ticapturesrc" "

    i am using prebuilt image...i have to change anything in kernel please suggest me!!!

     

    Thankyou!!

    Regards

    V.Natarajan

     

     

     

  • Hello!

    I work with DVSDK_4_02_00_06, linux-2.6.32, custom board and GStreamer from trunk.

    TI Gstreamer contain ticapturesrc module, you can easy inspect available GStreamer modules with gst-inspect.

    For switch capture sources in vpfe_capture you can modify driver or build vpfe_capture as module.