Video with Subtitle

Ask the community or our support engineers for answers to questions.
How can we show video with subtitles in streamlit?

Hi @Mahendra-Chouhan, welcome to the Streamlit community!

I’m not too familiar with how subtitles are created, but are these embedded in the video? If so, then it would be like displaying any other video, st.video

@randyzwitch thanks for your reply. I have checked the st.video It does not have an option to pass subtitle files in the argument.

Do you have any options? or plan to add this feature in the upcoming release?

Ah okay, I didn’t realize that subtitles were passed as separate files. I’ve opened a feature request for this:

Thanks, @randyzwitch for the feature request. It will be a great feature for multiple language translations in which end-user can change subtitles as per the preferred language.

1 Like