2,225
edits
No edit summary |
|||
Line 30: | Line 30: | ||
int main() { | int main() { | ||
cv::VideoCapture cap( | cv::VideoCapture cap( | ||
" | "fakesrc sizetype=fixed filltype=zero sizemax=24883200 ! video/x-raw,format=BGR,width=3840,height=2160 ! " | ||
"perf print-arm-load=true ! appsink drop=false sync=false max-buffers=3", | "perf print-arm-load=true ! appsink drop=false sync=false max-buffers=3", | ||
cv::CAP_GSTREAMER); | cv::CAP_GSTREAMER); | ||
Line 48: | Line 48: | ||
GST_DEBUG=perf:4 ./benchmark | GST_DEBUG=perf:4 ./benchmark | ||
</source> | </source> | ||
[[File:RR opencv fork max framerate|thumb|center|GStreamer Video Capture - Max Framerate]] |