ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Olvin <olvin@rambler.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] v4l, web-камера и всё такое
Date: Wed, 03 Oct 2007 21:31:23 +0300
Message-ID: <4703DFFB.1030804@rambler.ru> (raw)
In-Reply-To: <op.ty74orsvoljj1j@localhost.localdomain>

Alexey Petrakov пишет:
>>> Господа, а что у нас с video4linux? Имею веб-камеру. Подключил её, она
>>> определилась (драйвер gspca). Хочу в неё загляуть и делаю так: "mplayer
>>> tv:// -tv driver=v4l". Картинка показывается (в разрешении в 2 раза
>>> меньшем родного разрешения камеры), но в каких-то неестественно-бледных
>>> тонах, начинает мутнеть, мутнеть и секунд через 10-15 можно разглядеть
>>> только сильные источники света.
>>> Вариант:
>>> $ mplayer tv:// -tv driver=v4l2
>>> Отвечает:
>>> Выбран драйвер: v4l2
>>>   название: Video 4 Linux 2 input
>>>   автор: Martin Olschewski <olschewski@zpr.uni-koeln.de>
>>>   комментарий first try, more to come ;-)
>>> v4l2: ioctl query capabilities failed: Недопустимый аргумент
>>> v4l2: ioctl set mute failed: Недопустимый аргумент
>>> v4l2: 0 frames successfully processed, 0 frames dropped.
>>> Собственно, вопрос: как нормально получить картинку с веб-камеры?
>> modinfo gspca и загрузить с нужным параметром.
> Какой параметр "нужный"? На данный момент модуль грузится автоматом при  
> втыкании камеры.

у меня Logitech QuickCam Go! Модуль gspca грузится с дефолтными 
параметрами. А вот параметры mplayer подбирал долго. Остановился на:

mplayer tv:// -tv 
driver=v4l:width=320:height=240:device=/dev/video0:contrast=-50:brightness=20 
-vo x11

(-vo x11 можно убрать, это для просмотра удалённо через vnc :) )



  reply	other threads:[~2007-10-03 18:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25 16:50 Alexey Petrakov
2007-09-25 17:32 ` Pavlov Konstantin
2007-09-25 19:06   ` Alexey Petrakov
2007-10-03 18:31     ` Olvin [this message]
2007-10-04  5:21       ` Alexey Petrakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4703DFFB.1030804@rambler.ru \
    --to=olvin@rambler.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git