rvtk-gst-pg is a GStreamer pipeline description generator that will be released togather with Rvtk 0.3. It is a GUI utility to generate GStreamer pipeline description for tools like gst-launch , ARToolkit-based applications , and any GStreamer based applications.
It is getting more number of applications use GStreamer for video playing. That include few webcam applications (e.g. Cheese) and computer vision software (e.g. Lasertraq). Although they are working fine , they usually lack a user interface to tune camera parameter. User may only use default camera parameter unless they know how to construct GStreamer pipeline description, which is too complicated for end-user.
Example of pipeline description:
# Capture image from a webcam with resolution of 320x240 and 30fps.
# Play a AVI file. gst-launch-0.10 filesrc location=video.avi ! decodebin ! ffmpegcolorspace ! ximagesink
The usage of rvtk-gst-pg is quite similar to zenity. It will display few Gtk+ dialogs , and return the user input to standard output for shell scripting:
Help Options: -?, --help Show help options --help-all Show all help options --help-gtk Show GTK+ Options
Application Options: -v, --var Export variable name --display=DISPLAY X display to use
Example script: play video from webcam or local media by gst-launch:
PIPELINE=`rvtk-gst-pg xvimagesink` if [ ! -z "$PIPELINE" ] then gst-launch $PIPELINE fi
Firstly, it will prompt a dialog to ask for the location of media source. The first tab contains the detected capture device list , another tab shows a file selection browser to choose their local media file.
If a capture device is chosen , it will prompt another dialog for more options of capture device. That include the image format , resolution and FPS.
Finally , rvtk-gst-pg will print out the pipeline description according to the media chosen and the passed argument to standard output.
Example video : rvtk-gst-pd + levelhead
Although Rvtk 0.3 is not released yet , the source of rvtk-gst-pg is already available in Launchpad: https://code.launchpad.net/rvtk
* 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
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/libhighgui.so: undefined reference to `img_convert' collect2: ld returned 1 exit status
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 array.org which support madwifi and eeepc-acpi
EeePC 701 specific changes for gnome (based on the RiceeyTweak.sh ) :
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:
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)
Customization:
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
Remark
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!
If you have tried to install Netbook remix in your EeePC , you probably know that after the installation of packages, it take few more steps to adjust gnome environment to fit for the UME launcher. In case that you need an extra account , or reinstall the system , you have to do it again.
In order to simplify the process, I have made a package which did the configuration , so that you don't need to set gnome for netbook remix environment:
deb http://ppa.launchpad.net/netbook-remix-team/ubuntu hardy main deb-src http://ppa.launchpad.net/netbook-remix-team/ubuntu hardy main deb http://ppa.launchpad.net/benlau/ubuntu hardy main deb-src http://ppa.launchpad.net/benlau/ubuntu hardy main
Newly created account would use netbook remix environment automatically. For existing account , it take one more step to complete the installation . (Warning! It will delete gnome's bottom panel and remove all of the applet in your top panel)