• 沒有找到結果。

5. 實驗結果

5.3. Result of Experimentation

5.3.1. Case 1

實驗用的資料是在 IRT 的 reference implementation 當中,可以執行的一個小 遊戲:貪食蛇;實驗用的 audio/video 是隨意取得的一段影片檔,分別將音訊及 影像擷取出來。用來測試我們可以順利的重建原本的資料結構,實驗用的 Transport Stream 是利用 JustDVB-IT 產生的。

1) 產生 audio/video 部份的 transport stream。

z 先利用在 windows 上執行的 Mainconcept MPEG Encoder 分別 產 生 MPEG-2 的 Audio Elementary Stream(ES) 及 Video Elementary Stream。

z 利用JustDVB-IT的工具把ES轉成PES,指令如Figure 52所示。

z 再利用工具由PES轉成TS,指令如Figure 53所示。

2) 產生 data 的 transport stream。

z 首先由IRT的資料中,找出一個可以執行的xlet:snake,資料 結構如Figure 54所示。

z 接下來再利用軟體將之轉成sections,指令如Figure 55所示。

z 再由sections轉成transport stream,指令如Figure 56所示。

3) 編寫 SI 相關的資料內容,PAT、PMT、AIT。

4) 將上面的資料mux成完整的transport stream,如Figure 57所示。並 送給我們的程式執行。

5) 驗證確實可以重新建立多層的樹狀結構。執行結果如Figure 58、

Figure 59所示。

Usage: 'esaudio2pes audio.es stream_id pts_step audio_frame_size' ./ esaudio2pes audio.es 192 2160 768 > audio.pes

Usage: 'esvideo2pes video.es stream_id pts_step' ./ esvideo2pes video.es 224 3600 > video.pes

Figure 52.

Figure 53.

Step of ES to PES

Usage: 'pes2ts file.pes pid'

./pes2ts audio.pes(video.pes) 2006 > audio.ts(video.ts)

Step of PES to TS

Figure 54.

Figure 55.

Figure 56.

Experimentation 1

Usage: ./file2mod.py <InputDirectory> <OutputModulesDirectory>

download_id carousel_id association_tag version ./file2mod.py srg/ test/ 1 2 0xC 1

./mod2sec.py test/ case/

Usage: ./mod2sec.py <InputModuleDirectory> <OutputSectionsDirectory>

Step of files to sections

Usage : ./sec2ts PID < OutputSections > OutputTS ./sec2ts 2000 < oc.sec > oc.ts

Step of sections to TS

Usage: 'tscbrmuxer b:bitrate_pat pat.ts b:bitrate_pmt pmt.ts b:bitrate_ait ait.ts b:bitrate_data data.ts ...

./ tscbrmuxer b:100 pat.ts b:100 pmt.ts b:100 ait.ts b:100 oc.ts b:44800 audio.ts b:44800 video.ts > TransportStream.ts

Figure 57.

ure 58.

Step of TS mux

Fig Result of Experimentation 1

| `-- dvb.hashfile 5 directories, 15 files

[frozenn@crow tree-1.5.0]$ ./tree ../../srg/

../../srg/

Figure 59. Screen Shot of Experimentation 1 5.3.2. Case 2

我們隨意產生了一筆資料,其中包含有,影片、mp3,圖片,java class file。

並不是一個可以執行的應用程式,目的是為了測試當 TS 包含了各種不同類型的 資料,然後產生多層的數狀結構,我們的程式仍然可以正確的對它解碼。

資料的架構圖如Figure 60所示。執行之的檔案示意圖如Figure 61所示。

Figure 60.

Figure 61.

Experimentation 2 ../a/

|-- INeedAHero.mp3

|-- b

|-- TestFileClassLoader.class `-- h 7 directories, 9 files

Result of Experimentation 2

5.3.3. Case 3

實際可讀可播放的應用程式,用來驗證對於大檔案我們仍然可以正確的解 讀,實驗用的資料是台北科技大學的郭天穎教授的實驗團隊從公共電視的數位訊 號錄製的。

執行之後會產生四個應用程式,其中包括了Pizza Hut的點餐系統,之後我們 再將這個應用程式拿到IRT的reference implementation執行,驗證解出來的資料正 確無誤,執行的畫面如Figure 62,Figure 63所示。

Figure 62. Screen Shot of Experimentation 2

Figure 63. Screen Shot of Experimentation 3

6. 結論與展望

6.1. 研究與實驗結果討論

本論文的主要目的是建立一個精簡且快速的 DSM-CC Decoder,從 Transport Stream 的接收與處理,一直到解出完整而正確的資料提供給 Application Manager 讀取為止。 Platform, Micro Edition(J2ME),所以可以很容易的在不同的嵌入式平台中移 植,再配合上硬體的Java加速器,在整個效能上仍然有很大的進步空間。另外 可 以 以 現 有 的 架 構 為 基 礎 , 發 展 出 可 以 處 理 不 同 型 態 的 應 用 程 式 , 如 DVB-HTML,的DSM-CC Decoder,以期在更多不同的平台上執行。

6.2. 未來工作及展望

„ 建立 Version Number 的監視與控制。

因為目前我們所有的測試資料來源,都是自己產生或是從網路訊號上側 錄而來的,所以不會有資料更新造成 Version Number 不同的問題,但是 這種情況在真實的環境中是無可避免的,所以建立對 Version Number 的監視,並且適時的把舊的資料清除換上新的資料是當務之急

„ 開發各種介面。

為了達到每個元件之間快速的溝通以及資料傳遞,可以再加以開發不同 的 interface 來達到如上的目標,例如:AITDecoder 和 Application Manager 之間的溝通介面。

„ 和 OpenMHP 的整合

雖然本論文的實作系統可以完全獨立執行,不過要和一個 open source 的 MHP middleware 配合執行,才是一個完整的 Set Top Box 模擬系統,

而 OpenMHP 是本論文實作系統最早的參考 middleware,所以目前考慮 將系統和 OpenMHP 互相整合。

7. 參考文獻

[1] ETSI TS 102 812, “Digital Video Broadcasting(DVB); Multimedia Home Platform(MHP) Specification 1.1.1,” June 2003.

[2] ISO/IEC JTC1/SC29/WG11, “ISO/IEC 13818-1: Information technology – Generic coding of moving pictures and associated audio – System,” November 1994.

[3] ISO/IEC JTC1/SC29/WG11, “ISO/IEC 13818-6: Information technology – Generic coding of moving pictures and associated audio information– Extension for Digital Storage Media Command and Control,” November 1995.

[4] OpenMHP Home Page, http://www.openmhp.org/.

[5] Hongguang Zhang, Tianpu Jiang, Zhiqi Gu, Shibao Zheng, “Design and Implementation of Broadcast File System Based on DSM-CC Data Carousel Protocol,” IEEE

Transactions on Consumer Electronics, August 2004.

[6] Eun-Jung Kwon, Han-Seung Koo, O-Hyung Kwon, Soo In Lee, “Object Acquiring Time Saving Scheme in Data Broadcasting,” Consumer Electronics, 2005. ICCE. 2005 Digest of Technical Papers. International Conference on, January 2005.

[7] Dong-Hwan Park, Tai-Yeon Ku, Kyeong-Deok Moon, “Real-Time Carousel Caching and Monitoring in Data Broadcasting,” IEEE Transactions on Consumer Electronics, February 2006.

[8] L. Atzori, M. Di Gregorio, “Multimedia Information Broadcasting Using Digital TV Channels,” Broadcasting, IEEE Transactions on, September 1997.

[9] C. Peng, P. Vuorimaa, “Digital Television Application Manager,” Multimedia and Expo, 2001. ICME 2001. IEEE International Conference on, August 2001

[10] Seven Morri, “The Interactive TV Web – Signalling MHP applications,”

http://www.interactivetvweb.org/tutorial/mhp/app-signalling.shtml.

System Standard,” February 2003.

[12] Digital Video Broadcasting, “ Digital Video Broadcasting(DVB); Implementation guidelines for Data Broadcasting,” June 1999.

[13] Seven Morri, “The Interactive TV Web – Object Carousels,”

http://www.interactivetvweb.org/tutorial/dtv-intro/dsm-cc/objectcarousel.shtml

[14] Xilinx inc. http://www.xilinx.com/products/boards/ml310/current/

[15] Sun microsystem, http://www.sun.com/software/communitysource/j2me/cdc/

[16] IRT GmbH, Munich , http://www.irt.de/IRT/mhp/mhp-e.htm

[17] Cineca DVB software, http://www.cineca.tv/labs/mhplab/index.html [18] Main Comcept Home Page, http://www.mainconcept.com/site/

相關文件