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.

SK-AM62P-LP: I am trying to do IP camera network streaming at AM62P HMI screen using gstreamer api's with the help of terminal, but I am facing issue

Part Number: SK-AM62P-LP
Other Parts Discussed in Thread: AM62P

Tool/software:

Hi, I am trying to do IP camera network streaming at AM62P HMI screen using gstreamer api's with the help of terminal, but I am facing issue. The steps are shared below.

         

         1.  I have flashed the tisdk-default-image-am62pxx-evm.wic.xz image in AM62P development board. 

2.  Done basic network settings and it is working.

3.  IP camera connected via Ethernet cable, configured network settings and I am able to successfully ping IP camera in AM62P terminal.

4.  HMI Display connected via HDMI interface and tested with basic Qt sample application and it is working.

5.  I am trying to stream the IP camera output in HMI display using gstreamer api's and it is not working. I have shared the camera settings, Gstreamer api's  and testing screenshot below for your reference.

 

Kindly suggest me to resolve the IP camera streaming issue.

1. Testing Screenshot:

2. Gstreamer API:

gst-launch-1.0 -v udpsrc port=5004 ! 'application/x-rtp, clock-rate=90000,encoding-name=H264, payload=96' ! rtph264depay ! avdec_h264  ! queue ! videoconvert ! queue ! video/x-raw,width=1280,height=800! queue !  kmssink driver-name=tidss sync=false 

3. Camera Settings:

  • Hi Karthikeyan,

    Can you stop weston from running with the below command:

    systemctl stop weston

    Also add force-modesetting=true on kmssink element in your pipeline and see if it works.

    Best Regards,

    Suren

  • Hi Suren Porwar,

    Thanks for your suggestion. I have tried with your suggestion. It got struck and I have added the test screenshot for reference.  I need your suggestion.

  • Hi Karthikeyan,

    I was able to run these two pipelines on my end and verified it on AM62P board:

    Client:


    gst-launch-1.0 -v udpsrc port=6001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96' ! rtph264depay ! h264parse ! v4l2h264dec capture-io-mode=4 ! kmssink driver-name=tidss sync=false force-modesetting=true

    Server(PC):

    gst-launch-1.0 -v videotestsrc ! video/x-raw, width=1920, height=1080, format=NV12, framerate=30/1 ! x264enc ! rtph264pay ! udpsink host=192.168.1.106 port=6001

    If this works on your end, then you might want to send the right encoded stream via Network. 

    Best Regards,

    Suren