phonon

Is it possible to statically link Qt::phonon on windows?

Because of the dependency on DirectShow on windows, is it possible to use a static Qt with my application? ...

Can Phonon be used for capture or transcoding?

Qt/KDE's Phonon media framework abstraction implemented playback first. Can it do anything more complicated yet? ...

Phonon and image support

I'm trying to build a simple slideshow-like effect using Phonon with PyQt. The "slideshow" will be made up of images and/or video, but the images should display for some fixed period of time. When I queue up an image in a MediaSource, it is displayed for only a short moment. Phonon appears to support images via the backend (at least o...

Play mp3 using Python, PyQt, and Phonon

I been trying all day to figure out the Qt's Phonon library with Python. My long term goal is to see if I could get it to play a mms:// stream, but since I can't find an implementation of this done anywhere, I will figure that part out myself. (figured I'd put it out there if anyone knew more about this specifically, if not no big deal...

Phonon VideoWidget error: "the video widget could not be initialized correctly"

I asked this question on the PyQt mailing list, and didn't get any responses, so I'll try my luck here. I've encountered a frustrating issue (on Windows only): when trying to create a VideoWidget instance, I'm getting the error message "the video widget could not be initialized correctly". Oddly, this just surfaced in the code after sev...

Displaying WebCam video with Qt

I'm using Qt 4.5 (2009.03) on Linux Gnome (Ubuntu 9.04) and would like to display video captured by my webcam in a Phonon::VideoWidget of my Qt application. I have a first implementation using the v4l2 API where I do the YUV2 to RGB conversion and fill a QImage my self. It works well but it is not very efficient. A collegue used gStrea...

How to deploy a Phonon-dependant Qt4/PyQt4/python application on Mac OS X?

I have written a crossplatform Qt4/PyQt4/python application, namely MyGreatApp, whose last version requires the Phonon module. MyGreatApp runs just fine on my own machine under Mac OS X 10.6 Snow Leopard, and more generally on any mac where Qt4.4 happens to be installed. However, innocent machines miserably fail to load Phonon: WARNING:...

Qt Phonon open raw audio data file

Hi guys, I have already asked a similar question here: http://stackoverflow.com/questions/956720/python-open-raw-audio-data-file Now I want to open, and play, raw audio files with QtPhonon. The main goal is to open the file and play a certain location in the file, for example from the 10th second to the 20th second. Is it possible usin...

video player with qt phonon (using python)

hi, I am working on Windows xp and am trying to get a simple video player running. I am trying to use Phonon::VideoPlayer module for this. I am connecting the signal as connect(self.player,SIGNAL("finished()"),self.player.deleteLater) and then , when the Play button is pressed, it makes the following call: self.player.play(Phono...

Qt phonon video player example C++ or python

Does anyone have a working example of a video player built using Qt phonon? (in C++ ) See my related question here . I am unable to build one using Python. ...

Supported Audio Formats of Qt4 Phonon?

I am making a music player in PyQt4, and I am using Phonon to play the music itself. This application is aimed primarily at Windows, but I plan on also supporting Mac and Linux versions. What I want to know is which audio formats are supported by Phonon so that I can ensure that the user only enters those files. ...

QFileDialog filter from mime-types

I want the filter in a QFileDialog to match all audio file types supported by Phonon on the platform in question. 1 - However I am not able to find a way in Qt to use mime types in a filter. How can I do that? 2 - Or how can I find the corresponding file extensions for the mimetypes manually? The solution should be Qt based, or at leas...

Crossfading audio with PyQT4 and Phonon

I'm trying to get audio files to crossfade with phonon. I'm using PyQT4. I have tracks queuing properly, but I'm stuck with the fade effect. I think I need to be using the KVolumeFader effect. Here's my current code: def music_play(self): self.delayedInit() self.m_media.setCurrentSource(Phonon.MediaSource(self.playlist[self....

Display an webcam stream in PyQt4 using OpenCV Camera Capture

Hello, I am using this python script do display my webcam : from opencv.cv import * from opencv.highgui import * import sys cvNamedWindow("w1", CV_WINDOW_AUTOSIZE) camera_index = 0 capture = cvCreateCameraCapture(camera_index) def repeat(): global capture #declare as globals since we are assigning to them now global came...

Capture Flash Audio in 4.7 Edge?

Is there a way to capture plugin (Flash) audio before it gets to the sound card? I'd like to record plugin audio, hopefully without actually playing the sound. Capturing audio at the device level is an absolute last resort, as the application would pick up all system audio rather than just the Webkit plugin. I'm aware of the recent swi...

The best way to use Video with QGraphicsScene

I am currently using Phonon VideoWidgets inside of a QGraphicsScene using a QGraphicsProxyWidget. I have my viewport set to a QGLWidget. However, it causes me big issues when I try to apply some transforms to the video such as a rotation that isn't evenly divisible by 90 degrees since then it slows my program down a lot. After reading...

mp3 files not supported by phonon

Hi, I am using Qt SDK 4.6 for developing a simple music player on windows XP. I have checked available mime types supported by phonon and according to it my phonon supports mp3 files Yet as i try to play an audio file of .mp3 format using my music player mediaObject moves in Error State and the error i get is Fatal Error : No combinatio...

Parse .pls / .m3u in phonon (Qt)

Hi Can i get some help to parse .pls / m3u formats in phonon player. So far i know phonon doesn't support playlist. When any playlist is entered in open location it gives an error like codecs text/text-uri not found. ...

Amplitude of Audio Tracks

Hi, I want to develop an audio editor using Qt. For this, I need to plot a waveform of the music track which I think should be a plot of peak amplitude of sound versus time(please correct me if I am wrong). Currently, I have been using Phonon::AudioOutput class object as an audio sink and connected it with my Phonon::MediaObject class o...

How do I add a Phonon VideoPlayer to QtDesigner form?

I can add a player object to my UI layout in the MainWindow constructor, but how do I use the widget container as a placeholder so I set properties and layout for the VideoPlayer in QtDesigner? ...