Крымский форум (Crimea-Board) Поиск Участники Помощь Текстовая версия Crimea-Board.Net
Здравствуйте Гость .:: Вход :: Регистрация ::. .:: Выслать повторно письмо для активации  
 
> Рекламный блок.
 

Реклама на форуме

 
> Ваша реклама, здесь
 
 
 

  Start new topic Start Poll 

> Web-камера и Linux, кто-нить настраивал?
GSMmaster |
Дата 7 Декабря, 2007, 17:39
Quote Post



Unregistered









Вот столкнулся, поставил прогу motion. Оно-то работает, а вот как сделать чтобы при просмотре через браузер выдавало картинку и рефреш в 60, скажем, секунд?
1/   
Бобер | Бездомный
Реклама двигатель прогресса       
Quote Post



А кому сча лехко?
Group Icon
















_________________
Желающим разместить рекламу смотреть сюдой
/   
SlavaD | Профиль
Дата 7 Декабря, 2007, 18:23
Quote Post



Тех. Админ
Group Icon

Группа: Admin
Сообщений: 503
Регистрация: 13.08.03
Авторитет: 21
Вне форума



а как ты сейчас через браузер смотришь ?
PMEmail Poster
GSMmaster |
Дата 7 Декабря, 2007, 18:34
Quote Post



Unregistered









А вот загадочно смотрю. Открывается картинка, потом прет траф без перерыва, а картинка не обновляется.
SlavaD | Профиль
Дата 8 Декабря, 2007, 0:33
Quote Post



Тех. Админ
Group Icon

Группа: Admin
Сообщений: 503
Регистрация: 13.08.03
Авторитет: 21
Вне форума



по идее тебе надо научиться каким нить wget картинку забирать и выкладывать уже на http
PMEmail Poster
Eugene |
Дата 8 Декабря, 2007, 2:49
Quote Post



Unregistered









а чего не заюзал
простенький ТВ тюнер и камеру-глазок с тв выходом
тут и выбор софта больше
и возможность транслировать поток в сеть
и смотреть в медиа-плеере
1/   
GSMmaster |
Дата 8 Декабря, 2007, 16:41
Quote Post



Unregistered









Eugene

Вот заюзал. Поставил TV-тюнер, а как бы ему из шелла включить видеовход?

Добавлено в [mergetime]1197117960[/mergetime]
dmesg | grep bt
[17179593.968000] bttv: driver version 0.9.16 loaded
[17179593.968000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[17179594.004000] bttv: Bt8xx card found (0).
[17179594.004000] bttv0: Bt878 (rev 17) at 0000:02:08.0, irq: 217, latency: 32, mmio: 0xe3000000
[17179594.004000] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[17179594.004000] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[17179594.008000] bttv0: using tuner=-1
[17179594.008000] bttv0: i2c: checking for MSP34xx @ 0x80... not found
[17179594.012000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[17179594.012000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[17179594.016000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[17179594.016000] bttv0: registered device video0
[17179594.016000] bttv0: registered device vbi0
[17179594.096000] bt878: AUDIO driver version 0.0.0 loaded
[17179594.096000] bt878: Bt878 AUDIO function found (0).
[17179594.096000] bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
[17179594.096000] bt878(0): Bt878 (rev 17) at 02:08.1, irq: 217, latency: 32, memory: 0xe3001000
4/   
Eugene |
Дата 8 Декабря, 2007, 19:36
Quote Post



Unregistered









глянь тут http://avreg.net
и тут http://www.zoneminder.com/

Добавлено в [mergetime]1197128714[/mergetime]
NAME
xawtv-remote, v4lctl -- control video4linux devices
SYNOPSIS
xawtv-remote [ options ] command
v4lctl [ options ] command
DESCRIPTION
xawtv-remote and v4lctl can be used to control a video4linux driven TV card. xawtv-remote passes the command to a already running xawtv or motv instance using X11 properties. v4lctl sets the parameters directly.
OPTIONS
xawtv-remote knows the following options:
-h
print a short help text
-d dpy
Set the X11 display
-i id
Set the Window ID. v4lctl understands these options:
-h
print a short help text
-c device
Set video4linux device.
-v n
Set debug level to n, where n = [0..2]

COMMANDS
Both tools basically use the same set of commands. Some of them are useful for xawtv-remote only (fullscreen for example).
setstation [ <name> | <nr> | next | prev | back ]
Set the TV station. This selects on of the TV stations which are configured in the .xawtv config file. The argument can be the station name or a number (the first one listed in the config file is 0, ...). next/prev jumps to the next/previous station in the list, back to the previously selected one.
setchannel [ <name> | next | prev ]
Tune in some channel.
setfreqtab <table>
Set the frequency table. See the menu in xawtv for a list of valid choices.
setnorm <norm>
Set the TV norm (NTSC/PAL/SECAM).
setinput [ <input> | next ]
Set the video input (Television/Composite1/...)

capture [ on | off | overlay | grabdisplay ]
Set capture mode.
volume mute on | off
mute / unmute audio.
volume <arg>
color <arg>
hue <arg>
bright <arg>
contrast <arg>
Set the parameter to the specified value. <arg> can be one of the following: A percent value ("70%" for example). Some absolute value ("32768"), the valid range is hardware specific. Relative values can be specified too by prefixing with "+=" or "-=" ("+=10%" or "-=2000"). The keywords "inc" and "dec" are accepted to and will increase and decrease the given value in small steps.
setattr <name> <value>
Set set the value of some attribute (color, contrast, ... can be set this way too).
show [ <name> ]
Show the value current of some attribute.
list
List all available attributes with all properties (default value, range, ...)
snap [ jpeg | ppm ] [ full | win | widthxheight ] <filename>
Capture one image.
webcam <filename>
Capture one image. Does basically the same as "snap jpeg win <filename>". Works also while avi recording is active. It writes to a temporary file and renames it when done, so there is never a invalid file.
movie driver [ files | raw | avi | qt ]
movie video [ ppm | pgm | jpeg | rgb | gray | 422 | 422p | rgb15 | rgb24 | mjpeg | jpeg | raw | mjpa | png ]
movie fps <frames per second>
movie audio [ mono8 | mono16 | stereo ]
movie rate <sample rate>
movie fvideo <filename>
movie faudio <filename>
movie start
movie stop
control xawtv's movie recorder.
fullscreen
Toggle fullscreen mode.
showtime
Display time (same what the 'D' key does in xawtv).
msg text
Display text on the on-screen display (window title / upper left corner in fullscreen mode).
vtx line1 line2 [ ... ]
Display subtitles. It pops up a small window at the bottom of the screen. It is supported to be used as interface for displaying subtitles (often on videotext page 150 in europe, thats why the name) by external programs.
Every command line argument is one line, zero lines removes the window. You can colorize the text with the control sequence "ESC foreground background". foreground/background has the range 0-7 (ansi term colors). Example: "\03347 hello world " is blue on white. "\033" must be a real escape character, the string does'nt work. With the bash you'll get it with ^V ESC. vtx does also understand the ANSI tty escape sequences for color.
quit
quit xawtv
keypad n
enter digit 'n'. That's the two-digit channel selection, entering two digits within 5 seconds switches to the selected station. Useful for lirc.
vdr command
send "command" to vdr (via connect on localhost:2001).

SEE ALSO
xawtv(1), motv(1), xawtvrc(5)
19/   
GSMmaster |
Дата 8 Декабря, 2007, 20:27
Quote Post



Unregistered









всё хорошо, но иксов нет как класса. Вопрос остается открытым.
GSMmaster |
Дата 9 Декабря, 2007, 1:49
Quote Post



Unregistered









Fixed, спасибо Eugene!

Topic Options Start new topic Start Poll 

 



[ Script Execution time: 0.0123 ]   [ 12 queries used ]   [ GZIP включён ]






Политика конфиденциальности

Top