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

Qt6 Multimedia - Subtitle Track Switch is Slow for Remote Video Files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • 6.2
    • 6.2.0
    • Multimedia
    • None
    • Android
    • 2021wk42POAndroid&Mobile

    Description

      Kit: Android Qt 6.2.0 Clang armeabi-v7a

      Video Sourcehttps://bhaart.s3.ap-south-1.amazonaws.com/sri_ramachandra_kripalu.mkv

      Goal: The above video contains multiple subtitle tracks.   I want the user to be able to switch among the various subtitle tracks available, while the video is playing. I used the below code snippet for testing.

       

      Window {
          ...
          MediaPlayer { 
              id: mediaPlayer 
              ... 
          }
          VideoOutput { 
              id: videoOutput 
              anchors.fill: parent
              TapHandler { 
                  property int curTrack: -1
                  onSingleTapped: { 
                      mediaPlayer.activeSubtitleTrack = ++curTrack
                  } 
              } 
          }
      }
      

       

      Observations

       The subtitle track switch for a local media (on my phone) worked very well. The subtitle promptly changes to the new track for the 'next' timed text.  

       The user experience for the subtitle track switch for a remote media (e.g. https://bhaart.s3.ap-south-1.amazonaws.com/sri_ramachandra_kripalu.mkv) was not good. After performing the track switch, it takes over 30 seconds for the subtitles from the new track to appear. And if we switch the subtitle track multiple times then the results are very inconsistent. The subtitles sometimes never appeared even until the end of the 5 min video. 

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              samuelmira Samuel Mira
              kmurthyhegde Krishna Hegde
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes