This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Re Phonon Multimedia Framework in Qt 4.5

Tags: None
(comma "," separated)
niraj2820
Registered Member
Posts
12
Karma
0
OS
Hi,

Can i access frame of the videos using phonon module available in qt4.5??

Niraj


Open Source , Open Mind!!
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Hm, I fear I don't understand your question, what videos are you talking about? Also a little more information about your Amarok version and distribution would be helpful.
FWIW, Amarok is still based on Qt 4.4


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
LBL
Registered Member
Posts
131
Karma
0
OS
As far as I understand you want to access a single video frame of a video file using phonon, am I right? This video frame then would be a picture.

I've looked through the classes of phonon again but didn't find any class which is avaible of doing so. Maybe there's a way of using effects for this job but I'm afraid there is no easy way.

I hope I didn't tell you something wrong.
niraj2820
Registered Member
Posts
12
Karma
0
OS
@ LBL....yeah u understood it right. Actually i want to access a frame of a video file (say mpeg video file) in the form of a picture may be QImage or in any format.

@Mamarok: Actually i am working on a Video Annotation Tool Project where i need not only to playback the video but also to manipulate (like if i want to tag a person in a video , i need to get the frame first in the form of a picture ,pixmap,qimage ). That's why i need frame level access in any given video file (say mpeg or avi). Also I need to increase fps of the video as per my requirement. I hope nw u understood it well.


Open Source , Open Mind!!
User avatar
sandsmark
KDE Developer
Posts
64
Karma
0
OS
Yes,
niraj2820 wrote:Hi,

Can i access frame of the videos using phonon module available in qt4.5??

Niraj

Yes, using Phonon::Experimental::VideoDataOutput. Please look at for example the source code of MPlayerThumbs to see how it is used.


niraj2820
Registered Member
Posts
12
Karma
0
OS
thanks sandsmark,

i have another question....can i increase fps (frames per second ) of the video being played using phonon itself or else i will have to use underlying backend library to get this functionality??


Open Source , Open Mind!!
User avatar
sandsmark
KDE Developer
Posts
64
Karma
0
OS
niraj2820 wrote:thanks sandsmark,

i have another question....can i increase fps (frames per second ) of the video being played using phonon itself or else i will have to use underlying backend library to get this functionality??

I have no idea how, at least. I haven't played much with the video stuff in Phonon.


niraj2820
Registered Member
Posts
12
Karma
0
OS
hey sandsmark,
thanks anyway for the reply. Atleast your first reply has helped me much.


Open Source , Open Mind!!
niraj2820
Registered Member
Posts
12
Karma
0
OS
can i get phonon source code ??


Open Source , Open Mind!!
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
niraj2820 wrote:can i get phonon source code ??

Of course, it is available on Gitorious:

http://gitorious.org/phonon


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
niraj2820
Registered Member
Posts
12
Karma
0
OS
@mamarok : thanks a lot


Open Source , Open Mind!!


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]