2014年11月13日 星期四

[Tips] 在 Ubuntu 10.04 安裝 mediainfo

話說想看看用 Raspberry Pi Camera 錄下來的 H.264 是什麼格式, 在 Ubuntu 最好用的就是 mediainfo

如果抓 deb 安裝可能會有相依性的問題, 但是用 PPA 安裝就很開心
sudo add-apt-repository ppa:shiki/mediainfo
sudo apt-get update
sudo apt-get install mediainfo mediainfo-gui

讀出來的結果是
Complete name             : video.h264
Format                    : AVC
Format/Info               : Advanced Video Codec
File size                 : 27.0 Bytes

Video
Format                    : AVC
Format/Info               : Advanced Video Codec
Format profile            : High@L4.0
Format settings, CABAC    : Yes
Format settings, ReFrames : 1 frame
Width                     : 1 024 pixels
Height                    : 768 pixels
Display aspect ratio      : 4:3
Color space               : YUV
Chroma subsampling        : 4:2:0
Bit depth                 : 8 bits
Scan type                 : Progressive