2007年10月16日 星期二

AV簡史

以年分從1874到2007寫出Audio和Video的發展
The Short History of Audio/Video Technology

2007年10月15日 星期一

找不到strstrea.h

在Visual Studio 2002的project,拿到Visual Studio 2005去build會有以下錯誤訊息:
fatal error C1083: Cannot open include file: 'strstrea.h'
好像是Visual Studio 2003後就不用這個檔案了,所以要把strstrea.h改成strstream

2007年10月5日 星期五

在Ubuntu Linux裡build FAAD2

在Ubuntu 7.04 (Feisty Fawn)裡build faad2-2.5遇到一些問題:

Ubuntu裡要先裝
sudo apt-get install autoconf
sudo apt-get install automake
sudo apt-get install libtool
改幾個和BMP有關的檔(不然configure不過)
/faad2/configure.in
/faad2/plugins/xmms/src/Makefile.am
/faad2/plugins/Makefile.am

執行
autoreconf -vif
./configure --with-mp4v2
make
sudo make install
參考:
How to compile ffmpeg on Mac and Linux

2007年10月3日 星期三

Windows CE的build

Windows CE的build都是從BldDemo.bat產生run-time image.
其中依序呼叫:
1. Cebuild.bat
2. Buildrel.bat
3. Makeimg.exe

參考: Build flow in BldDemo.bat

但是MSDN的Build phases畫的圖很怪,要先compile才sysgen?

Checko's Blog寫的更好

2007年10月1日 星期一

[WindowsCE小技巧] Build出來的東西沒有在image裡

好像常會發生,都是prebuild搞的鬼...
  1. Copy your binary, symbols, map into %_FLATRELEASEDIR%
  2. Find out what package your file is in
    1. Cd %_FLATRELEASEDIR%
    2. "findstr /i [your filename] *.bsm.xml" Ex: findstr /i nk.exe *.bsm.xml
  3. This should return a package's xml file, for example oemxipkernel.bsm.xml. This tells you that it's in the OS package.
  4. Find the prebuilt package and delete it
    1. cd prebuilt
    2. del oemxipkernel.cab.pkg
  5. Makeimg
詳全文