Forum

Can I add subtitles directly to the video?

Liemtt 2021-07-13 03:33:02 UTC in Nimble Streamer

Hi,
With Nimble Transcoder, I can forward subtitles to output stream, but I want to add subtitles directly to the video. Could you help me to do it. Thank you

Alexander 2021-07-13 06:46:44 UTC 

Hello, Sir,

Nimble itself has no feature to add/produce subtitles for a live stream on the go.

For VOD, you can place subtitles next to the media file. More details:
https://blog.wmspanel.com/2016/08/vod-subtitles-webvtt-srt-ttml-support.html

Thank you.

Lemtt 2021-07-13 07:57:35 UTC 

Thank you very much

Ladislav Ruzicka 2021-08-09 20:28:50 UTC 

Hi, I have the same question. I am using overlay function in ffmpeg for insert subtitles directly into video. You have overlay implemented. Are you thinking about this addon?

Sergei 2021-08-10 02:49:57 UTC 

Hello, Ladislav.

Could you clarify your use case? Do you mean adding subtitles to Live stream or VOD? What subtitles format are you referring to?

Transcoder doesn't support VOD and as Alexander already mentioned a method for adding subtitles for VOD.

As for Live Streams, CEA-708 or DVB subtitles passthrough supported as described on the following documentation pages:
https://blog.wmspanel.com/2017/02/forward-cea-708-subtitles-nimble-transcoder.html
https://blog.wmspanel.com/2019/09/process-dvb-subtitles-nimble-transcoder.html

Inserting subtitles from the file to Live stream is not supported at the moment.

Thank you.

Ladislav Ruzicka 2021-08-10 12:41:11 UTC 

Hi, I have multicast input and multicast output. DVB-subs passthru is working correctly. I tested it. But I use this streams for my IPTV HLS, DASH streamers, where I cannot use dvbsubs. Therefore I am using overlay and insert subtitles directly to video. It has pros and minus, but it has more pro for me.
I know, that you do not support it now. I am asking, if you will add this function in future?

Ladislav Ruzicka 2021-08-10 15:27:06 UTC 

ffmpeg -i udp://239.250.5.153:1234 -filter_complex "[0:v][0:s:1]overlay=main_w/2-overlay_w/2:main_h/2-overlay_h/2" -map 0:v -map 0:a:0 .....

Sergei 2021-08-10 23:54:48 UTC 

Thank you for the explanation, Ladislav.
We do not have plans for this feature in the near future, unfortunately.

Post a reply


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.