set video output as xvimagesink
I have Cheese application. But, it has mentioned to change video output as xvimag开发者_StackOverflowesink for
better performance on video recording.
I am using the the back end part of the Cheese source code(Open source) and creating my own
UI.
It works fine for normal image capture and video display rate is fine when streaming from
web camera. When i call recording video method, the video rate is very slow.
So, my query is how can i set video output as xvimagesink.
Regards, iSight
Look for the cheese_webcam_create_video_display_bin
function in cheese-webcam.c
. It uses gconfvideosink
by default, which lets you configure which video sink you would like using a Gnome user interface. That or autovideosink
(picks the video output that gstreamer thinks is best) are probably better than xvimagesink
.
While recording video using Cheese, change the resolution size by 352x288 in preference.
Then the issue of slow frame recording will not exist. And enjoy recording video using
Cheese.
Regards, iSight
精彩评论