Hello Everyone,
I am just new in AGX Xavier and i want to dig it in more. I have specific case with i just want to send RAW data over Host to Client(AGX) then encode it to with hardware accelerated H264 and send it back to the my Host over UDP again.
Here is my case:
My test video: Big_Back_Bunny.y4m
My Host Terminal (RAW File Sender):
gst-launch-1.0 filesrc location=~/Videos/big_buck_bunny_720p24.y4m ! video/x-raw, width=720, height=576,format=BGRA, aspect-ratio=1/1, framerate=24/1 ! decodebin ! videoconvert ! rtpvrawpay mtu=65000 chunks-per-frame=1 ! queue max-size-time=5000000000 max-size-buffers=10000 ! udpsink host=192.168.55.1 port=5005 buffer-size=50000000 sync=true async=true -v
My Client Terminal (Get RAW file, encode and send it back):
gst-launch-1.0 udpsrc port=5005 caps=“application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, colorimetry=(string)BT709-2, sampling=(string)YCbCr-4:2:0, width=(string)1280, height=(string)720” buffer-size=50000000 ! rtpvrawdepay ! videoconvert ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 ! h264parse ! rtph264pay ! queue max-size-time=5000000000 max-size-buffers=10000 ! udpsink host=192.168.55.100 port=5006
My Another Host Terminal (To Display H264 Encoded Video):
gst-launch-1.0 udpsrc port=5006 ! application/x-rtp, encoding-name=H264, payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink
Everything is correctly working but there is a flickering problem in the video when the objects move or scenes changed like the image below:
Is there anything wrong in our pipelines or do you have any suggestions to improve it?
Thank you in advance!