mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
* craft-captions: MP4 timed text sample codec (mov_text / tx3g) Add 3GPP TS 26.245 timed text subtitle sample decoding and encoding, modifier box parsing (styl, hlit, hclr, krok, dlay, href, tbox, blnk, wrap), markup conversion and tx3g sample entry configuration under feature mov-text. Closes #1555. * craft-captions: address reviews on mov_text formatting, twrp, and timescales. --------- Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
31 lines
1.0 KiB
TOML
31 lines
1.0 KiB
TOML
[package]
|
|
name = "craft-captions"
|
|
description = "Caption and subtitle files behind one neutral model: SubRip, WebVTT, Scenarist SCC, MacCaption MCC, EBU STL and TTML/IMSC1/DFXP readers and writers with exact time, and CEA-608/708 coding"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
# MP4 timed text (3GPP TS 26.245 / mov_text / tx3g) sample codec.
|
|
mov-text = []
|
|
|
|
[dependencies]
|
|
craft-timeline = { workspace = true }
|
|
craft-xml = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
proptest = { workspace = true }
|
|
# A second XML reader for the tests: checks of written TTML, and the comparison in tests/it/ttml_xml_views.rs.
|
|
roxmltree = "0.21"
|
|
# ffmpeg as the reference for the ASS tests (tests/it/ass.rs).
|
|
craft-media-testkit = { workspace = true }
|
|
# craft-media isobmff for mov_text oracle demuxing/muxing tests.
|
|
craft-media = { workspace = true, features = ["isobmff"] }
|