Re: Трансляция видео с вебкамеры по сети

2009-06-12 Пенетрантность Andrey N. Prokofiev

Maksim A. Boyko пишет:

Как выход, использовать V4L2. Прежде чем браться за motion убедись в
том, что девайс действительно работает, например так

mplayer tv:// v4l2:device=/dev/video0

Удачи!
  
r...@notebook:~# mplayer tv:// -tv 
driver=v4l2:width=320:height=240:device=/dev/video0

MPlayer 1.0rc2-4.3.2-DFSG-free (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) M processor  900MHz (Family: 6, Model: 
13, Stepping: 8)

CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.


Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski olschew...@zpr.uni-koeln.de
comment: first try, more to come ;-)
v4l2: ioctl get standard failed: Invalid argument
Selected device: UVC Camera (eb1a:2761)
Capabilites:  video capture  streaming
supported norms:
inputs: 0 = Camera 1;
Current input: 0
Current format: YUYV
v4l2: ioctl set format failed: Device or resource busy
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.


Exiting... (End of file)

?!


--
Best Regards, Andrey.
Jabber ID: a...@eth0.spb.ru
E-mail: a...@eth0.spb.ru / a...@unix-way.spb.ru
:wq

begin:vcard
fn:Andrey N. Prokofiev
n:Prokofiev;Andrey
email;internet:a...@eth0.spb.ru
tel;cell:+7-951-6886260
note:My Jabber ID: a...@eth0.spb.ru
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: Трансляция видео с вебкамеры по сети

2009-06-12 Пенетрантность sms
Попробуй воспользоваться коллекцией утилит camstream.

collection of tools for webcams and other video-devices
CamStream is (going to be) a collection of tools for webcams and other
video-devices, enhancing your Linux system with multimedia video. All written
in C++ and with a GUI frontend. The interface is based on Qt.

The aim of this project is build a set of programs for:
 * Webcamming, that is saving an image and uploading it to a server at regular
   intervals;
 * Video conferencing;
 * Webcam broadcast (including server);
 * Recording movie clips (AVI, Quicktime) from a webcam (and playing them
   back);
 * Using a webcam as a security camera.


перевод: коллекция утилит для вебкамер и других видео устройств.
CamStream - это коллекция утилит для вебкамер и других видео устройств,
обслуживающих вашу линукс систему с мультимедийными видеоустройствами.
Утилиты написаны на C++ и имеют GUI оболочку. Интерфейс основан на
библиотеках Qt.
В коллекции этих утилит входят программы:
 *Для работы с вебкамерами, которые сохраняются как изображения и
выгружаются на сервер используя регулярные временные интервалы.
 *Видео конференции
 *Широковещание с вебкамер (включая сервер)
 *Запись видео клипов (AVI, Quicktime) из вебкамеры (и обратное
воспроизведение)
 *Использование вебкамеры в КАЧЕСТВЕ КАМЕРЫ БЕЗОПАСНОСТИ. (ЭТО ТО ЧТО
ТЕБЕ НУЖНО ДЛЯ ТОГО, ЧТОБЫ ТВОЯ ВЕБКАМЕРА РЕАГИРОВАЛА НА ДВИЖЕНИЯ
ОБЪЕКТОВ). ;-)

 Если эти утилиты работать не будут, то будем разбираться с аппаратным
устройством твоей встроенной видеокамеры. ;P


--
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Трансляция видео с вебкамеры по сети

2009-06-12 Пенетрантность Alexander GQ Gerasiov
Hello, sms.

On Fri, 12 Jun 2009 16:38:46 +1100
sms debsn...@gmail.com wrote:


  Когда-то, а точнее в Fri, Jun 12, 2009 at 13:52 +1100, sms изволили
  разразиться высказыванием:
   On Fri, 12 Jun 2009 00:20:11 +0400
 Ща сам разродишься, крендель блин... :{
 
  Какие, нафиг, карты памяти? Тут говорится о том, что read больше не
  поддерживается, а mmap сделать нельзя, по вышеприведенным причинам.
 Каким бля вышеприведенным причинам? Причина - это то что текстик в
 инет вылетел? :-D Какой бля read не поддерживается? Read - это чтение
 значит млу.
Хуже дурака - только упертый дурак.

 Там написано что V4L потоковое захватие используя чтение
 понижено (или неработает вовсе)
Вот это пять.


-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail:g...@cs.msu.su Jabber:  g...@jabber.ru
 Homepage:  http://gq.net.ru ICQ: 7272757
 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49  BAEA CA87 E9E8 2AAC 33F1


--
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Трансляция видео с вебкамеры по сети

2009-06-11 Пенетрантность Andrey N. Prokofiev

Maksim A. Boyko пишет:

motion

Попробовал motion. При запуске пишет:
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.9 Started
[0] ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[1] cap.driver: uvcvideo
[1] cap.card: UVC Camera (eb1a:2761)
[1] cap.bus_info: :00:1d.7
[1] cap.capabilities=0x0401
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Error selecting input 0
[1] VIDIOC_S_INPUT: Device or resource busy
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Capture error calling vid_start
[1] Thread finishing...

$ lsusb |grep webcam
Bus 005 Device 004: ID eb1a:2761 eMPIA Technology, Inc. EeePC 701 
integrated webcam


Что не так?

--
Best Regards, Andrey.
Jabber ID: a...@eth0.spb.ru
E-mail: a...@eth0.spb.ru / a...@unix-way.spb.ru
:wq

begin:vcard
fn:Andrey N. Prokofiev
n:Prokofiev;Andrey
email;internet:a...@eth0.spb.ru
tel;cell:+7-951-6886260
note:My Jabber ID: a...@eth0.spb.ru
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: Трансляция видео с вебкамеры по сети

2009-06-11 Пенетрантность sms
On Fri, 12 Jun 2009 00:20:11 +0400
Andrey N. Prokofiev a...@eth0.spb.ru wrote:

 Maksim A. Boyko пишет:
  motion
 Попробовал motion. При запуске пишет:
 [0] Processing thread 0 - config file /etc/motion/motion.conf
 [0] Motion 3.2.9 Started
 [0] ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664
 [0] Thread 1 is from /etc/motion/motion.conf
 [1] Thread 1 started
 [1] cap.driver: uvcvideo
 [1] cap.card: UVC Camera (eb1a:2761)
 [1] cap.bus_info: :00:1d.7
 [1] cap.capabilities=0x0401
 [1] - VIDEO_CAPTURE
 [1] - STREAMING
 [1] Error selecting input 0
 [1] VIDIOC_S_INPUT: Device or resource busy
 [1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
 [1] V4L capturing using read is deprecated!
 [1] Motion only supports mmap.
 [1] Capture error calling vid_start
 [1] Thread finishing...
 
 $ lsusb |grep webcam
 Bus 005 Device 004: ID eb1a:2761 eMPIA Technology, Inc. EeePC 701 
 integrated webcam
 
 Что не так?
 
Ну чо тут не понятного... :-P
 [1] VIDIOC_S_INPUT: Device or resource busy
Вход видеокамеры занят. Надо освободить. :-D
 [1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
 [1] V4L capturing using read is deprecated!
 [1] Motion only supports mmap.
 [1] Capture error calling vid_start
 [1] Thread finishing...
Ошибка. Устройство не поддерживает карты памяти. MOTION поддерживает
ТОЛЬКО устройства с картами памяти. Тред закончен...

Надо было выбрать какую то другую программу для ретрансляции видео.


--
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Трансляция видео с вебкамеры по сети

2009-06-11 Пенетрантность sms
On Fri, 12 Jun 2009 10:21:54 +0600
Sergey Korobitsin underta...@arta.kz wrote:


  Andrey N. Prokofiev a...@eth0.spb.ru wrote:
  
   Maksim A. Boyko пишет:
motion
   Попробовал motion. При запуске пишет:
   [0] Processing thread 0 - config file /etc/motion/motion.conf
   [0] Motion 3.2.9 Started
   [0] ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664
   [0] Thread 1 is from /etc/motion/motion.conf
   [1] Thread 1 started
   [1] cap.driver: uvcvideo
   [1] cap.card: UVC Camera (eb1a:2761)
   [1] cap.bus_info: :00:1d.7
   [1] cap.capabilities=0x0401
   [1] - VIDEO_CAPTURE
   [1] - STREAMING
   [1] Error selecting input 0
   [1] VIDIOC_S_INPUT: Device or resource busy
   [1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
   [1] V4L capturing using read is deprecated!
   [1] Motion only supports mmap.
   [1] Capture error calling vid_start
   [1] Thread finishing...
   
   $ lsusb |grep webcam
   Bus 005 Device 004: ID eb1a:2761 eMPIA Technology, Inc. EeePC 701 
   integrated webcam
   
   Что не так?
   
  Ну чо тут не понятного... :-P
   [1] VIDIOC_S_INPUT: Device or resource busy
  Вход видеокамеры занят. Надо освободить. :-D
   [1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
   [1] V4L capturing using read is deprecated!
   [1] Motion only supports mmap.
   [1] Capture error calling vid_start
   [1] Thread finishing...
  Ошибка. Устройство не поддерживает карты памяти. MOTION поддерживает
  ТОЛЬКО устройства с картами памяти. Тред закончен...
 


 Когда-то, а точнее в Fri, Jun 12, 2009 at 13:52 +1100, sms изволили
 разразиться высказыванием:
  On Fri, 12 Jun 2009 00:20:11 +0400
Ща сам разродишься, крендель блин... :{

 Какие, нафиг, карты памяти? Тут говорится о том, что read больше не
 поддерживается, а mmap сделать нельзя, по вышеприведенным причинам.
Каким бля вышеприведенным причинам? Причина - это то что текстик в инет
вылетел? :-D Какой бля read не поддерживается? Read - это чтение значит
млу. Там написано что V4L потоковое захватие используя чтение понижено
(или неработает вовсе)


--
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org