I want use nvvidconv to scale video size ,but result is crop ,why?

gst-launch-1.0 -v  rtspsrc location='rtsp://admin:1234qwer@192.168.10.225' latency=50 \
! rtph264depay \
! queue \
! h264parse \
! nvdec_h264 \
! nvvidconv \
! dsexample full-frame=1 \
! nvosd \
! 'video/x-raw(memory:NVMM), format=(string)RGBA, width=(int)1920, height=(int)1080' \
! nvvidconv \
! 'video/x-raw, format=(string)RGBA, width=(int)960, height=(int)540' \
! videoconvert \
! 'video/x-raw, format=(string)NV12, width=(int)960, height=(int)540' \
! queue \
! x264enc bitrate=2048 speed-preset=superfast tune=zerolatency  \
! rtph264pay config-interval=1 pt=96 mtu=4096 \
! udpsink host=10.0.0.2 port=5000

this is success, but

  1. I need scale, but result is crop
  2. why not use nvvidconv convert color space in gpu ,but must use videoconvert
  3. I can use nvdec_h264 to decode video in gpu, but I can not find which is encode in gpu


1080p picture url is
[url]https://s1.ax1x.com/2018/10/26/i60ktO.png[/url]

scale picture url
[url]https://s1.ax1x.com/2018/10/26/i604UK.png[/url]

Hi 287886999,

Please try with our DeepStream SDK 3.0 to see if still present:
[url]https://developer.nvidia.com/deepstream-sdk[/url]

If yes, please file a new topic.

Thanks