Results 1 to 2 of 2

Thread: how to display video at a certain time?

  1. #1
    Join Date
    Nov 2011
    Karlsruhe, Germany
    Qt products
    Qt4 Qt5
    MacOS X Windows

    Default how to display video at a certain time?

    I am new here, recently have posted some questions and got lots of help from here.

    Thank you all.

    Now I faced a new question again.

    I have several video files and I would like to display one and another.

    for example, video1 have displayed till 1:32 and stopped playing, and video2 begins from his 1:32, then after video 2 plays till 3:40, then it stopped, video3 begins playing at his 3:40.

    Let's assume that these 3 video files have the same length of display time.

    so, from QT, I have no idea how to implement this problem.

    Thank you for your help

  2. #2
    Join Date
    Nov 2011
    Qt products

    Default Re: how to display video at a certain time?

    I hope someone can answer us, cuz i am looking for something similar.

    Could you get the duration of the video in any way?? Because i am creating my video with Phonon::videoWidget and Phonon::AudioOutput, attaching them to a mediaObject, but i can not find any mode to know the duration.

    I have found this class : qMediaPlayer

    but I haven't tested yet. Maybe you could find any help there.

    Also, I had some problems when i try to attach the videoWidget to the mediaObject with the path, I had to update my Qt version to 4.7.4. Be careful with that

    And please, i you find a solution, share with me

Similar Threads

  1. Replies: 2
    Last Post: 8th November 2011, 14:30
  2. In which component can I display video?
    By punkypogo in forum Qt Programming
    Replies: 4
    Last Post: 16th July 2010, 17:40
  3. How to display flash video on QHelp documentation
    By sebboh in forum Qt Programming
    Replies: 0
    Last Post: 21st June 2010, 17:29
  4. Replies: 1
    Last Post: 13th December 2009, 03:34
  5. Rendering real time video using SDL and QT
    By venk2ksubbu in forum Newbie
    Replies: 4
    Last Post: 13th September 2007, 16:20


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.