almalence / OpenCamera

Open camera project - multi-functional camera application for android.
Other
1.11k stars 417 forks source link

Video timecode subtitles do no split with 4GB file split #95

Open timmb opened 3 years ago

timmb commented 3 years ago

CONTEXT:

There is a helpful feature to timestamp video files by writing a separate SRT subtitle file with timestamps in the subtitles.

CURRENT BEHAVIOUR:

On a long video, the output file is split at 4GB and a new video file is written. However the subtitles continue to be written to the original SRT file. As a result, there is no timecode subtitle file written out for the additional files after the first 4GB video file.

EXPECTED BEHAVIOUR:

I would expect that when the 4GB split point is reached and a new video file is started then a new SRT file is also started, with the same base filename as the video file.