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.

Streaming between two DM365 using Gstreamer pipeline

Hi all

I want to send video via RTP to another DM365, Im using the following pipelines:

Sender
gst-launch -v v4l2src input-src=composite always-copy=false ! video/x-raw-yuv, format='(fourcc)'NV12, framerate=\(fraction\)30000/1001, width=640, height=480 ! dmaiperf ! queue ! TIVidenc1 codecName=h264enc engineName=codecServer ! rtph264pay ! udpsink host=192.168.1.106 port=5000

Receiver
gst-launch -v udpsrc port=5000 ! ! rtph264depay ! TIViddec2 displayBuffer=true codecName=h264dec engineName=codecServer ! queue ! TIDmaiVideoSink videoStd=D1_NTSC videoOutput=composite sync=false contiguousInputFrame=true

The pipelines above do not give me any error, but then I execute them it shows me nothing.

Does anyboy have the correct pipilines?

  •  ,

    On GST sender instead of sending the data over RTP/RTSP can you just write video frames to memory and check they are valid frames? 

  • Thanks for your response, I appreciate  your help.

    Everything seems to be OK, actually I can see the buffer displayed(by the way it takes too long to fill the buffer) like this:

    New clock: GstSystemClock
    [B                     |                                                      ]
    [RW                    |                                                      ]
    [R-W                   |                                                      ]
    [R--W                  |                                                      ]
    [R---W                 |                                                      ]
    [R----W                |                                                      ]
    [R-----W               |                                                      ]
    [R------W              |                                                      ]
    [R-------W             |                                                      ]
    [R--------W            |                                                      ]
    [R---------W           |                                                      ]
    [R----------W          |                                                      ]
    [R-----------W         |                                                      ]
    [R------------W        |                                                      ]
    [R-------------W       |                                                      ]
    [R--------------W      |                                                      ]
    [R---------------W     |                                                      ]
    [R----------------W    |                                                      ]
    [R-----------------W   |                                                      ]
    [R------------------W  |                                                      ]
    [R-------------------W |                                                      ]
    [R--------------------W|                                                      ]
    [R=====================W                                                      ]
    [R=====================|W                                                     ]
    [R=====================|=W                                                    ]
    [R=====================|==W                                                   ]
    [R=====================|===W                                                  ]
    [R=====================|====W                                                 ]
    [ R=====================|===W                                                 ]
    [ R=====================|====W                                                ]
    [ R=====================|=====W                                               ]
    [  R=====================|====W                                               ]
    [  R=====================|=====W                                              ]
    [   R=====================|====W                                              ]
    [   R=====================|=====W                                             ]
    [    R=====================|====W                                             ]
    [    R=====================|=====W                                            ]
    [     R=====================|====W                                            ]
    [     R=====================|=====W                                           ]
    [      R=====================|====W                                           ]
    [       R=====================|===W                                           ]
    [       R=====================|====W                                          ]
    [        R=====================|===W                                          ]
    [         R=====================|==W                                          ]
    [         R=====================|===W                                         ]
    [          R=====================|==W                                         ]
    [          R=====================|===W                                        ]
    [          R=====================|====W                                       ]
    [          R=====================|=====W                                      ]
    [           R=====================|====W                                      ]
    [           R=====================|=====W                                     ]
    [           R=====================|======W                                    ]
    [            R=====================|=====W                                    ]
    [            R=====================|======W                                   ]
    [            R=====================|=======W                                  ]
    [            R=====================|========W                                 ]
    [             R=====================|=======W                                 ]
    [             R=====================|========W                                ]
    [             R=====================|=========W                               ]
    [             R=====================|==========W                              ]
    [             R=====================|===========W                             ]
    [              R=====================|==========W                             ]
    [              R=====================|===========W                            ]
    [              R=====================|============W                           ]
    [              R=====================|=============W                          ]
    [              R=====================|==============W                         ]
    [              R=====================|===============W                        ]
    [               R=====================|==============W                        ]
    [               R=====================|===============W                       ]
    [               R=====================|================W                      ]
    [               R=====================|=================W                     ]
    [                R=====================|================W                     ]
    [                R=====================|=================W                    ]
    [                 R=====================|================W                    ]
    [                 R=====================|=================W                   ]
    [                  R=====================|================W                   ]
    [                  R=====================|=================W                  ]




    But my problem is that I can't see the video in the composite output.
    This is a scholar project, your help will be very appreciate.

    Thanks.
  • Alexander ,

    Referring to your quote below , 

    Everything seems to be OK, actually I can see the buffer displayed(by the way it takes too long to fill the buffer) like this:

    Can you share the DM365 clock configurations for DDR/Encoder/Arm? 

    In the past I observed the issue with  combination of this clock configurations. We may have to fine tune these clock configurations to fix the issue.