Skip to content

SRT Files Encoding Issue (UTF-8 vs. UTF-8 BOM)Β #83

@mistersalem

Description

@mistersalem

I encountered an issue with SRT subtitles generated by WhisperS2T. While the subtitles appear correctly in some media players (e.g., VLC, MPV), they do not display properly in Adobe Premiere Pro. Instead, Premiere Pro shows only a single segment with a small portion of the first word.

After investigating, I found that the issue is related to character encoding. The generated SRT file appears to be encoded in UTF-8 with BOM, which causes problems in some software. When I manually re-save the file in UTF-8 without BOM using Notepad++, everything works correctly.

Would it be possible to add an option in whisper_s2t.write_outputs() to ensure that SRT files are saved as UTF-8 without BOM by default? This would prevent issues in software like Adobe Premiere Pro.

Thanks for your great work on WhisperS2T! πŸš€

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions