I’m attempting to use nvvidconv to crop and save a video. While cropping works, the video is resized back to its original dimensions afterward, resulting in the saved video being elongated horizontally to 4608 x 2592. Could you kindly assist me with this issue?
I also tried the pipeline suggested below, but it didn’t work.
Here’s my pipeline:
"nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)4608, height=(int)2592,format=(string)NV12, framerate=(fraction)14/1 ! tee name=t t. ! queue ! nvvidconv top = 0 bottom = 2592 left = 0 right = 4000 ! video/x-raw(memory:NVMM), width = 4000, height = 2592! nvv4l2h265enc ! h265parse ! matroskamux ! filesink location=test.mkv t. ! queue ! nvvidconv ! video/x-raw, format=(string)I420, width=640, height=480 ! appsink sync=0 ";
The command still doesn’t work. In the window properties, it’s indicated that it’s saved as 4000x2592 size, but when I actually open the video to check, it’s still saved as 4608x2592.