All Projects → nilaoda → Mp4SubtitleParser

nilaoda / Mp4SubtitleParser

Licence: other
从 mp4 中提取 wvtt/ttml 字幕. Extract embed wvtt/ttml subtitle in mp4.

Programming Languages

C#
18002 projects

Labels

Projects that are alternatives of or similar to Mp4SubtitleParser

JB2A DnD5e
Templates of spells from the DnD5e ruleset (SRD and PHB), to use on FoundryVTT
Stars: ✭ 28 (-3.45%)
Mutual labels:  vtt
ttconv
Subtitle conversion. Converts STL, SRT, TTML and SCC into TTML, WebVTT and SRT.
Stars: ✭ 88 (+203.45%)
Mutual labels:  ttml
vtt-creator
Very basic Node.js/JavaScript library to generate VTT open subtitles files
Stars: ✭ 22 (-24.14%)
Mutual labels:  vtt
togetherness
A virtual and 🕊liberated🕊 tabletop. Make, play, and share your tabletop games with dice, cards, tokens, and more.
Stars: ✭ 32 (+10.34%)
Mutual labels:  vtt
VTT-to-SRT-Converter
Convert WebVTT subtitles to SubRip.
Stars: ✭ 29 (+0%)
Mutual labels:  vtt
youtube-vtt
▶️ Extract and save WebVTT closed caption tracks from YouTube videos
Stars: ✭ 32 (+10.34%)
Mutual labels:  vtt
ccaptioner
An extension to assign a text track to a video element in a web page
Stars: ✭ 45 (+55.17%)
Mutual labels:  vtt
Hulusubs dl
Command line script that downloads subtitles from hulu.com
Stars: ✭ 42 (+44.83%)
Mutual labels:  vtt
Elgindy-VTT-to-SRT-Subtitle-Converter
A tool for converting Web Video Text Tracks Format (WebVTT) subtitle to srt one. As most of video players support srt subtitles and can't open vtt subtitles, We should convert vtt to srt or sub subtitles but it's not easy to do that.
Stars: ✭ 68 (+134.48%)
Mutual labels:  vtt
subtitles
Go library and command-line tools for manipulating .srt, .vtt and .ssa subtitles
Stars: ✭ 27 (-6.9%)
Mutual labels:  vtt
Dungeoneer
A game master helper tool, includes a virtual tabletop, initiative tracker, combat tracker and homebrew management for Dungeons and Dragons 5e.
Stars: ✭ 106 (+265.52%)
Mutual labels:  vtt
forbidden-lands-foundry-vtt
This is a Forbidden Lands game System for the Foundry Virtual Table Top. Made by @Perfectro, @patrys and @aMediocreDad. Maintained by @aMediocreDad, @narukaioh
Stars: ✭ 28 (-3.45%)
Mutual labels:  vtt
srt-to-vtt-converter
A simple application for quickly converting subtitle files from SubRib (.srt) format to WebVTT (.vtt) format.
Stars: ✭ 56 (+93.1%)
Mutual labels:  vtt
libgosubs
golang library to read and write various subtitle formats
Stars: ✭ 20 (-31.03%)
Mutual labels:  ttml

Mp4SubtitleParser

Program to extract embed wvtt/ttml subtitle in mp4.

Translated from shaka-player project.

python/js prj: https://github.com/xhlove/dash-subtitle-extractor

how to split single-file

"C:\Bento4-SDK-1-6-0-639.x86_64-microsoft-win32\bin\mp4split.exe" single-file.mp4

usage

Mp4SubtitleParser <segments dir> <segments search pattern> [output name] [--segTimeMs=SEGMENT_DUR_IN_MS]

wvtt example

│ Mp4SubtitleParser.exe
└─samples-vtt
        init.mp4
        segment-1.0001.mp4
        segment-1.0002.mp4
        segment-1.0003.mp4
        segment-1.0004.mp4
        ...
Mp4SubtitleParser.exe samples-vtt *.mp4

you got output.vtt

TTML example

│ Mp4SubtitleParser.exe
└─samples-ttml
        init.mp4
        segment-1.0001.mp4
        segment-1.0002.mp4
        segment-1.0003.mp4
        segment-1.0004.mp4
        ...
Mp4SubtitleParser.exe samples-ttmls *.mp4

you got output.ttml and output.srt

time offset for TTML

in that case, every segment's basetime is 00:00:00.000...

sample

(put any ttml init.mp4 to the folder, so program can recognize ttml header)

Mp4SubtitleParser.exe "samples-ttml(no init, need offset)" *.mp4 --segTimeMs=60000

segment-01 will add offset +0s
segment-02 will add offset +60s
segment-03 will add offset +120s
...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].