8000 GitHub - gutioliveira/srtAdjuster: A simple ( way too simple ) srt subtitle adjuster written in C++.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gutioliveira/srtAdjuster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

srt Adjuster

Simple time adjuster for subtitles on .srt format.

Dependencies

  • G++ Compiler
  • Linux ( or use the correspondent commands on Windows )

How to use

First, you will need to compile the source code:

g++ -o name_of_the_executable srt_adjuster.cpp

Then, you need to run the following command.

cat subtitle_you_want_to_adjust.srt | name_of_the_executable time_to_adjust > subtitle_adjusted.srt

and time_to_adjust needs to be a integer or a double with a precision up to 3 decimal places.

Negative to advance and Positive to delay.

Example

g++ -o srtAdjuster srt_adjuster.cpp
cat Les.Revenants.S02E01.FRENCH.HDTV.x264-LiBERTY.srt | srtAdjuster 5.333 > lesRevenants.srt
cat Les.Revenants.S02E01.FRENCH.HDTV.x264-LiBERTY.srt | srtAdjuster -5.333 > lesRevenants.srt

About

A simple ( way too simple ) srt subtitle adjuster written in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0