/ 雑記帳

簡易...

#!/bin/csh
echo ""
echo "NHK BS1/BS2"
echo "分離するファイルを選択してください"
echo ""
ls -l *.ts | awk '{print}' | awk -F" " '{print $6,$7, $8,$5,$9}'
echo ""
echo "Input file-name"
set file = $<
echo "BS1 BS2どちらにしますか?"
echo "1 or 2"
set bs = $<
if ( $bs < = 1 ) then
goto case1
case1:
echo "BS2分離化開始"
tsselect $file "BS1-$file" 0x0000 0x0200 0x0210 0x02f0
else
goto case2
case2:
echo "BS1分離化開始"
echo ""
tsselect $file "BS2-$file" 0x0000 0x0100 0x0110 0x01f0
endif
echo ""
ls -l BS*-$file
echo ""
echo "Have a good time !"

— posted by くま at 05:39 pm   pingTrackBack [0]

 

NHK BS1/BS2 を分離する!

Friioで録画するとNHKのBS1/BS2は同じファイルに録画されてしまう。
別々にしないとネットワークプレーヤーで見る事ができない。
分離する時に必要なパラメーターを総当たりで調べてみました。
 
BS1 tsselect 2008-08-03-15-00-35-bsd.ts test2.ts 0x0000 0x0100 0x0110 0x01f0
BS2 tsselect 2008-08-03-15-00-35-bsd.ts test1.ts 0x0000 0x0200 0x0210 0x02f0
 
すべてのリスト
$ tsselect 2008-08-03-15-00-35-bsd.ts
 
#pid=0x0000, total= 599, drop= 0, scrambling=0
#pid=0x0001, total= 6, drop= 0, scrambling=0
#pid=0x0010, total= 18, drop= 0, scrambling=0
#pid=0x0011, total= 128, drop= 0, scrambling=0
#pid=0x0012, total= 5564, drop= 0, scrambling=0
#pid=0x0014, total= 12, drop= 0, scrambling=0
#pid=0x0023, total= 60, drop= 0, scrambling=0
#pid=0x0024, total= 24, drop= 0, scrambling=0
#pid=0x0060, total= 599, drop= 0, scrambling=0
#pid=0x0100, total= 348836, drop= 0, scrambling=0
#pid=0x0101, total= 12845, drop= 0, scrambling=0
#pid=0x0110, total= 7924, drop= 0, scrambling=0
#pid=0x0112, total= 2653, drop= 0, scrambling=0
#pid=0x0140, total= 3663, drop= 0, scrambling=0
#pid=0x0158, total= 3662, drop= 0, scrambling=0
#pid=0x01f0, total= 599, drop= 0, scrambling=0
#pid=0x01ff, total= 749, drop= 0, scrambling=0
#pid=0x0200, total= 344666, drop= 0, scrambling=0
#pid=0x0201, total= 12838, drop= 0, scrambling=0
#pid=0x0210, total= 7945, drop= 0, scrambling=0
#pid=0x0212, total= 2653, drop= 0, scrambling=0
#pid=0x02f0, total= 599, drop= 0, scrambling=0
#pid=0x02ff, total= 748, drop= 0, scrambling=0
#pid=0x0701, total= 658, drop= 0, scrambling=0
#pid=0x0775, total= 62858, drop= 0, scrambling=0
#pid=0x0900, total= 1305, drop= 0, scrambling=0
#pid=0x1901, total= 600, drop= 0, scrambling=0
#pid=0x1910, total= 856, drop= 0, scrambling=0
#pid=0x1911, total= 23771, drop= 0, scrambling=0
#pid=0x1912, total= 5307, drop= 0, scrambling=0
#pid=0x1918, total= 21495, drop= 0, scrambling=0

— posted by くま at 03:36 pm   pingTrackBack [0]

<< 2008.8 >>
SMTWTFS
     1 2
3 456789
10111213141516
17181920212223
24252627282930
31       
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.0458 sec.