Adding subtitles from .srt file C++ [closed]

asked 2020-11-25 09:20:23 -0600

Is there any way to add subtitles to the video from the .srt file? Excluding additional libraries like ffmpeg.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by berak
close date 2020-11-25 09:24:30.729509

Comments

1

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.

berak gravatar imageberak ( 2020-11-25 09:26:19 -0600 )edit

...and OpenCV doesn't have its own codecs, it uses 3rd party libraries...so you cannot avoid dependencies to other libraries.

kbarni gravatar imagekbarni ( 2020-11-25 10:31:12 -0600 )edit