Results 1 to 3 of 3

Thread: Retrieval of frame rate in Phonon.

  1. #1
    Join Date
    May 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Retrieval of frame rate in Phonon.

    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

  2. #2
    Join Date
    Mar 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Retrieval of frame rate in Phonon.

    Hi,

    Did you solve your problem? I have the same .

  3. #3
    Join Date
    Feb 2010
    Location
    Los Angeles
    Posts
    61
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Retrieval of frame rate in Phonon.

    Hi All,

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

    Thanks
    Markus

Similar Threads

  1. QT 4.4 / Phonon / Video / Rendering a single frame
    By rextr in forum Qt Programming
    Replies: 10
    Last Post: 5th January 2011, 13:47
  2. Change frame rate
    By superutsav in forum General Programming
    Replies: 1
    Last Post: 3rd August 2006, 21:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.