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

Qt6 Multimedia - Unable to Retrieve the "Title" of a Track

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • 6.2
    • 6.2.0
    • Multimedia
    • None
    • Android
    • 2021wk42POAndroid&Mobile, 2021wk44POAndroid&Mobile

    Description

      Kit: Android Qt 6.2.0 Clang armeabi-v7a

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

      The goal is to parse the above video to list the audio track titles using MediaPlayer QML Type. 

      The input video has got 6 audio tracks, each with a "Title" metadata.

      The VLC Media Player correctly shows the titles (please see screenshot below).

       

      I used the below code in QML to retrieve the TITLE metadata for each of the audio tracks. But it returns blank. 

      onAudioTracksChanged: {
          console.log("onHasAudioChanged: ", audioTracks.length) //#tracks (PASS)
           //get audio track list
           audioTracks.forEach(function (audioTrack, index) {
               console.log("audioTrack1: ", audioTrack.stringValue(0)) //title (FAIL)
           });
       }
      

      However, the LANGUAGE metadata is returned correctly

      console.log("audioTrack1: ", audioTrack.stringValue(6)) //language
      

       

      Can you please confirm this is a bug or if there are any workarounds? 

       

       

      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