Presentation is loading. Please wait.

Presentation is loading. Please wait.

指導老師:潘仁義 報告者:張朝麟. Outline MPEG 概念 模擬 MPEG 概念 I-Frame( 本身的資料壓縮 ) P-Frame( 解碼須參考先前的 I 或 P-Frame) B-Frame( 須參考前後的 Frame)

Similar presentations


Presentation on theme: "指導老師:潘仁義 報告者:張朝麟. Outline MPEG 概念 模擬 MPEG 概念 I-Frame( 本身的資料壓縮 ) P-Frame( 解碼須參考先前的 I 或 P-Frame) B-Frame( 須參考前後的 Frame)"— Presentation transcript:

1 指導老師:潘仁義 報告者:張朝麟

2 Outline MPEG 概念 模擬

3 MPEG 概念 I-Frame( 本身的資料壓縮 ) P-Frame( 解碼須參考先前的 I 或 P-Frame) B-Frame( 須參考前後的 Frame)

4 模擬步驟 1. 安裝 Cygwin 2. 影像處理 3. 修改 qualnet code 4. 進行模擬 5. 觀察差異

5 安裝 Cygwin 請參考 cygwin 安裝 (link)link 注意事項: 1. Cygwin1.dll 須至此抓取新檔覆蓋原檔 (C:\cygwin\bin)此 避免 ffmpeg 有問題 2. 需至此抓取 msvcr70.dll 放置 (C:\cygwin\bin)此 避免 MP4Box 有問題

6 Sample code traffic_trace_video.rar 1. yuvviewer.exe( 觀看影像 ) 2. ffmpeg.exe( 影像壓縮 ) 3. MP4Box.exe(m4v 轉 ISO MP4) 4. mp4trace.exe( 了解影像檔案資訊 ) 5. etmp4.exe( 產生接收端影像 ) 6. avgpsnr.exe(psnr 值 ) 7. qualnet_MPEG.c(traffic trace file format 轉換 ) 8. app_traffic_trace.cpp( 支援讀取多媒體視訊傳輸 ) 9. AODV_video_static, AODV_video_pause5_0_10( 模擬情境 ) 10. Foreman_qcif.yum( 原始影像 )

7 影像處理 (1/5) 影像壓縮

8 影像處理 (2/5) 影像轉檔

9 影像處理 (3/5) 了解檔案資訊

10 影像處理 (4/5) 檔案資訊

11 影像處理 (5/5) 轉換 st 檔為 app_traffic_trace 能接受的格式 qualnet_MPEG.c 先進行編譯 轉換 st 檔為 ss.trc

12 修改 qualnet code(1/3) 將 app_traffic_trace 複製到 ~\libraries\developer\src 並 取代原檔案 SMALLKO_CHECK_TRACING 1(1 為執行多媒體傳輸 ) SMALLKO_MAX_DATA_SIZE 1024( 設定封包最大值 )

13 修改 qualnet code(2/3) 修改 app_traffic_trace.h struct struct_traffic_trace_data 新增 Int32 pktid struct struct_traffic_trace_client_str 新增 Int32 pktid typedef struct struct_traffic_trace_data 新增 Int32 fileopen

14 修改 qualnet code(3/3) 重新編譯 nmake clean Nmake 將 ss.trc 檔放置 AODV_video_static 內,並將 AODV_video_static 放置 ~\scenarios\user

15 進行模擬 模擬

16 進行模擬 模擬結束後產生兩個檔案 TRAFFICTRACE_SERVER_192.0.0.1_192.0.0.25_1024 TRAFFICTRACE_CLIENT_192.0.0.1_192.0.0.25_1024 將此兩檔案放置 Cygwin 處理

17 觀察差異 (1/3) 執行 etmp4 解壓縮影片

18 觀察差異 (2/3) 找出 PSNR 值

19 觀察差異 (3/3) 使用 yuvview.exe 來比較

20 The End

21 指導老師:潘仁義 報告者:張朝麟

22 Outline 作業平台和硬體需求 QualNet Client 安裝 安裝 advance wireless 抽考題目

23 作業平台和硬體需求 作業系統 Windows XP 系統環境 Java SDK 1.4.2 以上版本 Complier Microsoft Visual C++ 2002 或之後版本

24 Qualnet client 安裝 若要在 QualNet 中編譯程式,則需要安裝 Microsoft Visual C++ 2002 or later ,必須設於 path 上且設定 下列環境變數 ( 視實際環境而定 ) 設定變數的目的, 主要是為了使用 cl.exe 與 nmake.exe 。 EX:( 此例為利用 Microsoft Visual Studio C 2005) Path ( 變數名稱 ) : C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;c:\qualnet\4.5\bin;c:\qualnet\4.5\lib ( 變數值 ) Include ( 變數名稱 ) : C:\Program Files\Microsoft Visual Studio 8\VC\include;C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include ( 變數值 ) LIB ( 變數名稱 ) : C:\Program Files\Microsoft Visual Studio 8\VC\lib;C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib( 變數值 )

25 安裝 advance wireless 先安裝 advance wireless 模組 直接執行安裝檔案 (qualnet-4.5-AdvancedWireless- installer.exe) 開啟檔案 C:\qualnet\4.5 \main\Makefile-addons-windows 修改 Makefile-addons-windows 檔案 重新 Compile Qualnet

26 修改 Makefile-addons-windows

27 Recompile 使用 QualNet 4.5 Developer Command-Line 依電腦所安裝的編譯器使用對應的 makefile 做 make 動 作 以下是使用 Microsoft Visual Studio C 2005 環境編譯的 例子 Makefile nmake

28 Recompile 成功的畫面

29 執行 WiMAX module 點選 advanced_wireless Import multicell-high-mobility

30 Import 成功的畫面 25 個 host 6 個 subnet 執行功能列 RUN

31 抽考題目 請將 WiMAX 正確安裝上 Qualnet 並能正常執行預設腳 本


Download ppt "指導老師:潘仁義 報告者:張朝麟. Outline MPEG 概念 模擬 MPEG 概念 I-Frame( 本身的資料壓縮 ) P-Frame( 解碼須參考先前的 I 或 P-Frame) B-Frame( 須參考前後的 Frame)"

Similar presentations


Ads by Google