On 2013-10-07 07:28:54, Antoine Beaupré wrote: > On 2013-10-06 16:22:14, Joey Hess wrote: >> Antoine Beaupré wrote: >>> + self.zbarframe.set_size_request(500,500) >> >> This works well for me. QR code is now quite large and >> video window is a good size. >> >> The video is a bit laggy still, probably because it's >> moving a lot of data around. Comparing with eg, cheese, >> which must set the camera to a lower res and so has a much >> less lagged video display. > > Does it change the resolution or truncate the widget? > > Let's see if we can try something else.
Actually, even easier and probably less heavy for monkeysign:
sudo apt-get install v4l-utils
v4l2-ctl --set-fmt-video=width=640,height=480,pixelformat=1
Does it work for you? Is it faster?
If so I think i'll recommends v4l-utils and fire up such a command
depending on the window size on startup.
Thanks for the testing!
A.
--
Ou bien Dieu voudrait supprimer le mal, mais il ne le peut pas
Ou bien Dieu pourrait supprimer le mal, mais il ne le veut pas.
- Sébastien Faure
pgpkNjfeVq7J5.pgp
Description: PGP signature

