使用材料
up0718.zip:mplayer-r34010p(mplayer-patches-0.98使用)
up0799.zip:0014-check-the-decoded-result-of-PCE.patch
up0664.zip:fuse_25
up0219.gz :tune
無加工:kernel:2.6.32-358.6.1.el6.x86_64
スクリプトはこんな感じ
#!/bin/csh
echo ""
echo "チャンネルを選んでください"
echo ""
cat /usr/local/zin/CHANNEL
echo ""
set ch = $<
/usr/local/bin/tune 4 $ch &
sudo gnome-terminal -e "sh -c '/usr/bin/gmplayer -cache 8192 -vo vdpau, -vc ffmpeg12vdpau, -mc 10 /dev/dvb/adapter4/dvr0;exec bash'"
参考例:CHANNEL
$ cat /usr/local/zin/CHANNEL
static struct channel isdbt_channels[] = {
{ 14, "NHK盛岡 総合", 479142857 },
{ 37, "NHKR盛岡教育", 617142857 },
{ 18, "テレビ 岩手", 503142857 },
{ 22, "岩手朝日テレビ", 527142857 },
{ 20, "岩手めんこいテレビ", 515142857 },
{ 15, "岩手放送", 485142857 },
};
static struct channel isdbs_channels[] = {
{ 1, "NHK BS-1", 1318000, 0x40f1 },
{ 2, "NHK BS-2", 1318000, 0x40f1 },
{ 3, "NHK BS-Hi", 1318000, 0x40f2 },
{ 4, "BS日テレ", 1279640, 0x40d0 },
{ 5, "BS朝日", 1049480, 0x4010 },
{ 6, "BS-i", 1049480, 0x4011 },
{ 7, "BSジャパン", 1087840, 0x4031 },
{ 8, "BSフジ", 1279640, 0x40d1 },
{ 9, "BS11", 1202920, 0x4090 },
{ 10, "TwellV", 1202920, 0x4092 },
{ 11, "WOWOWプライム", 1087840, 0x4030 },
{ 12, "WOWOWライブ", 1126200, 0x4450 },
{ 13, "WOWWOWシネマ", 1126200, 0x4451 },
{ 14, "STAR CHANNEL HV", 1202920, 0x4091 },
{ 15, "STAR CHANNEL1", 1202920, 0x4090 },
{ 16, "STAR CHANNEL2", 1164560, 0x4470 },
{ 17, "BSアニマックス", 1164560, 0x4671 },
{ 18, "Dlife", 1471440, 0x4772 },
};
参考サイト
http://mercurial.secret.jp/Whimsical_diary/archives/178
この記事に対するコメントはありません
Comments