cmd>root# wget "http://www.avermedia.com/Support/DownloadCount.aspx?FDFId=5653"
cmd>root# mv DownloadCount.aspx\?FDFId\=5653 a867.tar.bz2
cmd>root# tar -xjf a867.tar.bz2
cmd>root# apt-get install linux-headers-`uname -r` linux-source
cmd>root# wget "https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.2.45.tar.xz"
cmd>root# tar -xf linux-3.2.45.tar.xz
cmd>root# cd linux-3.2.45/drivers/media/
cmd>root# mkdir -p /lib/modules/3.2.0-4-amd64/source/drivers/media/
cmd>root# cp -r dvb/ /lib/modules/3.2.0-4-amd64/source/drivers/media/
cmd>root# cd && cd a867*
cmd>root# make
cmd>root# make install
cmd>root# modprobe dvb-core
cmd>root# modprobe dvb-pll
cmd>root# modprobe dvb-usb
cmd>root# insmod ./a867.ko debug=255
cmd>root# apt-get install dvb-apps w-scan screen
cmd>user# w_scan -ft -c EE -X >> channels.conf
ETV(Levira):530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:550:730:1
Kanal 2(Levira):530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:562:810:41
TV3(Levira):530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:566:826:43
ETV2(Levira):530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:561:806:2
Tallinna TV(Levira):530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:501:601:39
Kanal12(Levira):530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:502:605:38
France 24(Levira):602000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_NONE:QPSK:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:3794:5376:494
cmd>user# wget http://cesbo.com/download/astra-stable.tar.gz
cmd>user# tar -zxvf astra-stable.tar.gz
cmd>user# cd cesbo*
cmd>user# ./configure.sh
cmd>user# make
cmd>user# make install
cmd>user# nano stream.lua
#!/usr/bin/astra
log.set({ debug = true, stdout = true, syslog = "dvb-t" })
require("base")
require("output_http")
#!/usr/bin/astra
log.set({ debug = true, stdout = true, syslog = "dvb-t" })
require("base")
require("output_http")
make_stream({
demux = true,
dvb = {
type = "T",
modulation = "QAM16",
guardinterval = "1/4",
adapter = 0,
device = 0,
bandwidth = "8mhz",
frequency = 530
}
}
,{
{
fec = "2/3",
name = "ETV(Levira)",
pnr = 1,
output = { "http://10.225.14.15:8000/dvb/ch1" }
},
{
fec = "2/3",
name = "Kanal 2(Levira)",
pnr = 41,
output = { "http://10.225.14.15:8000/dvb/ch2" }
},
{
fec = "2/3",
name = "TV3(Levira)",
pnr = 43,
output = { "http://10.225.14.15:8000/dvb/ch3" }
},
{
fec = "2/3",
name = "ETV2(Levira)",
pnr = 2,
output = { "http://10.225.14.15:8000/dvb/ch4" }
},
{
fec = "2/3",
name = "Tallinna TV(Levira)",
pnr = 39,
output = { "http://10.225.14.15:8000/dvb/ch5" }
},
{
fec = "2/3",
name = "Kanal12(Levira)",
pnr = 38,
output = { "http://10.225.14.15:8000/dvb/ch6" }
},
})
Saturday, May 25, 2013
Debian DVB-T AverMedia A867 + astra streaming
Wednesday, May 22, 2013
Ports extracting on old freebsd (7.2 my), xz inappropriate file type or format
Before starting compiling libarchive, i put spawn.h to /usr/include, because in my system it doesn't existed.
CC libarchive/filter_fork_posix.lo
libarchive/filter_fork_posix.c:61:21: error: spawn.h: No such file or directory
*** Error code 1
Stop in /usr/ports/archivers/libarchive/work/libarchive-3.1.2.
*** Error code 1
# cd /usr/include/
# wget https://gist.github.com/OmIkRoNiXz/5625492/raw/71b8edba74636f513a0e301a2da12caa2d68f417/spawn.h
Now i can install libarchive.
# cd /usr/ports/archivers/libarchive
# make install clean
# ln -sf /usr/local/bin/bsdtar /usr/bin/tar
And it all!
Labels:
archive,
compiling,
extracting,
freebsd,
libarchive,
ports,
tar,
xz
Subscribe to:
Posts (Atom)