I’m using the following pipeline for screen recording however when I play the video back, it seems to be sped up by a lot. How do I ensure that my recording is at the correct speed:
gst-launch-1.0 -v ximagesrc ! nvvidconv ! 'video/x-raw(memory:NVMM),alignment=au,format=I420,framerate=60/1,pixel-aspect-ratio=1/1' ! omxh264enc ! 'video/x-h264,stream-format=byte-stream' ! filesink location="test.h264" -e
Please set the property yo ximagesrc for a try:
do-timestamp : Apply current stream time to buffers
flags: readable, writable
Boolean. Default: false
And h264 stream may not contain timestamp information. Please add matroskamux to save to mkv file and check again.
I want to save it as a .h264 file not an mkv file. I’m not sure what the property yo is? I don’t see it in the documentation and everything seems to have a default setting