phonon

Overlay video with custom graphics using Phonon & PyQt

限于喜欢 提交于 2020-04-17 16:48:29
问题 I am building a eye-tracking data visualization tool using PyQt4 and Phonon module. Essentially, I have a video that a subject was watching while the subject's eye movements were tracked. The eye tracking data is in the form of x,y coordinates. I want to be able to play the video of interest and overlay that video with circles indicating where the subject was looking at. Does anyone have any idea? According to this link: Play a video with custom overlay graphics there seems to be a way by

Overlay video with custom graphics using Phonon & PyQt

大城市里の小女人 提交于 2020-04-17 16:47:37
问题 I am building a eye-tracking data visualization tool using PyQt4 and Phonon module. Essentially, I have a video that a subject was watching while the subject's eye movements were tracked. The eye tracking data is in the form of x,y coordinates. I want to be able to play the video of interest and overlay that video with circles indicating where the subject was looking at. Does anyone have any idea? According to this link: Play a video with custom overlay graphics there seems to be a way by

Overlay video with custom graphics using Phonon & PyQt

大兔子大兔子 提交于 2020-04-17 16:47:32
问题 I am building a eye-tracking data visualization tool using PyQt4 and Phonon module. Essentially, I have a video that a subject was watching while the subject's eye movements were tracked. The eye tracking data is in the form of x,y coordinates. I want to be able to play the video of interest and overlay that video with circles indicating where the subject was looking at. Does anyone have any idea? According to this link: Play a video with custom overlay graphics there seems to be a way by

video player with qt phonon (using python)

走远了吗. 提交于 2020-02-06 05:00:54
问题 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(Phonon.MediaSource("C:\\vid.mp4")) But, this doesn't display the video in the video player widget. Neither can I hear audio. Can anyone help?? I tried using different video

Phonon can't get Metadata on Mac

拟墨画扇 提交于 2020-01-05 07:31:08
问题 I'm using Phonon to get meta data about songs. On Linux everything seems to work just fine. Here's the code that get's called once the metadata is ready: QMultiMap<QString, QString> metaData = libAddMetaDataObject->metaData(); QString fileName = libAddMetaDataObject->currentSource().fileName(); QString songName = metaData.value("TITLE"); QString artistName = metaData.value("ARTIST"); QString albumName = metaData.value("ALBUM"); qint64 duration = libAddMetaDataObject->totalTime() / 1000; if

How to port Qt4.6 Phonon based media-application to Qt 5.1?

左心房为你撑大大i 提交于 2020-01-02 07:10:17
问题 I have a Qt 4.6 based application which use QtWebView to load a HTML page with tag inside to play a network multimedia source on Windows platform. Instead of using the default PHONON playback engine i build another PHONON back-end engine to handle the media download, demuxer,decoder, rendering etc. It works pretty well. However i need to update to Qt 5.1 to benefit the improvement and bug fix in latest QtWebView. From Qt 4.8 PHONON was dropped and when porting to Qt 5.1 my self implemented

Qt 4.8 beta and Mac OSX Lion, Phonon error

会有一股神秘感。 提交于 2020-01-02 06:57:37
问题 After a successful install of mac OS 10.7 I tried to compile my qt 4.7 project. I had many warnings of "unsupported mac os x version". I thus decided to use Qt 4.8 beta and now, all the warnings are gone. However, I now have a linker problem using Phonon: dyld: Library not loaded:/Users/pulseagent/repos/build2/Desktop/Qt/4.8.0/gcc/lib/QtDBus.framework/Versions/4/QtDBus Referenced from: /Users/kikohs/QtSDK/Desktop/Qt/4.8.0/gcc/lib/phonon.framework/Versions/Current/phonon Reason: Incompatible

Qt phonon video player example C++ or python

送分小仙女□ 提交于 2019-12-29 08:12:09
问题 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. 回答1: A working example of a video player built using Qt phonon: Dragon Player And here you find the Mplayer created with Phonen too, including all the sources: Phonon MPlayer. You need to login, then you can browse the source code by clicking on "Source" and then "Browse". EDIT: Oh, and of course the Media Player Example in the Qt

Documentation on PyQt Phonon backend audio effect 'speed'

五迷三道 提交于 2019-12-24 07:17:41
问题 When I look at the output of the function Phonon.BackendCapabilities.availableAudioEffects() I get this as one of the options: >>> speed_effect = Phonon.BackendCapabilities.availableAudioEffects()[3] >>> speed_effect.name() PyQt4.QtCore.QString(u'speed') >>> speed_effect.__doc__ 'Phonon.EffectDescription()\nPhonon.EffectDescription(int, dict-of-QByteArray-QVariant)\nPhonon.EffectDescription(Phonon.EffectDescription)' I understand that I need to insert this effect into a path connecting to my

How to overlay a Qt Phonon video with an OpenGL scene?

余生长醉 提交于 2019-12-22 14:00:02
问题 I want play a video with the Qt Phonon Player and overlay it with an OpenGL scene, so that the semitransparent OpenGL objects are above the video. I searched for hours but found no hints how to realize this. This Proof of Concept from Intel describes what I am looking for. http://download.intel.com/embedded/software/IEGD/324707.pdf How can this be realized? Which components are necessary for this? Some posts which are similar to mine: to clearify my intention here i found a picture what