GrabDuck

Virtual box install gnu compiler and live 555 media server and AIT camera (USB camera)

:

1. install gnu development tools

1

sudo apt-get install build-essential

2. build live 555 media server
下載 source code。

tar xzvf live555-latest.tar.gz
cd live
./genMakefiles linux
make
cd ..
cp -r live /usr/lib
此刻應已建立了 /usr/lib/live/ 相關檔案目錄。

將多媒體檔案(.mp3, .mpg, .m4e)複製到 /usr/lib/live/mediaServer/ 下。執行


cd /usr/lib/live/mediaServer
./live555MediaServer
live555mediaServer 為dynamic create media server, trace C++ code, 應先看 class object, 再 trace member, or member function, 沒有相關member or member function, 則trace 繼承而來的object

3. install camera and driver

virtualbox 插入 usb camera  抓不到,  改為 desktop run linux 就 ok, /dev/video OK

 4. compiler wis-streamer
put the wis-streamer in same folder of live 555
make

6. build ait-camera sample code
copy ait_util for mt7620/source/codetek/ait_util
modify Makefile