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 to use gst-launch to transport video stream through network in DM3730?

Other Parts Discussed in Thread: TVP5146M2

Hello all:

How to use gst-aunch to transport audio/video data through network? 

Brower the following logs:(the blue fonts are commands and the red fonts are output logs or debug information)

root@dm37x-evm:/usr/share/ti/dvsdk-demos# gst-launch -v v4l2src device=/dev/vide
o0 ! queue ! 'video/x-raw-yuv,width=720,height=576,format=(fourcc)UYVY' ! queue
! TIVidResize ! 'video/x-raw-yuv,width=720,height=576' ! queue ! TIVidenc1 codec
Name=h264enc engineName=codecServer bitRate=100000 rateControlPreset=3 ! rtph264
pay pt=96 ! queue ! udpsink host=10.2.7.95 port=5000
Setting pipeline to PAUSED ...
tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
tvp514x 3-005c: invalid control id -2147483648
tvp514x 3-005c: invalid control id 9963780
tvp514x 3-005c: invalid control id 9963781
tvp514x 3-005c: invalid control id 9963782
tvp514x 3-005c: invalid control id 9963783
tvp514x 3-005c: invalid control id 9963784
tvp514x 3-005c: invalid control id 9963785
tvp514x 3-005c: invalid control id 9963786
tvp514x 3-005c: invalid control id 9963787
tvp514x 3-005c: invalid control id 9963788
tvp514x 3-005c: invalid control id 9963789
tvp514x 3-005c: invalid control id 9963790
tvp514x 3-005c: invalid control id 9963791
tvp514x 3-005c: invalid control id 9963792
tvp514x 3-005c: invalid control id 9963793
tvp514x 3-005c: invalid control id 9963795
tvp514x 3-005c: invalid control id 9963796
tvp514x 3-005c: invalid control id 9963797
tvp514x 3-005c: invalid control id 9963798
tvp514x 3-005c: invalid control id 9963799
tvp514x 3-005c: invalid control id 9963800
tvp514x 3-005c: invalid control id 9963801
tvp514x 3-005c: invalid control id 9963802
tvp514x 3-005c: invalid control id 9963803
tvp514x 3-005c: invalid control id 9963804
tvp514x 3-005c: invalid control id 9963805
tvp514x 3-005c: invalid control id 9963806
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstTIVidResize:tividresize0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstTIVidResize:tividresize0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstQueue:queue2.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstQueue:queue2.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstTIVidenc1:tividenc10.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstTIVidenc1:tividenc10.GstPad:src: caps = video/x-h264, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:sink: caps = video/x-h264, framerate=(fraction)25/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0KAH4toC0EkQAA\\=\\,aM4BqHcgAA\\=\\=\", payload=(int)96, ssrc=(uint)750205157, clock-base=(uint)3699945658, seqnum-base=(uint)52972
/GstPipeline:pipeline0/GstQueue:queue3.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0KAH4toC0EkQAA\\=\\,aM4BqHcgAA\\=\\=\", payload=(int)96, ssrc=(uint)750205157, clock-base=(uint)3699945658, seqnum-base=(uint)52972
/GstPipeline:pipeline0/GstQueue:queue3.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0KAH4toC0EkQAA\\=\\,aM4BqHcgAA\\=\\=\", payload=(int)96, ssrc=(uint)750205157, clock-base=(uint)3699945658, seqnum-base=(uint)52972
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0KAH4toC0EkQAA\\=\\,aM4BqHcgAA\\=\\=\", payload=(int)96, ssrc=(uint)750205157, clock-base=(uint)3699945658, seqnum-base=(uint)52972

Is it right or how to recieve the video stream from the PC? 

Who can give me some advices?

Thank you!

BR

QingboGuo