andyross34
Posts: 8
Joined: Thu Oct 30, 2014 9:53 am

When connecting through VNC

Thu Oct 30, 2014 9:57 am

Hello i recently set up my Raspberry pi to connect through VNC to allow me to control it without plugging everything in, when i try to take a picture through VNC it wont allow me to preview it like it does when i use the same line in the command when im connected to it directly, is there a way to enable it or is there an alternative to do this ?

I'm using the standard code : Raspistill -o test.jpg -t 10000

Thanks,

Andy

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: When connecting through VNC

Fri Oct 31, 2014 9:00 am

The preview uses HW acceleration which doesn't work over VNC.

You could try this instead :

Code: Select all

sudo modprobe bcm2835-v4l2
sudo apt-get update
sudo apt-get install guvcview
guvcview
ghans

EDIT: typo corrected
Last edited by ghans on Fri Oct 31, 2014 3:56 pm, edited 2 times in total.
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: When connecting through VNC

Fri Oct 31, 2014 3:36 pm

gucview?

Code: Select all

pi@raspberrypi ~ $ apt-cache search gucview
pi@raspberrypi ~ $ sudo apt-get install gucview -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gucview
pi@raspberrypi ~ $

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: When connecting through VNC

Fri Oct 31, 2014 3:55 pm

Oops. Thanks , of course the program is named guvcview not gucview.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “Beginners”