Hi
able to simulate the netsim behaviour on receiver side, if the content is software encoded on host side.
Software Encoding
Host side:
gst-launch-1.0 filesrc location=“path to yuv file” ! videoparse width=640 height=360 format=2 framerate=25 ! x264enc key-int-max=60 tune=zerolatency ! ‘video/x-h264, stream-format=(string)byte-stream’ ! h264parse ! rtph264pay ssrc=0 ! udpsink host=ip_address port=5000 async=false
Receiver Side:
gst-launch-1.0 udpsrc port=5000 caps=“application/x-rtp, media=video, clock-rate=90000, encoding-name=H264” ! queue ! netsim drop-probability=0.05 ! decodebin ! videoconvert ! queue ! autovideosink
Hardware Encoding
Host side:
gst-launch-1.0 filesrc location=“path to yuv file” ! videoparse width=640 height=360 format=2 framerate=25 ! videoconvert ! nvvidconv ! “video/x-raw(memory:NVMM), format=NV12, width=640, height=360” ! nvv4l2h264enc ! ‘video/x-h264, stream-format=(string)byte-stream’ ! h264parse ! rtph264pay ssrc=0 ! udpsink host=ip_address port=5000 async=false
Receiver Side:
gst-launch-1.0 udpsrc port=5000 caps=“application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, payload=96” ! queue ! netsim drop-probability=0.05 ! decodebin ! videoconvert ! queue ! autovideosink
Why the behaviour is different?
Any thing missing ?