virgoerns/subconvert — Issue #10: No ending time
Author: virgoerns
Created: 2011-11-16 15:53:32+00:00
State: open

Manage situation when no end time is provided in subtitle. In that case end time should be next subtitle start time - some time delta or at least another time delta if subtitle is the last one. The task is to figure out those time deltas (and implemantation as subtitles are yielded - buffer of two maybe?).

It is necessary to provide some end time (even if there is none provided by subtitle) because some formats (like subrip) have subtitle end time mandatory. The task is also how to convert those time deltas to FrameTime with a single, simple, common approach.

Some ideas about those time deltas:

```end1 = 0.9 * (start2 - start1)```
```end_last = start_last + 2 secs (* fps in frame format)```