Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam chcialbym zobic taki sprytny myk jak telewizja po skretce.
Mam zamiar wstawic do serverka tuner tv i udostepnic do niego dostep po lanie. Nie wiem czy to mozliwe a jesli tak to jakim softem to sie robi.
Jezeli macie jakotakie pojecie na ten temat bardzo bym prosil to jakies linki ewentualnie pare slow na ten temat.
Dzieki z gory.
Offline
Myślę, że wokół [url=http://www.videolan.org/vlc/]vlc[/url] powinieneś się zakręcić, ale szczegółów nie znam.
Offline
Zwykły tuner tv ma tylko jedną głowicę - więc wszyscy będą zmuszeni do oglądania tylko jednego programu.
Offline
Zwykły tuner tv ma tylko jedną głowicę - więc wszyscy będą zmuszeni do oglądania tylko jednego programu.[/quote]
Trwam! :D
Błogosławieni, którzy czynią FAQ.
[url=http://www.opencaching.pl]opencaching[/url] :: [url=http://dug.net.pl/sources.list]debian sources.list[/url] :: [url=http://www.linuxportal.pl/blogi/azhag/wpisy]coś jakby blog[/url] :: [url=http://dug.net.pl/]polski portal debiana[/url] :: linux user #403712
Offline
Zwykły tuner tv ma tylko jedną głowicę - więc wszyscy będą zmuszeni do oglądania tylko jednego programu.[/quote]
Trwam! :D[/quote]
idź ty pasqudniku ;D
Debian jest lepszy niż wszystkie klony
Linux register users: #359018
[img]http://www.freebsd.org/gifs/powerlogo.gif[/img]
[url=https://goo.gl/photos/5XGKFkvaMimLwM2s9]Beskid Niski[/url]Offline
http://www.opcode.eu.org/multimedia/vlc_ser_RTV.sh/ - masz moj skrypt wykozustujacy vlc do nadawania sygnalu z karty dzialajacej w oparciu o v4l
Offline
[url=http://www.videolan.org/doc/streaming-howto/en/ch06.html]Tak[/url]
Offline
super :)
spadliście mi z nieba normalnie z tym wątkiem...
to ja się od razu podzielę błędem jaki mam :|
graffi@Dunwyn:~/tymczasowe do przejrzenia i takie tam :)/tv_vlc$ ./vlc_ser_RTV.sh VLC media player 0.8.6a Janus [00000302] v4l demuxer error: mmap unsupported [00000302] v4l demuxer error: cannot set audio format (16b little endian) (Zły argument) [00000302] v4l demuxer error: cannot open device (Nie ma takiego pliku ani katalogu) [00000302] v4l demuxer error: cannot open audio device (Urządzenie lub zasoby zajęte) [00000290] main input error: no suitable access module for `v4l:/dev/video0:norm=pal:frequency=279250:size=640x480:channel=0:adev=/dev/dsp:audio=0' [00000281] main playlist: nothing to play VLC PID is 12028 for exit exec kill 12028 graffi@Dunwyn:~/tymczasowe do przejrzenia i takie tam :)/tv_vlc$
to wynik odpalenia skryptu który bercik podał...
ja mam wrażenie jakby mój vlc wogóle nie umial /dev/video0 otworzyć :|
nie wiem... może cos super trzeba mieć jakaś biblioteke zainstalowaną??
Offline
1. masz na pewno zajete audio - zobacz co kozysta/blokuje /dev/dsp
2. zobacz czy masz uprawnienia do /dev/video i czy masz taki plik
3. jakie/z kad VLC (testowalem na paczce w wersji "0.8.6-svn20061012.debian-1", o ile dobrze pamietam z debian-multimedia.org)
Offline
pare dni mnie nie było ale odpowiem po kolei
1. nie
2. tak / tak ( /dev/video0 )
3. 0.8.6.a.debian-6 (z repozytoriów Debiana)
najwyzej innego VLC zainstaluje a potem... no nic... szukam dalej problemu... może znajde...
a może nie :| :(
Offline
jak wroce z uczelni to zobacze na aktualnej paczce z repo Debiana i napisze
a tak ogolnie tuner tv chodzi (np. w xawtv) ?
Offline
zainstalowalem ta paczke o ktorej pisales - dziala ... zobacz/pokaz moze wyniki
vlc -vvv --color v4l:/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp0:audio=0
Offline
raczej nic specjalnego nie potrzeba vlc kozysta z standardowego mechanizmu v4l w wersji 2 cos tam ... (moze byc tylko problem z wersja wspierana przez sterownik karty i przez vlc ...)
pokaz co wypisuje gdy biezesz tak jak napisalem z ta opcja -vvv
Offline
graffi@Dunwyn:~$ vlc -vvv --color v4l:/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp:audio=0 VLC media player 0.8.6a Janus [00000001] main private debug: checking builtin modules [00000001] main private debug: checking plugin modules [00000001] main private debug: loading plugins cache file /home/users/graffi/.vlc/cache/plugins-04041e.dat [00000001] main private debug: recursively browsing `modules' [00000001] main private debug: recursively browsing `/usr/lib/vlc' [00000001] main private debug: recursively browsing `plugins' [00000001] main private debug: module bank initialized, found 216 modules [00000001] main private debug: opening config file /home/users/graffi/.vlc/vlcrc [00000001] main private debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE FPU [00000001] main private debug: looking for memcpy module: 1 candidate [00000001] main private debug: using memcpy module "memcpy" [00000281] main playlist debug: waiting for thread completion [00000281] main playlist debug: thread 3080223632 (playlist) created at priority 0 (playlist/playlist.c:184) [00000282] main private debug: waiting for thread completion [00000282] main private debug: thread 3071830928 (preparser) created at priority 0 (playlist/playlist.c:210) [00000283] main interface debug: looking for interface module: 1 candidate [00000283] main interface debug: using interface module "lirc" [00000283] main interface debug: thread 3063438224 (interface) created at priority 0 (interface/interface.c:231) [00000285] main interface debug: looking for interface module: 1 candidate [00000285] main interface debug: using interface module "hotkeys" [00000285] main interface debug: thread 3055045520 (interface) created at priority 0 (interface/interface.c:231) [00000287] main interface debug: looking for interface module: 1 candidate [00000287] main interface debug: using interface module "screensaver" [00000287] main interface debug: thread 3046652816 (interface) created at priority 0 (interface/interface.c:231) [00000281] main playlist debug: adding playlist item `v4l:/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp:audio=0' ( v4l:/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp:audio=0 ) [00000289] main interface debug: looking for interface module: 5 candidates [00000289] main interface debug: using interface module "wxwidgets" [00000289] main interface debug: thread 3021368208 (manager) created at priority 0 (interface/interface.c:216) [00000289] wxwidgets interface debug: Using last windows config '(-1,0,0,1152,864)(0,128,345,373,79)(6,0,0,-1,150)' [00000289] wxwidgets interface debug: id=0 p=(128,345) s=(373,79) [00000289] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150) [00000281] main playlist debug: nothing requested, starting [00000281] main playlist debug: creating new input thread [00000292] main input debug: waiting for thread completion [00000292] main input debug: thread 2998307728 (input) created at priority 0 (input/input.c:265) [00000292] main input debug: creating statistics handler [00000292] main input debug: `v4l:/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp:audio=0' gives access `v4l' demux `' path `/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp:audio=0' [00000292] main input debug: creating demux: access='v4l' demux='' path='/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp:audio=0' [00000294] main demuxer debug: looking for access_demux module: 1 candidate [00000294] v4l demuxer debug: WxH 640x480 [00000294] v4l demuxer debug: main device=`/dev/video0' [00000294] v4l demuxer debug: V4L device Leadtek Winfast 2000XP Expert 3 channels 0 audios 48 < w < 720 32 < h < 480 [00000294] v4l demuxer debug: setting channel Television(0) 1 tuners flags=0x1 type=0x1 norm=0x1 [00000294] v4l demuxer debug: frequency 279250 (4468) [00000294] v4l demuxer debug: v4l device uses brightness: 32639 [00000294] v4l demuxer debug: v4l device uses colour: 32639 [00000294] v4l demuxer debug: v4l device uses hue: 32639 [00000294] v4l demuxer debug: v4l device uses contrast: 16191 [00000294] v4l demuxer debug: v4l device uses frame size: 460800 [00000294] v4l demuxer debug: v4l device uses chroma: I420 [00000294] v4l demuxer error: mmap unsupported [00000294] v4l demuxer error: cannot set audio format (16b little endian) (Zły argument) [00000294] v4l demuxer error: cannot open device (Nie ma takiego pliku ani katalogu) [00000294] v4l demuxer debug: openened adev=`/dev/dsp' stereo 44100Hz [00000294] v4l demuxer debug: v4l grabbing started [00000294] v4l demuxer debug: new audio es 2 channels 44100Hz [00000292] main input debug: selecting program id=0 [00000294] main demuxer debug: using access_demux module "v4l" [00000296] main decoder debug: looking for decoder module: 24 candidates [00000296] araw decoder debug: samplerate:44100Hz channels:2 bits/sample:16 [00000296] main decoder debug: using decoder module "araw" [00000296] main decoder debug: thread 2989656976 (decoder) created at priority 0 (input/decoder.c:159) [00000292] main input debug: `v4l:/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp:audio=0' successfully opened [00000296] main decoder debug: no aout present, spawning one [00000302] main audio output debug: looking for audio output module: 3 candidates [00000302] alsa audio output debug: opening ALSA device `default' [00000302] main audio output debug: thread 2981198736 (aout) created at priority 0 (alsa.c:662) [00000302] main audio output debug: using audio output module "alsa" [00000302] main audio output debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes [00000302] main audio output debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes [00000302] main audio output debug: no need for any filter [00000302] main audio output debug: looking for audio mixer module: 3 candidates [00000302] main audio output debug: using audio mixer module "trivial_mixer" [00000302] main audio output debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes [00000302] main audio output debug: filter(s) 's16l'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo [00000306] main private debug: looking for audio filter module: 24 candidates [00000306] main private debug: using audio filter module "s16tofloat32" [00000302] main audio output debug: found a filter for the whole conversion [00000302] main audio output debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo [00000332] main private debug: looking for audio filter module: 24 candidates [00000332] main private debug: using audio filter module "bandlimited_resampler" [00000302] main audio output debug: found a filter for the whole conversion [00000001] main private debug: removing all interfaces [00000289] main interface debug: thread 3021368208 joined (interface/interface.c:258) [00000289] main interface debug: removing module "wxwidgets" [00000287] main interface debug: thread 3046652816 joined (interface/interface.c:258) [00000287] main interface debug: removing module "screensaver" [00000285] main interface debug: thread 3055045520 joined (interface/interface.c:258) [00000285] main interface debug: removing module "hotkeys" [00000283] main interface debug: thread 3063438224 joined (interface/interface.c:258) [00000283] main interface debug: removing module "lirc" [00000001] main private debug: removing playlist handler [00000282] main private debug: thread 3071830928 joined (playlist/playlist.c:247) [00000292] main input debug: control type=0 [00000292] main input debug: control: stopping input [00000292] main input debug: closing input [00000294] main demuxer debug: removing module "v4l" [00000296] main decoder debug: removing module "araw" [00000296] main decoder debug: thread 2989656976 joined (input/decoder.c:191) [00000296] main decoder debug: killing decoder fourcc `araw', 0 PES in FIFO [00000306] main private debug: removing module "s16tofloat32" [00000332] main private debug: removing module "bandlimited_resampler" [00000302] main audio output debug: thread 2981198736 joined (alsa.c:714) [00000302] main audio output debug: removing module "alsa" [00000302] main audio output debug: removing module "trivial_mixer" [00000292] main input debug: thread 2998307728 joined (input/input.c:412) [00000281] main playlist debug: thread 3080223632 joined (playlist/playlist.c:248) [00000281] main playlist: stopping playback [00000281] main playlist debug: deleting playlist item `v4l:/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp:audio=0' [00000001] main private debug: removing all video outputs [00000001] main private debug: removing all audio outputs [00000001] main private debug: removing module "memcpy" [00000001] main private debug: opening config file /home/users/graffi/.vlc/vlcrc [00000001] main private debug: saving plugins cache file /home/users/graffi/.vlc/cache/plugins-04041e.dat graffi@Dunwyn:~$
a mozę częstotliwość "z palca" musze mu podać jaką chce odtwarzać??
hmm... oceń co widzisz na tych logach...
Offline
on cos wyswietlal czy sam sie zamknal ?
bo wyglada jakby to pomimo tych bledow z dzialalo ("main input debug: `v4l:/dev/video0:norm=pal:frequency=279250:size=640x480:adev=/dev/dsp:audio=0' successfully opened") ...
sproboj w frequency=279250 ustawic poprawna czestotliwosc
Offline
właśnie odtwarzacz niby chodzi... ale jest cisza w 100%
częstotliwościami się jakoś ostatnio bawiłem - wróce jutro do akademika to powiem co i jak... ale musze poszukać przelicznika kanał / częstotliwość...
nie wiem... a plan był taki że będziemy sie kartą TV "dzielić" w sensie ze u mnie pracuje odbiornik a ktoś coś ogląda gdy ja nie oglądam... ale widze że cieżkie to jest zadanie :(
Offline
właśnie odtwarzacz niby chodzi... ale jest cisza w 100% [/quote]
moze jest wyciszone wejscie capture dla karty dzwiekowej ...
ale jezeli odtwarzanie dziala to i tamten skrypt pewnie dziala ... tyle ze on domyslnie przechodzi w tlo ...
"Wszyscy wiedzą, że czegoś zrobić nie można. Ale przypadkowo znajduje się jakiś nieuk, który tego nie wie. I on właśnie robi odkrycie." (A.Einstein)
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00005 | SET NAMES latin2 |
0.00217 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.217.140.224' WHERE u.id=1 |
0.00184 | UPDATE punbb_online SET logged=1732224303 WHERE ident='18.217.140.224' |
0.00056 | SELECT * FROM punbb_online WHERE logged<1732224003 |
0.00059 | SELECT topic_id FROM punbb_posts WHERE id=63085 |
0.00059 | SELECT id FROM punbb_posts WHERE topic_id=6574 ORDER BY posted |
0.00062 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=6574 AND t.moved_to IS NULL |
0.00006 | SELECT search_for, replace_with FROM punbb_censoring |
0.00101 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=6574 ORDER BY p.id LIMIT 0,25 |
0.00102 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=6574 |
Total query time: 0.00861 s |