Adding subtitles from .srt file C++ [closed]
Is there any way to add subtitles to the video from the .srt file? Excluding additional libraries like ffmpeg.
Is there any way to add subtitles to the video from the .srt file? Excluding additional libraries like ffmpeg.
Asked: 2020-11-25 09:20:23 -0600
Seen: 712 times
Last updated: Nov 25 '20
sure there is, those are just plain text files, you read it in, and use putText() to show it.
however, you seem to try to abuse a comuter-vision library to build some media player, which makes this question off-topic.
...and OpenCV doesn't have its own codecs, it uses 3rd party libraries...so you cannot avoid dependencies to other libraries.