cdown / srt

A simple library and set of tools for parsing, modifying, and composing SRT files.
MIT License
465 stars 44 forks source link

Can i use linear timeshift two reduce end timestamp only #80

Closed OilSubjectLoss7 closed 2 years ago

OilSubjectLoss7 commented 2 years ago

I wanna shave off some miliseconds in all of end timestamps without touching the start times I still donct understand how to use linear timeshift

cdown commented 2 years ago

If you want to keep the same time, then currently you can just pass the same --t1 and --f1 time. I'd also accept a PR to allow implicitly allowing one side of --tN/--fN to be ommitted.

cdown commented 2 years ago

That said, if you want to shave timestamps without touching the start times, linear-timeshift won't help you here. There are no tools right now in srt_tools which can do this, you'd need to write one yourself using the library.