/ 雑記帳

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]

mediatomb メディアの墓

本格的にmediatombを使うためにmysqlのデーターベースで動作するようにした。
デフォルトのsqlite3を使うよりも動作は少し速くなるようです。
引っかかるのはmysqlのデーターベース、ユーザー作成かと思います。
試行錯誤の末、下のようにすると
データベースとlocalhostからのみ接続できる"mediatomb"というパスワードなしの名前のユーザを作成できます。
 
参考リンク:http://www.impressit.co.jp/blog/dev/?p=5
 
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or ¥g.
Your MySQL connection id is 36 to server version: 5.0.22

Type 'help;' or '¥h' for help. Type '¥c' to clear the buffer.
 
mysql> CREATE DATABASE mediatomb;
Query OK, 1 row affected (0.00 sec)
 
mysql> GRANT ALL ON mediatomb.* TO 'mediatomb'@'localhost';
Query OK, 0 rows affected (0.05 sec)
 
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
 
mysql> quit;
Bye

— posted by くま at 10:23 pm   pingTrackBack [0]

ゼブラーマン...白黒つけられない(笑)

$ lsusb

Bus 002 Device 003: ID 04d9:1400 Holtek Semiconductor, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 013: ID 7a69:0001
Bus 005 Device 012: ID 058f:9520 Alcor Micro Corp.
Bus 005 Device 011: ID 058f:6254 Alcor Micro Corp.
Bus 005 Device 001: ID 0000:0000
Bus 005 Device 004: ID 0409:005a NEC Corp.
Bus 005 Device 003: ID 058f:6254 Alcor Micro Corp.
Bus 005 Device 005: ID 058f:9520 Alcor Micro Corp.
Bus 005 Device 008: ID 0dc3:0802 Athena Smartcard Solutions, Inc.
Bus 005 Device 006: ID 7a69:0001

上記のような場合は
recfriio.cpp 
if (parent != "002" && parent != "003" && vendor == "058f" &&
(product == "6254" || product == "9520")) {
hublist.push_back(hub);
hub2type[hub] = FRIIO_WHITE;
} else if (vendor == "058f" && product == "6254")) {
hublist.push_back(hub);
hub2type[hub] = FRIIO_BLACK;
  
recfriiobs.cpp
if (parent != "002" && parent != "003" && vendor == "058f" &&
(product == "6254" || product == "9520")) {
hublist.push_back(hub);
hub2type[hub] = FRIIO_WHITE;
} else if (vendor == "058f" && product == "6254") {
hublist.push_back(hub);
hub2type[hub] = FRIIO_BLACK;
  
まだ安定しない...

— posted by くま at 04:25 pm   pingTrackBack [0]

また...ズック買わなきゃ...

単身赴任して履きつぶしたのは2足目...
何足履いたら家に帰れるやら
最後まで自分で、靴履いていたいよね...

— posted by くま at 11:29 pm   pingTrackBack [0]

friioで録画したtsファイルをLAN経由で再生する

PS3をtsファイル再生用に購入した。
最初はtsファイルの拡張子をmpegに書き換えるだけで
配信、再生が可能だった!
 
ところがPS3のファーム1.97から2.36にupdateすると
サーバーエラーが出て再生できなくなってしまった。
 
失意のこの数日間であったが...
ネットを徘徊していたら解決方法がやっと見つかった!
参考:http://www.wizard-limit.net/mt/pc/archives/2007_12.html
 
<protocolInfo extend="yes"/>
この一行で再生もできた。
操作できなかった早送り等すべての機能が使用できるようになった。
 
おまけでIO-DATAのAV-LS300DWでtsファイルを再生する方法も見つけた!!
長かった...ここまで...

— posted by くま at 09:02 pm   pingTrackBack [0]

Friio+Linux で録画、視聴を楽しむ!

friioとLinuxサーバーとの組み合わせで
録画、視聴を楽しむ計画をスタートしてます。
 
具体的には
friio+mediatomb+PS3を考えています。
PS3で再生するためにはファイルの加工が必要となるので
めんどくさい事は自動化して楽しめる環境を作ろうと思います。

— posted by くま at 10:38 pm   commentComment [3]  pingTrackBack [0]

linuxでのtsファイルの再生

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
  
direct rendering: Yes こうなってないと途中でmplayerが止まる。

— posted by くま at 11:18 pm   pingTrackBack [0]

RAID0速度改善!!

$ time b25 -v test.t test.ts
processing: finish
no EMM receiving request

real 2m41.873s
user 1m13.012s
sys 0m11.250s

実は前回の実験はRAID0のアレーのパーテーションがNTFSだった。
もしかして...と思って思い切ってext3に変更してみた!
それが上記の結果です。
でもせっかくデュアルブートにしてあるんだけど...

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

 

RAID0でこんな速度...遅すぎ!!

$ ls -l
-rwxrwxrwx 1 root root 3477946368 6月 15 05:20 06-15-2008-test.t
 
/dev/sde:
Timing buffered disk reads: 536 MB in 3.00 seconds = 178.49 MB/sec
 
/dev/sde:
readonly = 0 (off)
readahead = 256 (on)
geometry = 51168/255/63, sectors = 1874853888, start = 0
 
$ time b25 -v 1 06-15-2008-test.t test.ts
processing: finish
no EMM receiving request
 
real 10m2.947s
user 1m46.756s
sys 0m9.318s
 
RAIDではない(システムがインストールされている)HDで同じデーターで試すと
$ time b25 -v 1 06-15-2008-test.t test.ts
processing: finish
no EMM receiving request
 
real 3m48.687s
user 1m14.093s
sys 0m9.974s

— posted by くま at 05:34 am   pingTrackBack [0]

地デジ対応 白Friioを動かしてみる。

チャンネルがよくわからないのでスクリプトを書きました。
 
#!/bin/csh
echo ""
echo "14 NHK-E 教育 EDUCATION"
echo "15 NHK-G 総合 GENERAL"
echo "25 FTV 福島テレビ"
echo "26 TUF テレビユー福島"
echo "27 FCT 福島中央テレビ"
echo "29 KFB 福島放送"
echo ""
/usr/local/bin/recfriio
echo ""
echo "Input CH-No"
set ch = $<
echo ""
echo "Input Time(s)"
set t = $<
#
recfriio $ch $t fifo1 & b25 fifo1 fifo2 & mplayer fifo2

— posted by くま at 11:13 am   pingTrackBack [0]

<< 2024.9 >>
SMTWTFS
1234 5 6 7
89 101112 1314
15 161718192021
222324 25262728
2930     
 
























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