http://www.hkepc.com/forum/viewthread.php?tid=1620430
發表於 2011-6-4 00:25 | 只看該作者
PVR 問題
最近換左部stb, 我而家想用部新既stb去播番之前舊機錄既pvr, 但係就只係出到video而無audio, 因為兩部stb錄出黎既file都係~.ts, 係電腦都播到及出到聲, 我估計係info.ini呢個file唔同而出唔到聲, 唔知咁多位師兄有冇計仔幫幫我
發表於 2011-6-4 04:14 | 只看該作者
你的想法應該正確,我也在研究如何把 DVBViewer 錄的 .ts 放在機頂盒播放。我從以下這個網站﹝經 Google translate﹞找到一些有關 info.ini 的資料,不過不完整:
http://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Fwww.homecinema-fr.com%2Fforum%2Fviewtopic.php%3Ff%3D1284%26t%3D29948456%26sid%3D0b0c793302224c081fe2556ded3d505a%26start%3D360
先要用機頂盒錄各台一兩分鐘然後比較。主要是要找出各 PID 的位置,檔案大小,錄制日期及時間﹝好似放在 directory 內﹞,錄制時間長度。我用 PRIMA PM-698 機頂盒,數據分析如下﹝Hex 數據以 little endian 格式儲存﹞。其他機頂盒相信大同小異:
PID (Dec) | PID (Hex) | 用途 |
110 | 006e | 本港台 LCN=11 |
111 (=110+1) | 006f | 本港台 video |
112 (=110+2) | 0070 | 本港台 audio 1 |
113 (=110+3) | 0071 | 本港台 audio 2 |
114 (=110+4) | 0072 | 本港台 subtitle 1 CHI/CHS |
115 (=110+5) | 0073 | 本港台 subtitle 2 ENG |
810 | 032a | 翡翠台 LCN=81 |
811 (=810+1) | 032b | 翡翠台 video |
812 (=810+2) | 032c | 翡翠台 audio 1 |
813 (=810+3) | 032d | 翡翠台 audio 2 |
815 (=810+5) | 032f | 翡翠台 subtitle 1 CHI |
816 (=810+6) | 0330 | 翡翠台 subtitle 2 ENG |
817 (=810+7) | 0331 | 翡翠台 subtitle 3 CHS |
820 | 0334 | J2 LCN=82 |
821 | 0335 | J2 video |
822 | 0336 | J2 audio 1 |
823 | 0337 | J2 audio 2 |
825 | 0339 | J2 subtitle 1 CHI |
其餘亞視各台 PID 用途和本港台相近 (video + 2 audio + 2 subtitle);
其餘無線各台 PID 用途和翡翠台相近 (video + 3 audio + 3 subtitle)。
理論上可以寫個簡單程式輸出 info.ini,不過我個程式還未開始寫。
========================================================================
發表於 2011-6-5 05:35 | 只看該作者
師兄既分析果然詳盡, 但係小弟黎講就可能深左少少, 以下都係我小小既分享, 希望幫到師兄寫野用
我只係好單純咁用notepad去開info.ini, 我觀察到唔同台係會有自己唔同既info.ini, (i.e. j2, 高清翡翠 及 標清翡翠 係會有3款唔同既info.ini, 如此類推) 當節目係同一個台錄既時候, 呢個file係可以互通
例子:
我係stb-a錄左高清翡翠既"魔法擂台", 我而家想用stb-b播番呢個節目, 我就可以利用番之前係stb-b所錄得既高清翡翠"華麗明星賽"既pvr當中, 抽取其info.ini並取代"魔法擂台"既info.ini, 咁樣做就可以成功播放出所有聲軌及畫面
但係就有另一個問題出現, 就係播放時間不吻合
例子:
假設"華麗明星賽"既pvr我只係錄得30分鐘, 呢個info.ini亦只會有30分紀錄, 所以本身錄左60分鐘既"魔法擂台"亦被"限制"播放30分鐘 ; 反之亦然, 假設"華麗明星賽"既pvr只有兩條聲軌, 而"魔法擂台"有3條聲軌的話, 最終"魔法擂台"亦只有兩條聲軌可以被播出
其實我如果有辨法寫到一個無限時間及聲軌既info.ini出黎, 豈不是己經解決左問題
ps1, stb-a 為"頂天立地" / stb-b為"4gen 484l"
ps2, 師兄你個套睇到file既binary code既software叫咩野名?我想用佢黎改info.ini
========================================================================
發表於 2011-6-5 10:35 | 只看該作者
http://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Fwww.homecinema-fr.com%2Fforum%2Fviewtopic.php%3Ff%3D1284%26t%3D29948456%26sid%3D0b0c793302224c081fe2556ded3d505a%26start%3D360
of mardigan "November 22, 2010 7:28 p.m.
Akira Demod
I start with a patch on the name in Recorder Model:
"Akira-DHB B36HR, HU-PVR, HDMI-PVR" is familiar to users as it is called firmware
"Akira-DHB B36HR / DHB-863HU-PVR" is a little buggy (863 does not exist, it is B36) and incomplete
Then the manipulation:
I begin with an export locally on PC: (Model Akira)
dossier.pvr -> chaîne.ts (PC)
then the creation:
RecTVEdit -> File -> New -> chaîne.ts -> Open -> Continue -> Save
-> "Create a new dossier.pvr with the current date and time" (manually transferred over USB)
(I put the addition. Xml)
At this level: a wish: Power state the name of the new dossier.pvr
I personally prefer Chain-annéemoisjour-heure.pvr As of 8890
(An optional config perhaps?)
I am passing a conversion V1 -> V2.2 of info.ini (NRJ12 SD):
- Code: Select all
-
Offset hex. 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000000: 26 25 24 AC 00 00 00 00 00 00 00 00 01 00 00 00 &%$¬............
000000010: 00 00 00 00 00 00 00 00 C8 00 DC 00 DC 00 F0 00 ........È.Ü.Ü.ð.
000000020: 00 00 02 00 E6 00 01 00 66 72 61 00 E8 00 01 00 ÿ...æ ÿ.fra.è ÿ.
000000030: 65 6E 67 00 00 00 00 00 00 00 00 00 00 00 00 00 eng.............
000000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000060: 00 00 00 00 02 00 01 00 FA 00 02 00 66 72 61 00 ........ú...fra.
000000070: 01 00 01 00 00 00 01 00 66 72 61 00 00 00 88 00 ........fra...ˆ.
000000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000F0: 95 DA 59 00 95 DA 59 00 00 00 08 F1 00 00 00 00 (.Z.(.Z....ñ....
- Code: Select all
-
Offset hex. 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000000: 26 25 24 AC 00 00 00 00 00 00 00 00 01 00 00 00 &%$¬............
000000010: 00 00 00 00 00 00 00 00 C8 00 DC 00 DC 00 F0 00 ........È.Ü.Ü.ð.
000000020: FF 1F 02 00 E6 20 FF 1F 66 72 61 00 E8 20 FF 1F ÿ...æ ÿ.fra.è ÿ.
000000030: 65 6E 67 00 00 00 00 00 00 00 00 00 00 00 00 00 eng.............
000000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000060: 00 00 00 00 02 00 01 00 FA 00 00 00 66 72 61 00 ........ú...fra.
000000070: 01 00 01 00 00 00 01 00 66 72 61 00 00 00 88 00 ........fra...ˆ.
000000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000F0: 28 14 5A 00 28 14 5A 00 00 00 08 F1 00 00 00 00 (.Z.(.Z....ñ....
000000100: 02 06 FF 1F FF 1F 00 00 ..ÿ.ÿ...
5888.661 s original term
5903.400 s duration generated
And now the test of fire:
The video is displayed, the time counter remains at 0, the sound desync (ahead of at least 5 s) and intermittently jerky
But the GOTO walk!
The timecode is used for replay!
In this connection it is in the standard BDAV (Blu-ray Video) probably need to look.
========================================================================
沒有留言:
張貼留言