I want to run an RTSP stream at 60FPS and 2560x720 resolution. This works fine as a direct output, however I think when I encode it, the resolution drops at 60FPS. Is there a way I can preserve the resolution at 60FPS because I know that the camera can handle that stream rate. Here is my pipeline:
./test-launch "v4l2src device=/dev/video2 do-timestamp=1 ! video/x-raw, width=2560, height=720, framerate=60/1 ! nvvidconv ! nvv4l2h264enc insert-vui=1 insert-sps-pps=1 ! h264parse ! rtph264pay name=pay0"
gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test latency=0 ! application/x-rtp,media=video,encoding-name=H264 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! xvimagesink