Video scaling output size not expected
On running the videoscale command, on multiple resolutions , eg. from 1920x1080 to 1280x720 , 960x540, 640x360 etc, The final file sizes are expected to be sizeof(1280x720) > sizeof(960x540) > sizeof(640x360) But when the below command is run on nvidia-jetson, the file sizes are similar.
gst-launch-1.0 -q filesrc location={video_path} ! qtdemux ! queue ! h264parse ! nvv4l2decoder enable-max-performance=1 ! nvvidconv ! videoscale method=3 ! 'video/x-raw(memory:NVMM), width=(int){downscaled_wd}, height=(int){downscaled_ht}, format=(string)I420' ! nvv4l2h264enc ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! qtmux ! filesink location={new_path} -e >/dev/null 2>&1