| description | Converts between Subtitle/Lyrics formats (webvtt/srt/lrc) |
| owner | Niki Roo |
| last change | Sat, 6 Jul 2024 14:21:41 +0000 (16:21 +0200) |
English Français
Converts between Subtitle/Lyrics formats (webvtt/srt/lrc).
nsub --helpnsub (--from FMT) (--to FMT) (--apply-offset) (–output OUT) (IN)nsub (-f FMT) (-t FMT) (-a) (-o OUT) (IN)This program is a very simple thing.
It just converts between different subtitle/lyrics formats.
It does not require external libraries.
(I.E., I needed to convert some files and was surprised to see that it was not available via apt-get install.)
LRC lyrics files: usually distributed with musicSRT SubRip subtitle files, usually distributed with filmsWebVTT Web Video Text Tracks, a new W3C standardNote: the in/out formats will be guessed from the extension if needed/possible Note: to specify a file named dash (-), prefix it with a path (e.g., ‘./-’)
Just run make.
You can also use those make targets:
make doc: build the Doxygen documentation (doxygen required)make man: build the man page (pandoc required)make install PREFIX=/usr/local: install the program into PREFIX (default is /usr/local) and the manual if builtmake uninstall: uninstall the program from the given PREFIXmake clear: clear the temporary filesmake mrpropre: clear everything, including the main executable and the documentationmake test: build the unit tests (check required)make run-test: start the unit testsmake run-test-more: start the extra unit tests (can be long)NSub was written by Niki Roo niki@nikiroo.be
| 17 months ago | master | shortlog | log | tree |