1 / 14

Sampling video with FFmpeg H.264/AVC JM Reference Software

Sampling video with FFmpeg H.264/AVC JM Reference Software. FFmpeg. 將拍好的影片和 ffmpeg 放在同檔案目錄下 打開 命令提示 字元 ( cmd.ere ) Change directory 到該目錄 ffmpeg - i ( 原始檔案名稱 ). 副檔名 - s qcif - pix_fmt yuv420(four-two zero)p ( 轉檔名稱 ). yuv. FFmpeg. yuv viewer.

danyl
Download Presentation

Sampling video with FFmpeg H.264/AVC JM Reference Software

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sampling videowith FFmpegH.264/AVC JM Reference Software

  2. FFmpeg

  3. 將拍好的影片和ffmpeg放在同檔案目錄下 打開命令提示字元 (cmd.ere) Change directory 到該目錄 ffmpeg -i(原始檔案名稱).副檔名 -s qcif-pix_fmt yuv420(four-two zero)p (轉檔名稱).yuv

  4. FFmpeg

  5. yuv viewer http://wftp3.itu.int/av-arch/jvt-site/software_tools/ 下載YUV_viewer.exe

  6. Download H.264/AVC reference software • http://iphome.hhi.de/suehring/tml/download/ • 下載JM18.5.zip

  7. 必須設定cfg來進行H.264的 Encode和decode

  8. Cfg file • 參數設定相關: doc/ JM Reference Software Manual.pdf 需更動cfg檔案: encoder.cfg, decoder.cfg

  9. H.264/ AVCencode 方法 • 在visual studio中compile lencod及ldecod得到 lencod.exe及ldecod.exe • Default cfg檔案: encoder.cfg, decoder.cfg • 利用cmd.exe, 鍵入: • lencod/ldecod –h: encoder/decoder使用說明 • Lencod/ldecod–d [default].cfg: 設定default cfg檔案並進行編碼 • Lencod/ldecod –f [cfgfile].cfg: 利用指定cfg檔案進行編碼

  10. MATLAB Graphic functions

  11. Rate Distortion Data

  12. >> r=[14.18,103.41, 134.91,153.15, 242.79]; % sort bitrate >> d=[0.9692, 0.9963, 0.9968, 0.9932, 0.9987]; >> plot(r,d,'Marker','o'); %畫出曲線 再點上標出o記號 >> title('Plot: Rate Distortion'); %設定圖形表頭, 以單引號引起 >> xlabel('Bitrate'); %設定x軸標籤為Rate >> ylabel('Y SSIM'); %設定y軸標籤為Y SSIM

  13. Plot: Name-Value Pair Arguments • 'Color' : RGB Vector/ Short Name/ Long Name • 'LineStyle' : '-' (default) | '--' | ':' | '-.' | 'none' • 'LineWidth' : 0.5 (default) | scalar • 'Marker' : 'none' (default) | string • 'MarkerSize' :6 (default) | scalar • http://www.mathworks.com/help/matlab/ref/plot.html

More Related