Comments (3)
What is actually missing is parsing the html tags in .srt
(and other formats as well) and writing them in .vtt
(and other formats as well).
I won't have time to work on this anytime soon but I'm welcoming PRs. I can point towards the proper direction 👍
from go-astisub.
What is actually missing is parsing the html tags in
.srt
(and other formats as well) and writing them in.vtt
(and other formats as well).I won't have time to work on this anytime soon but I'm welcoming PRs. I can point towards the proper direction 👍
I see, well i have some javascript code that does srt to vtt with styles as a starting point, but im far from a go dev. How complicated would this be in go?
from go-astisub.
Regarding parsing html tags in .srt
we'd have to:
- add a
parseTextSrt()
method similar to parseTextWebVTT
Regarding writing htmk tags in .srt
we'd have to:
- add a
(li LineItem) srtBytes() (c []byte)
method similar to webVTTBytes
from go-astisub.
Related Issues (20)
- clean up go.sum
- func formatDuration has a bug will to output wrong result HOT 4
- Add support for linear correction HOT 2
- DVD Studio Pro reader and writer
- iTunes Timed Text reader and writer
- not support .ass file? HOT 4
- Populate originalEpisodeTitle and originalProgramTitle for STL file convertion HOT 4
- Can go-astisub parse HDMV/PGS subtitle? HOT 1
- convert ass subtitle contains more than one language to vtt fail HOT 6
- Can't change fontColor for STL file HOT 2
- TTML text parsing issues with new lines HOT 2
- What to expect to be supported by ttml parser? HOT 5
- Support AddItem(s) and RemoveItem(s) HOT 2
- Handle dot as well for SRT files HOT 1
- Subtitles.go String() - why are subtitle lines joined with a " - ", instead of a new line ("\n")? HOT 3
- Escape problem when convert from other formats to VTT, and from VTT to other formats HOT 11
- Example usage ReadFromSRT in the README is incorrect HOT 4
- The indexes always are zero (v0.26.1 only) HOT 2
- Timestamp tag regression in 0.26.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-astisub.