I’m using ximagesrc for screen recording. I need it to record at 60fps and at a 1920x1080 resolution:
gst-launch-1.0 -v ximagesrc use-damage=0 do-timestamp=1 ! nvvidconv ! 'video/x-raw(memory:NVMM),format=I420,framerate=60/1,pixel-aspect-ratio=1/1' ! omxh264enc ! 'video/x-h264,stream-format=byte-stream' ! filesink location="test.h264" -e
The recording quality is very bad using this pipeline however when I turn down the FPS it is better. How do I achieve both high quality and fast FPS screen recording. Is there a sample pipeline anyone can recommend? My only requirements are the 60 FPS, 1080p resolution, and h264 encoded. It doesn’t need to do it in real time because it’s being saved to a file, so maybe if buffers are implemented the quality will improve?