Saturday, August 23, 2008

Realtime Video Toolkit (RVTK) - Release 0.2


* New GObjects:
- RvtkMap, Associative container of GValue type
- RvtkHal, Access to system resource
- RvtkMedia, Abstraction class of media Source
- RvtkFrame, Abstraction class of video frame
- RvtkCapture, Video Capture Device
- RvtkV4L2Frame, V4L2 Video Frame
- RvtkV4L2Capture, V4L2 Capture Device

* New header: rvtk/rvtk.h

* Utilities:
- rvtk-scan, Scan capture devices
- rvtk-viewer, example camera viewer using RvtkFrame and RvtkCapture

* libv4l2
- Fixed memory leark in v4l2CaptureRelease
- Few API changed

* Added pkg-config scripts
- rvtk.pc
- rvtk-uninstalled.pc
- rvtk-ui.pc
- rvtk-ui-uninstalled.pc

* Document
- Support for Devhelp

TODO for Release 0.3
  1. Deprecate all GOB code
  2. Enrich the API of widget set.

Friday, August 22, 2008

Linking OpenCV with ffmpeg 20080706

The API of ffmpeg has been changed a lot , but the OpenCV package in Debian SID is not ready for the API changes. Another distribution like gentoo has already been fixed. Ubuntu is stilling using old version of ffmpeg , so it is also fine.

But Debian SID has been migrated to newer version of ffmpeg , and quite a lot of packages are depended on that version. Therefore, it is very trouble to rollback ffmpeg version to old one , which just to make OpenCV works.

In order to make Debian SID's OpenCV work with newer ffmpeg, I have submitted two patches for the issue. If you encounter similar problem like the one below, or OpenCV can not load AVI and image files. You probably need the patches:
Compiling an application and and then linking against libhighgui fails with:
/usr/lib/ undefined reference to `img_convert'
collect2: ld returned 1 exit status
The bug report and patches

Saturday, August 9, 2008

Moblin Image Creator for EeePC701

I have extended the moblin-image-creator to build image for EeePC 701. The feature of the final image :
  • Support to generate Writable Live USB image that don't require to install
  • Using squashfs + unisonfs like the default Xandros's distribution. The system only use 1GB of disk space(can be even smaller). 2.6GB disk space leave for use.
  • Using linux-eeepc kernel from which support madwifi and eeepc-acpi
  • Applied the changes from … _perfectly
EeePC 701 specific changes:
  • Make EeePC shut down properly
  • Enabling processor scaling
  • Wifi Hotkeys
  • Audio after suspend/resume
EeePC 701 specific changes for gnome (based on the ) :
  • Smaller toolbars icons
  • Disabling UI sounds
  • Fixing mute key
  • Fullscreen with -F11
  • Setting suspend when closing lid, blank screen
  • Don't display battery warning
  • Unconstraining windows to the top of the screen

As it is only an experimental release, I don't provide ISO/Image now(may provide later) . You may build your own image by using the moblin image creator. Furthur information: … reator.php

Instruction to get Moblin Image Creator for EeePC

git clone
cd moblin-image-creator.eeepc.git
dpkg-buildpackage -rfakeroot -us -uc
sudo dpkg -i ../moblin-image-creator_0.45_all.deb

And then run :

sudo image-creator


1. Create a platform project with type eeepc-i386-ubuntu-hardy-ppa
2. Create a target with fsets: eeepc-701-config and ubuntu-desktop . (You may also choose netbook-remix , but the default config for Gnome is not ready. Will add later)
3. Build image by press "Live RW USB" or "Install USB" button.
4. Press "Write USB Image" for the image generated.

Default user name : ume
Default password : (empty, just press enter when it prompt for password)


You may customize the image by press the "Terminal" button, it will create a chroot environment and you may install any package you want. I would suggest to remove "tracker" package from your image.

apt-get remove tracker


Test your image with "Live RW USB" is safe , as it won't touch the SSD. But if you choice to create a "Install USB" image. It will format your SSD without any notice!

Related pots: