Moderator Control Panel ]

how to use astra

News and information about TBS products.

how to use astra

Postby zhangchao » Wed Apr 20, 2016 4:07 pm

astra support dvb-s/s2 dvbt/t2 dvbc atsc .
1. dvb-s/s2
configuration file : dvbs.lua

#!/usr/bin/env astra-4.3
log.set({ syslog = "astra0"})
pidfile("/var/run/astra0.pid")

adapter_0 = dvb_tune({
type= "S",
adapter = 0,
tp = "10988:V:27500",
lnb = "9750:10600:11700",
})

reader_0 = newcamd({
name = "Reader #0",
host = "192.168.8.171",
port = 8888,
user = "tv",
pass = "tv",
key = "0102030405060708091011121314",
})

make_channel({
name = "hunan",
input = {
"dvb://adapter_0#pnr=28655"
},
output = {
"http://192.168.8.124:1234"
}
})

make_channel({
name = "hunan",
input = {
"dvb://adapter_0#pnr=28655&cam=reader_0&cas_data=0b00"
},
output = {
"udp://239.255.2.1:1234"
}
})

2. dvbt/t2

#!/usr/bin/env astra-4.3
log.set({ syslog = "astra0"})
pidfile("/var/run/astra0.pid")
adapter_0 = dvb_tune({
type= "T",
adapter = 0,
modulation="QAM64",
fec="AUTO",
frequency=474 ,
bandwidth="8mhz" ,
guardinterval = "AUTO",
transmitmode = "AUTO",
hierarchy = "AUTO",
})

make_channel({
name = "1",
input = {
"dvb://adapter_0#pnr=8901"
},
output = {
"http://192.168.8.124:1234"
}
})

make_channel({
name = "2",
input = {
"dvb://adapter_0#pnr=8911"
},
output = {
"udp://239.255.2.1:1234"
}
})

3.dvbc
#!/usr/bin/env astra-4.3

log.set({ syslog = "astra0"})
pidfile("/var/run/astra0.pid")

adapter_0 = dvb_tune({
type= "C",
adapter = 0,
modulation="QAM256",
fec="AUTO",
frequency=474 ,
symbolrate =6900 ,
})


make_channel({
name = "hunan",
input = {
"dvb://adapter_0#pnr=22272"
},
output = {
"http://192.168.8.124:1234"
}
})

make_channel({
name = "hunan",
input = {
"dvb://adapter_0#pnr=22272"
},
output = {
"udp://239.255.2.2:1234"
}
})

4. atsc

#!/usr/bin/env astra-4.3

log.set({ syslog = "astra0"})
pidfile("/var/run/astra0.pid")

adapter_0 = dvb_tune({
adapter = "0",
type= "ATSC",
frequency="599" ,
modulation="VSB8",
})


make_channel({
name = "1",
input = {
"dvb://adapter_0#pnr=3"
},
output = {
"http://10.0.0.29:1234"
}
})


astra /etc/astra/dvbs.lua
astra /etc/astra/dvbc.lua
astra /etc/astra/dvbt.lua
astra /etc/astra/atsc.lua
zhangchao
 
Posts: 30
Joined: Thu Jan 17, 2013 4:59 pm

Return to News

Who is online

Users browsing this forum: No registered users and 3 guests

cron