# devices section. # Here we use an enum to tell subdevsrc2 which camera to use. [devices] scanner=enum property=camera-device # GStreaemer elements [video-source] element=subdevsrc2 [viewfinder-sink] element=gltexturesink renderer=meego use-fence=true [audio-source] element=pulsesrc [wrapper-video-source] element=camsrcbin property=video-source # caps for audio [audio-capture-caps] caps = "audio/x-raw-int, channels=(int)2, width=(int)16, depth=(int)16, rate=(int)48000" # Specifying resolutions and capture properties: # Generic sections are called [image] and [video] # A specific section per device can be created and named # [image-] and [video-] # Options from the device specific section override options from the generic section # Defaults [image] profile-name=image-profile profile-path=image.gep extension=jpg [video] profile-name=video-profile profile-path=video.gep extension=mp4 # Primary camera [image-0] presets=image-high-16:9,image-medium-16:9,image-low-16:9,image-high-4:3,image-medium-4:3,image-low-4:3,image-high-3:2,image-medium-3:2,image-low-3:2 [video-0] presets=video-high,video-medium,video-low [image-1] presets=sec-image-low [video-1] presets=sec-video-low # presets [image-high-16:9] name=high capture = 3552x2000 preview = 912x514 viewfinder = 848x480 fps = 30 night = 10 megapixels = 7 aspectratio=16:9 [image-medium-16:9] name=medium capture = 3136x1760 preview = 912x512 viewfinder = 848x480 fps = 30 night = 10 megapixels = 6 aspectratio=16:9 [image-low-16:9] name=low capture = 2304x1296 preview = 912x514 viewfinder = 848x480 fps = 30 night = 10 megapixels = 3 aspectratio=16:9 [image-high-4:3] name=high capture = 3248x2448 preview = 832x628 viewfinder = 640x480 fps = 30 night = 10 megapixels = 8 aspectratio=4:3 [image-medium-4:3] name=medium capture = 2720x2048 preview = 832x626 viewfinder = 640x480 fps = 30 night = 10 megapixels = 6 aspectratio=4:3 [image-low-4:3] name=low capture = 2048x1536 preview = 848x636 viewfinder = 640x480 fps = 30 night = 10 megapixels = 3 aspectratio=4:3 [image-high-3:2] name=high capture = 3248x2160 preview = 944x628 viewfinder = 720x480 fps = 30 night = 10 megapixels = 7 aspectratio=3:2 [image-medium-3:2] name=medium capture = 2896x1920 preview = 944x626 viewfinder = 720x480 fps = 30 night = 10 megapixels = 6 aspectratio=3:2 [image-low-3:2] name=low capture = 2160x1440 preview = 944x630 viewfinder = 720x480 fps = 30 night = 10 megapixels = 3 aspectratio=3:2 [video-low] name=low capture = 640x480 preview = 640x480 fps = 30 night = 10 aspectratio=4:3 resolution=VGA [video-medium] name=medium capture = 848x480 preview = 848x480 fps = 30 night = 10 aspectratio=16:9 resolution=WVGA [video-high] name=high capture = 1280x720 preview = 1280x720 fps = 30 night = 10 aspectratio=16:9 resolution=720p [sec-image-low] name=low capture = 576x472 preview = 576x472 viewfinder = 576x472 fps = 27 night = 10 megapixels = 1 aspectratio=4:3 [sec-video-low] name=low capture = 320x240 preview = 320x240 fps = 27 night = 10 aspectratio=4:3 resolution=low [viewfinder-filters] elements = facetracking, motiondetect [roi] element=facetracking enable=message message=regions-of-interest