Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48057

QML Video seek broken on OSX

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.5.0
    • Multimedia
    • None
    • Darwin Hemants-MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
    • macOS
    • bede0a838ddafadafc400f20c00a687e753ea638

    Description

      I am using following code to seek to a particular position:

          console.log("Video is " + video.seekable);
          var seekPosition = (parseFloat(values.position)*60*1000).toFixed();
          var duration = (parseFloat(values.duration)*60*1000).toFixed();
          console.log("Seeking to position :" + seekPosition + " duration :" + duration);
          video.seek(seekPosition);
          cartoonTimer.interval = duration;
          cartoonTimer.triggered.connect(function(){
            video.stop();
            cartoonTimer.stop();
          });
          cartoonTimer.start();
          video.play();
      

      And although video is seekable, the video always starts playing from the beginning. The same code seems to be working just fine on Linux using gstreamer backend. I am using mp4 videos fwiw.

      Attachments

        For Gerrit Dashboard: QTBUG-48057
        # Subject Branch Project Status CR V

        Activity

          People

            ylopes Yoann Lopes
            gnufied Hemant Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes