GithubHelp home page GithubHelp logo

Comments (3)

elonen avatar elonen commented on June 10, 2024

Showing an SRT wouldn't technically be very difficult.

The bigger question is, how the UI/UX should support this feature.
For example, how would you attach an SRT to a video, should there be multiple ones and if so, how to switch between them; would you have to change font/size/color, how should commenting and annotation drawings interact with the texts etc etc.

Do you have ideas / opinions on these?

from clapshot.

Manuel5cc avatar Manuel5cc commented on June 10, 2024

I think for the visualization it should be enough to render the subtitles in white with a black shadow or background to ensure visibility in all situations.
As for the UI, probably it's not necessary to support several subtitles with one same video, as normally you'd need to have separate videos for every language (to adapt lower thirds, etc.) and it's also usually reviewed by different people. A simple on/off switch should do it. The review process itself can be comment-time based as well.
The identification is normally based in the filename, video players recognize the language following this scheme:

name.of.the.video.mp4
name.of.the.video.en.srt
name.of.the.video.es.srt

I'm not sure how this could work in a web player environment, but the uploads could be handled with the same system that is already in place, making sure that the file ends up in the same folder.

from clapshot.

elonen avatar elonen commented on June 10, 2024

Subtitles implemented in master.

from clapshot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.