Installation
Installation of the gst-switch from master branch works good. However I am unable to install gst-switch for the speaker-track branch.
I am running Quantal and had gstreamer-1.0 installed along with all the plugins (good, bad, ugly) installed through the ubuntu repository. The version of gstreamer was 1.0.6. However, gst-switch requires the latest development version-1.1.1 to be installed.
Also I would mention that installing the speakertrack branch of gst-switch does not work out correctly. Firstly the gstreamer plugins were not installed correctly. Also, I did not find the file gst-switch-cap in ~/gst/stage/bin indicating that the installation process actually installed the master branch instead of installing the speakertrack branch.
I have installed all the git packages of gstreamer and its plugin from duzy repo at https://github.com/duzy. I installed the following packages:
- gstreamer https://github.com/duzy/gstreamer
- gst-plugins-base https://github.com/duzy/gst-plugins-base
- gst-plugins-good https://github.com/duzy/gst-plugins-good
- gst-plugins-ugly https://github.com/duzy/gst-plugins-ugly
- gst-plugin-bad https://github.com/duzy/gst-plugins-bad
Installing the gst-plugins-bad gives errors. First I try installing from the master branch. I encountered this error while doing make: Didn't work out well. So I did a checkout to the speakertrack branch, ran the ./autogen. So I get this now: I also tried out the speakertrack_new branch, ran the ./autogen and then did make. This time I get this:
Code Improvements
I have tried to bring some new improvements to the code. I have made a new structure for the server class so that it is extensible. Now, the main Server class is derived from three classes:
- BaseServer : Handles the various properties of the Server.
- ServerProcess : Handles all processes created by the Server. These include both controlling the server process as well as the various test sources which can be created to test the server.
- ServerDBusController : Handles all interactions of the Server with the DBus
I have added two files:
- connection.py : This file will have classes which will take care of the various connections which have to be made with the gst-switch-srv over dbus.
- dbus.py : This file will have classes which will help in interaction with the remote objects present on the gst-switch-srv. This will be utilizing the methods defined in connection.py.
Comments Section
Feel free to comment on the post but keep it clean and on topic.
blog comments powered by Disqus