Skip to content

SubtitleEdit/subtitleedit-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subtitle Edit cli

.NET 8 console subtitle converter for Windows, Linux, and Mac.

Code is based on SE 3.6.9, but should be updated with new subtitle formats from SE.

Imaged based formats/OCR was removed (only Blu-ray sup OCR is supported).

How to compile: dotnet build seconv.csproj

How to run: ./seconv <pattern> <name-of-format-without-spaces> [<optional-parameters>].

E.g.: ./seconv *.sub subrip - for more info see https://www.nikse.dk/subtitleedit/help#commandline

This was made due to SubtitleEdit/subtitleedit#3568


Build and run with Docker

Prerequisites

Install Docker + dotnet 8 SDK

Clone repository

git clone https://github.com/SubtitleEdit/subtitleedit-cli.git
cd subtitleedit-cli

Build

Reside in the root directory of the repository, then run:

docker build -t seconv:1.0 -f docker/Dockerfile .

This is a multi stage build. It first builds the application, then creates the docker image.

Run

Run conversion by executing e.g.:

docker run --rm -it -v $(pwd)/subtitles:/subtitles seconv:1.0 sample.srt pac

Parameters:

  • -v: Mount local subtitles directory.
  • sample.srt: input file or pattern. E.g. *.srt.
  • pac: output-format. E.g. pac, stl, srt, ass.

About

Subtitle Edit cli (without System.Drawing)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages