-
Book Overview & Buying
-
Table Of Contents
Python Multimedia
By :
In the first project, we learned the fundamentals of the QT Phonon framework. In this project, we will extend that knowledge further by developing a video player. The Audio player was developed by building a media graph. Various nodes such as MediaObject, AudioOutput, and Effects were linked together by creating a Phonon.Path. If the goal is just to develop a simple audio or video player, the job is even simpler. Phonon has a module VideoPlayer that provides an abstract way to play an audio or a video without the need to explicitly create MediaObject, AudioOutput, and some other objects. All it needs is a MediaSource. It is also possible to create a custom media graph by adding various audio-effect nodes. We will see how to do it later. For now, let's write a simple video player application using QT Phonon. The following illustration shows the video player in action.

QT Designer is an excellent resource for generating user interface interactively...
Change the font size
Change margin width
Change background colour