How to provide SRT file to QMediaPlayer
-
HI,
Is there any way to provide SRT file to QMediaPlayer for subtitles. Thanks. -
Afaics this is not yet supported.
-
I have manually added Subtitles support in my QT app. thanks.
-
S Sikander Rafiq has marked this topic as solved on
-
N Nhan Nguyen moved this topic from General and Desktop on
-
I have manually added Subtitles support in my QT app. thanks.
@Sikander-Rafiq said in How to provide SRT file to QMediaPlayer:
I have manually added Subtitles support in my QT app
Would you be so kind as to share some clues about how you did it?
I'm building a PySide6 app for editing/translating subtitles,
using libmpv to display the video with subtitles.
But my app has to save a whole SRT file just to show
one freshly-edited subtitle (even when the video is paused).So I'd be interested to know how to make a text overlay
that can show text on a video (playing as well as paused).I suspect that you used a text overlay, as I could not see any other way to do it, last time I looked (maybe a year ago).
Edit: I hope you meant Qt (cute), not QT (cue tee),
as I'm not interested in Apple QuickTime. ;)