[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

трансляция радиоканалов со спутника в сеть.



получаю список каналов:

# scan sirius2 -l ENHANCED
scanning sirius2
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 11766000 H 27500000 3
>>> tune to: 11766:h:0:27500
0x0000 0x17d4: pmt_pid 0x17d4 NSAB -- UR1 (running)
0x0000 0x17d7: pmt_pid 0x17d7 NSAB -- RUI2 (running)
0x0000 0x17de: pmt_pid 0x17de NSAB -- TET (running, scrambled)
0x0000 0x17e8: pmt_pid 0x17e8 NSAB -- NOVY CHANNEL (running, scrambled)
0x0000 0x17f2: pmt_pid 0x17f2 NSAB -- GLAS (running)
0x0000 0x17fc: pmt_pid 0x17fc NSAB -- KANAL UKRAINA (running, scrambled)
0x0000 0x1806: pmt_pid 0x1806 NSAB -- FEED (running)
0x0000 0x181a: pmt_pid 0x181a NSAB -- RADA (running)
0x0000 0x1827: pmt_pid 0x1827 NSAB -- Radio Test (running)
0x0000 0x182a: pmt_pid 0x182a NSAB -- RADIO ERA (running)
0x0000 0x182d: pmt_pid 0x182d NSAB -- Love Radio (running)
0x0000 0x182e: pmt_pid 0x182e NSAB -- Channel 5 (Ukraine) (running)
Network Name 'KRRT'
>>> tune to: 11768:h:0:27500
0x0000 0x17d4: pmt_pid 0x17d4 NSAB -- UR1 (running)
0x0000 0x17d7: pmt_pid 0x17d7 NSAB -- RUI2 (running)
0x0000 0x17de: pmt_pid 0x17de NSAB -- TET (running, scrambled)
0x0000 0x17e8: pmt_pid 0x17e8 NSAB -- NOVY CHANNEL (running, scrambled)
0x0000 0x17f2: pmt_pid 0x17f2 NSAB -- GLAS (running)
0x0000 0x17fc: pmt_pid 0x17fc NSAB -- KANAL UKRAINA (running, scrambled)
0x0000 0x1806: pmt_pid 0x1806 NSAB -- FEED (running)
0x0000 0x181a: pmt_pid 0x181a NSAB -- RADA (running)
0x0000 0x1827: pmt_pid 0x1827 NSAB -- Radio Test (running)
0x0000 0x182a: pmt_pid 0x182a NSAB -- RADIO ERA (running)
0x0000 0x182d: pmt_pid 0x182d NSAB -- Love Radio (running)
0x0000 0x182e: pmt_pid 0x182e NSAB -- Channel 5 (Ukraine) (running)
Network Name 'KRRT'
dumping lists (24 services)
UR1:11766:h:0:27500:0:6101:6100
RUI2:11766:h:0:27500:0:6104:6103
TET:11766:h:0:27500:6111:6112:6110
NOVY CHANNEL:11766:h:0:27500:6121:6122:6120
GLAS:11766:h:0:27500:6131:6132:6130
KANAL UKRAINA:11766:h:0:27500:6141:6142:6140
FEED:11766:h:0:27500:6151:6152:6150
RADA:11766:h:0:27500:6171:6172:6170
Radio Test:11766:h:0:27500:0:6185:6183
RADIO ERA:11766:h:0:27500:0:6188:6186
Love Radio:11766:h:0:27500:0:6163:6189
Channel 5 (Ukraine):11766:h:0:27500:6191:6192:6190
UR1:11768:h:0:27500:0:6101:6100
RUI2:11768:h:0:27500:0:6104:6103
TET:11768:h:0:27500:6111:6112:6110
NOVY CHANNEL:11768:h:0:27500:6121:6122:6120
GLAS:11768:h:0:27500:6131:6132:6130
KANAL UKRAINA:11768:h:0:27500:6141:6142:6140
FEED:11768:h:0:27500:6151:6152:6150
RADA:11768:h:0:27500:6171:6172:6170
Radio Test:11768:h:0:27500:0:6185:6183
RADIO ERA:11768:h:0:27500:0:6188:6186
Love Radio:11768:h:0:27500:0:6163:6189
Channel 5 (Ukraine):11768:h:0:27500:6191:6192:6190
Done.

радиоканалы заношу в channels.conf
настраиваю на канал:

# szap -c channels.conf -n1 -x
reading channels from file 'channels.conf'
zapping to 1 'UR1':
sat 0, frequency = 11766 MHz H, symbolrate 27500000, vpid = 0x0000, apid =
0x17d5 using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 03 | signal 7176 | snr 6fd5 | ber 0000fff0 | unc 00000000 | 
status 03 | signal 76fc | snr 7203 | ber 00000000 | unc 00000000 | 
status 03 | signal 6b94 | snr 71a9 | ber 00000000 | unc 00000000 | 
status 03 | signal 7db9 | snr 729c | ber 00000000 | unc 00000000 | 
status 03 | signal 6e75 | snr 71a9 | ber 00000000 | unc 00000000 | 
status 03 | signal 6b12 | snr 719a | ber 00000000 | unc 00000000 | 
status 03 | signal 6f25 | snr 71a6 | ber 00000000 | unc 00000000 | 
status 03 | signal 718a | snr 7188 | ber 00000000 | unc 00000000 | 
status 03 | signal 6ab5 | snr 7158 | ber 00000000 | unc 00000000 | 
status 03 | signal 6d2a | snr 718e | ber 00000000 | unc 00000000 | 

на этом этапе всё нормально?
а что дальше делать?
пытаюсь запустить vlc:

# vlc -vv --color --ttl 12 --ts-es-id-pid --programs=1,11 dvb:
--dvb-frequency=11766000 --dvb-srate=27500000 --dvb-voltage=18 --dvb-fec=3
--sout-standard-mux=ts --sout
'#duplicate{dst="standard{access=http,mux=ts,url=0.0.0.0:8001}",select="program
=1",dst="standard{access=http,mux=ts,url=0.0.0.0:8002}",select="program=11"}'
VLC media player 0.8.2-svn Janus [00000001] main vlc debug: opening config file
/root/.vlc/vlcrc [00000001] main vlc warning: config file /root/.vlc/vlcrc does
not exist yet [00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file
/root/.vlc/cache/plugins-04041e.dat [00000001] main vlc debug: recursively
browsing `modules' [00000001] main vlc debug: recursively browsing
`/usr/lib/vlc' [00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 197 modules
libhal.c 767 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised
"Service "org.freedesktop.Hal" does not exist"

[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000000] main root debug: VLC media player - version 0.8.2-svn Janus - (c)
1996-2005 VideoLAN [00000000] main root debug: libvlc was configured with
./configure --mandir=/share/man --infodir=/share/info --enable-release
--prefix=/usr --disable-gnome --disable-gtk --disable-familiar --disable-fb
--enable-ggi --enable-sdl --enable-esd --disable-qt --enable-mad --enable-arts
--enable-alsa --enable-lirc --enable-a52 --enable-aa --enable-dvbpsi
--enable-xosd --enable-mozilla --disable-kde --enable-mp4 --enable-dvb
--enable-dv --disable-satellite --enable-ogg --enable-vorbis --enable-wxwindows
--with-wx-config=wxgtk-2.4-config --disable-slp --enable-flac --disable-skins
--disable-basic-skins --enable-skins2 --enable-freetype --enable-mkv
--enable-v4l --enable-pvr --disable-speex --enable-caca --enable-livedotcom
--enable-libmpeg2 --enable-dts --enable-fribidi --enable-cdio --enable-mod
--enable-theora --enable-modplug --enable-dvdnav --enable-gnutls --enable-ffmpeg
--enable-ncurses --enable-faad --with-faad-tree=extras/faad2 --enable-x264
--with-x264-tree=extras/x264 --enable-glide --enable-svgalib --enable-dvd
--without-dvdcss [00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file
/root/.vlc/cache/plugins-04041e.dat [00000001] main vlc debug: recursively
browsing `modules' [00000001] main vlc debug: recursively browsing
`/usr/lib/vlc' [00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 197 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU 
[00000001] main vlc debug: looking for memcpy module: 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000245] main playlist debug: waiting for thread completion
[00000245] main playlist debug: thread 3082976176 (playlist) created at priority
0 (src/playlist/playlist.c:149) [00000246] main private debug: waiting for
thread completion
[00000246] main private debug: thread 3074587568 (preparser) created at priority
0 (src/playlist/playlist.c:171) [00000247] main interface debug: looking for
interface module: 1 candidate [00000176] main module debug: using interface
module "hotkeys" [00000247] main interface debug: interface initialized
[00000247] main interface debug: thread 3066178480 (interface) created at
priority 0 (src/interface/interface.c:211) [00000245] main playlist: adding
playlist item `dvb:' ( dvb: ) [00000249] main interface debug: looking for
interface module: 5 candidates [00000249] skins2 interface error: Cannot open
display [00000249] skins2 interface error: Cannot initialize OSFactory
Remote control interface initialized, `h' for help
[00000182] main module debug: using interface module "rc"
[00000249] main interface debug: interface initialized
[00000249] main interface debug: thread 3054689200 (manager) created at priority
0 (src/interface/interface.c:196) [00000245] main playlist debug: creating new
input thread [00000253] main input debug: waiting for thread completion
[00000254] main stream output debug: stream=`duplicate'
[00000255] main private debug: looking for sout stream module: 1 candidate
[00000255] stream_out_duplicate private debug: creating 'duplicate'
[00000255] stream_out_duplicate private debug:  * adding
`standard{access=http,mux=ts,url=0.0.0.0:8001}' [00000254] main stream output
debug: stream=`standard' [00000257] main private debug: looking for sout stream
module: 1 candidate [00000257] main private debug: set sout option:
sout-standard-access to http [00000257] main private debug: set sout option:
sout-standard-mux to ts [00000257] main private debug: set sout option:
sout-standard-url to 0.0.0.0:8001 [00000257] stream_out_standard private debug:
creating `http/ts://0.0.0.0:8001' [00000257] stream_out_standard private debug:
extention is 0:8001 [00000257] stream_out_standard private debug: extention ->
mux=(null) [00000257] stream_out_standard private debug: using
`http/ts://0.0.0.0:8001' [00000259] main private debug: looking for sout access
module: 1 candidate [00000259] main private: creating httpd
[00000262] main private debug: thread 3037899696 (httpd host thread) created at
priority 0 (src/misc/httpd.c:1172) [00000046] main module debug: using sout
access module "access_output_http" [00000257] stream_out_standard private debug:
access opened [00000263] main private debug: looking for sout mux module: 1
candidate [00000263] mux_ts private debug: Open
[00000263] mux_ts private debug: shaping=200000 pcr=30000 dts_delay=200000
[00000263] mux_ts private debug: invalid csa ck (it must be 16 chars long)
[00000012] main module debug: using sout mux module "mux_ts"
[00000254] main stream output debug: muxer support adding stream at any time
[00000257] stream_out_standard private debug: mux opened
[00000190] main module debug: using sout stream module "stream_out_standard"
[00000255] stream_out_duplicate private debug:  * apply selection program=1
[00000255] stream_out_duplicate private debug:  * adding
`standard{access=http,mux=ts,url=0.0.0.0:8002}' [00000254] main stream output
debug: stream=`standard' [00000253] main input debug: thread 3046300592 (input)
created at priority 0 (src/input/input.c:227) [00000264] main private debug:
looking for sout stream module: 1 candidate [00000264] main private debug: set
sout option: sout-standard-access to http [00000264] main private debug: set
sout option: sout-standard-mux to ts [00000264] main private debug: set sout
option: sout-standard-url to 0.0.0.0:8002 [00000264] stream_out_standard private
debug: creating `http/ts://0.0.0.0:8002' [00000264] stream_out_standard private
debug: extention is 0:8002 [00000264] stream_out_standard private debug:
extention -> mux=(null) [00000264] stream_out_standard private debug: using
`http/ts://0.0.0.0:8002' [00000265] main private debug: looking for sout access
module: 1 candidate
[00000266] main private debug: thread 3024509872 (httpd host thread) created at
priority 0 (src/misc/httpd.c:1172) [00000046] main module debug: using sout
access module "access_output_http" [00000264] stream_out_standard private debug:
access opened [00000267] main private debug: looking for sout mux module: 1
candidate [00000267] mux_ts private debug: Open
[00000267] mux_ts private debug: shaping=200000 pcr=30000 dts_delay=200000
[00000267] mux_ts private debug: invalid csa ck (it must be 16 chars long)
[00000012] main module debug: using sout mux module "mux_ts"
[00000254] main stream output debug: muxer support adding stream at any time
[00000264] stream_out_standard private debug: mux opened
[00000190] main module debug: using sout stream module "stream_out_standard"
[00000255] stream_out_duplicate private debug:  * apply selection program=11
[00000192] main module debug: using sout stream module "stream_out_duplicate"
[00000253] main input debug: `dvb:' gives access `dvb' demux `' path `'
[00000253] main input debug: creating demux: access='dvb' demux='' path=''
[00000268] main demuxer debug: looking for access_demux module: 0 candidates
[00000268] main demuxer warning: no access_demux module matched "dvb"
[00000253] main input debug: creating access 'dvb' path=''
[00000269] main access debug: looking for access2 module: 5 candidates
[00000269] dvb access debug: Opening device /dev/dvb/adapter0/frontend0
[00000269] dvb access debug: Frontend Info:
[00000269] dvb access debug:   name = ST STV0299 DVB-S
[00000269] dvb access debug:   type = QPSK (DVB-S)
[00000269] dvb access debug:   frequency_min = 950000 (kHz)
[00000269] dvb access debug:   frequency_max = 2150000 (kHz)
[00000269] dvb access debug:   frequency_stepsize = 125
[00000269] dvb access debug:   frequency_tolerance = 0
[00000269] dvb access debug:   symbol_rate_min = 1000000 (kHz)
[00000269] dvb access debug:   symbol_rate_max = 45000000 (kHz)
[00000269] dvb access debug:   symbol_rate_tolerance (ppm) = 500
[00000269] dvb access debug:   notifier_delay (ms) = 0
[00000269] dvb access debug: Frontend Info capability list:
[00000269] dvb access debug:   inversion auto
[00000269] dvb access debug:   forward error correction 1/2
[00000269] dvb access debug:   forward error correction 2/3
[00000269] dvb access debug:   forward error correction 3/4
[00000269] dvb access debug:   forward error correction 5/6
[00000269] dvb access debug:   forward error correction 7/8
[00000269] dvb access debug:   forward error correction auto
[00000269] dvb access debug:   card can do QPSK
[00000269] dvb access debug: End of capability list
[00000269] dvb access debug: trying to tune the frontend...
[00000269] dvb access debug: using inversion=2
[00000269] dvb access debug: using fec=3
[00000269] dvb access debug: using voltage=18
[00000269] dvb access debug: using tone=1
[00000269] dvb access debug: Opening device /dev/dvb/adapter0/dvr0
[00000269] dvb access debug: setting filter on PAT
[00000269] dvb access debug: Opening device /dev/dvb/adapter0/demux0
[00000269] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 0
[00000269] dvb access debug: Opening device /dev/dvb/adapter0/ca0
[00000269] dvb access error: CAMInit: opening device failed (No such device)
[00000236] main module debug: using access2 module "dvb"
[00000271] main private debug: pre buffering
[00000269] dvb access debug: frontend has acquired signal
[00000269] dvb access debug: frontend has acquired carrier
[00000269] dvb access warning: no lock, tuning again
----------------------------------------------------------
[00000269] dvb access debug: using inversion=2 [00000269] dvb access debug:
using fec=3 [00000269] dvb access debug: using voltage=18
[00000269] dvb access debug: using tone=1
[00000269] dvb access debug: frontend has acquired signal
[00000269] dvb access debug: frontend has acquired carrier
signal 2 received, terminating vlc - do it again in case it gets stuck
.... дальше поскипано ....

подчёркнутая строчка -- эта секция постоянно повторяется...
я задаю неправильные параметры или проблеса драйвером/железкой.

как ещё по-быстрому проверить работу железки -- факт приёма радио со спутника?
люди, помогите плиз!

доки читал, но там всё просто -- запустил и работает....

-- 
Vladimir, shilov@energi.net.ua
ICQ: 287979785



Reply to: