SRT files timecodes not importing properly

Open
#238 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
content

Research direction

No source file, test, or entry point is identified in the report. Reproduce the problem with the attached SRT and a video starting at 00:59:50:00, compare Subtitle Edit's imported and exported timecodes with EZ Titles or Premiere, and consider the issue resolved when timecodes and subtitle durations remain correct before 01:00:00:00.

Written by the indexing model from the issue text.

Description

Hello,
Issue: SRT files do not maintain correct timecode when imported into subtitle edit.

Steps:

SRT files are in sync within EZ titles (confirmed by importing into premiere and they sync properly)

However, when importing them into Subtitle Edit (video offset is set accordingly) the timecodes and duration for all subtitles are tweaked (start late)

I've also tried exporting with diff options from EZ titles but they always import with the wrong timecodes and duration

Another change of timecodes and duration happens when exporting the SRT from Subtitle Edit. This change does not match the timecodes and durations shown within subtitle edit

Additional note from running tests is that this appears to happen only when the starting timecode of the video is before 01:00:00:00. If the video starts at the hour the SRT maintains the correct timecode

In this case the video starts at 00:59:50:00. This issue is present on various computers and users and we cannot seem to find a solution, thanks much in advance for any assistance!

Attached you will find:

  • SRT file where this issue is present
  • Screenshot of first subtitle timecode in EZ titles
  • Screenshot of first subtitle timecode in Subtitle Edit (wrong timecode)
  • Screenshot of System information and EZ titles
  • Screenshot of Subtitle Edit about
Screenshot 2023-11-30 at 9 39 03 PM Screenshot 2023-11-30 at 9 43 48 PM Screenshot 2023-11-30 at 9 45 39 PM [TARA_10_DB_SUPERSET_SHOULDERS_VIDEO_REF_TC_FV_2398FPS_V1_spg44847_enEN_SUBS_V1.srt.zip](https://github.com/SubtitleEdit/plugins/files/13521502/TARA_10_DB_SUPERSET_SHOULDERS_VIDEO_REF_TC_FV_2398FPS_V1_spg44847_enEN_SUBS_V1.srt.zip) Screenshot 2023-11-30 at 10 48 39 PM
Dominant language
C#
Stars
137
Forks
48
Avg merge
5m
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SubtitleEdit/plugins

All issues in SubtitleEdit/plugins

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.