Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxzz/rarsrt
Utility to combine .SRT subtitles with .MP4 files inside specified folders.
https://github.com/maxzz/rarsrt
mp4 srt subtitles typescript utility video
Last synced: about 1 month ago
JSON representation
Utility to combine .SRT subtitles with .MP4 files inside specified folders.
- Host: GitHub
- URL: https://github.com/maxzz/rarsrt
- Owner: maxzz
- Created: 2021-04-14T01:48:38.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-23T01:17:04.000Z (almost 2 years ago)
- Last Synced: 2024-12-11T13:43:17.907Z (2 months ago)
- Topics: mp4, srt, subtitles, typescript, utility, video
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/rarsrt
- Size: 148 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### About
Utility to combine .SRT subtitles with .MP4 files inside specified folders.
### Installation
```npn -g i rarsrt```
or
```yarn global add rarsrt```
or build an executable file using [pkg](https://www.npmjs.com/package/pkg)
```yarn makebin```
### Usage
```rarsrt ```
### [SRT file format](https://en.wikipedia.org/wiki/SubRip)
```
1
00:02:16,612 --> 00:02:19,376
Senator, we're making
our final approach into Coruscant.2
00:02:19,482 --> 00:02:21,609
Very good, Lieutenant.3
00:03:13,336 --> 00:03:15,167
We made it.4
00:03:18,608 --> 00:03:20,371
I guess I was wrong.5
00:03:20,476 --> 00:03:22,671
There was no danger at all.
```[.SRT SubRip file format specification](http://forum.doom9.org/showthread.php?p=470941#post470941)
### [VTT file format](https://en.wikipedia.org/wiki/WebVTT) WebVTT
[WebVTT Standard on GitHub](https://github.com/w3c/webvtt)```
WEBVTT00:11.000 --> 00:13.000
We are in New York City00:13.000 --> 00:16.000
We're actually at the Lucern Hotel, just down the street00:16.000 --> 00:18.000
from the American Museum of Natural History00:18.000 --> 00:20.000
And with me is Neil deGrasse Tyson00:20.000 --> 00:22.000
Astrophysicist, Director of the Hayden Planetarium00:22.000 --> 00:24.000
at the AMNH.00:24.000 --> 00:26.000
Thank you for walking down here.00:27.000 --> 00:30.000
And I want to do a follow-up on the last conversation we did.00:30.000 --> 00:31.500 align:right size:50%
When we e-mailed—00:30.500 --> 00:32.500 align:left size:50%
Didn't we talk about enough in that conversation?00:32.000 --> 00:35.500 align:right size:50%
No! No no no no; 'cos 'cos obviously 'cos00:32.500 --> 00:33.500 align:left size:50%
Laughs00:35.500 --> 00:38.000
You know I'm so excited my glasses are falling off here.
```//G: 'srt file format wiki'
//G: 'vtt file format wiki'