The following pipeline:
gst-launch-1.0 videotestsrc ! nvvideoconvert ! "video/x-raw(memory:NVMM),width=1920,height=1080,format=I420" ! perf ! fakesink
This reports 330fps with a bitrate of 160kbps. The theoretical bitrate is of around 1Gbps.
The culprit appears to be the call of gst_buffer_get_size which doesn't work correctly with the gpu mapped memory.
The following pipeline:
gst-launch-1.0 videotestsrc ! nvvideoconvert ! "video/x-raw(memory:NVMM),width=1920,height=1080,format=I420" ! perf ! fakesinkThis reports 330fps with a bitrate of 160kbps. The theoretical bitrate is of around 1Gbps.
The culprit appears to be the call of
gst_buffer_get_sizewhich doesn't work correctly with the gpu mapped memory.