Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
6.2.0
-
None
-
-
2021wk42POAndroid&Mobile
Description
Kit: Android Qt 6.2.0 Clang armeabi-v7a
Video Source: https://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
- relates to
-
QTBUG-97403 Qt6 Multimedia: Audio Track Switching in Network Media Files is Not Smooth
-
- Closed
-
- mentioned in
-
Page Loading...