添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
I try recevive RTP video and display on screen.
Sender Side:

//gst-launch-1.0 v4l2src device="/dev/video0" ! jpegdec !
	// videorate ! 'video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=%d/1' ! TrackerFilter TrackerId = 1 ! omxh264enc ! mpegtsmux ! rtpmp2tpay ! udpsink host=234.0.0.0 port=46002

Reciver Side:

gst-launch-1.0 udpsrc port=46002 ! 'application/x-rtp,encoding-name=MP2T,payload=33, clock-rate=90000' ! rtpmp2tdepay ! tsdemux ! h264parse ! nvv4l2decoder enable-max-performance=1 ! nvvidconv ! autovideosink

I not sucssed display the video when I use ffplay on my windows computer I sucssed.
When I look on the jtop GUI I see in begining that NVDEC start woek and then imdetily stop(attach images)



I not sucssed to see any deatils in graph because I not get error.
I need to mentation that I cant change the sender side only the reciver side.

Thank you for reply, I try your answer and I get this output:

gst-launch-1.0 uridecodebin uri="udp://234.0.0.0:46002" ! fakesink
0:00:00.051196927 12463   0x5574d09980 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "uridecodebin"
0:00:00.052609740 12463   0x5574d09980 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "fakesink"
0:00:00.052876615 12463   0x5574d09980 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "pipeline"
Setting pipeline to PAUSED ...
0:00:00.057225990 12463   0x5574d09980 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element "udpsrc" named "source"
0:00:00.057830261 12463   0x5574d09980 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "decodebin"
0:00:00.058087552 12463   0x5574d09980 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element "typefind" named "typefind"
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

and it’s not continue what I missing?
maybe I have problem with UDP packets size?
I sucssed to open video on my jetson nano when the sender is simple h264 so I dont thing is firewall problem.

Ok, I have some progress, I write this simple pipeline:

gst-launch-1.0 udpsrc uri=udp://234.0.0.0:46002 ! filesink location=output.pcap

Whan I play from my computer pcap file with video that is simple h264 I sucssed to generate output.pcap and get file that as size when I play the pcap file with RTP packets I not sucssed the size is 0 what I miss maube I need to setting something that I miss?

I not sucssed exectly to figureout the problem I try the fellowing expriment:
I transmit video from one terminal with pipeline sender:

gst-launch-1.0 videotestsrc is-live=1 ! video/x-raw,width=1280,height=720 ! timeoverlay valignment=4 halignment=1 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=1280,height=720' ! tee name=t ! nvv4l2h264enc insert-sps-pps=1 ! mpegtsmux ! rtpmp2tpay ! udpsink host=234.0.0.0 port=46002 sync=0

and sucssed to generate filesink, In concurent I record with wireshark the packets and then again play from pcap file now I not sucssed to generate file on my jetson but still sucssed to display the video example with ffmpeg on windows.
How you can explain this ?

what is the reasson that I not sucssed to get udpsrc packets?

When I play some pcap file that is not RTP (attach image with deatils) I sucssed to open this is not make sense you have any idea ?