PDA

View Full Version : Retrieval of frame rate in Phonon.



Theo Adams
21st May 2008, 13:31
Hello Everyone,

I'm currently using the Phonon plugin within Qt4.4 for video playback (which seems to work fine).

The mediaObject has a method to inquire the totalTime() of the video; and it has a seek() method in order to jump to a certain frame.

However, the seek() method is time based. This means that selecting a specific frame, or browsing through each frame separately is only possible when knowing the frame rate of the particular movie.

Does anyone know whether it's possible to inquire the frame rate of a mediaObject?
Or the total number of frames?

Kind regards,
Theo Adams

linus
16th March 2010, 13:41
Hi,

Did you solve your problem? I have the same :).

Markus
6th July 2010, 20:00
Hi All,

Is there a solution for this?
I looked at the metaData() but it does not contain anything about fps.

Thanks
Markus