imrayya / SRTto3Dsubtitles

Changes a .srt subtitle file into .ass subtitle file while enabling it to work for 3D movies (HSBS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SRT subtitles to 3D subtitles

The problem

I wanted watch a movie with subtitle, like I always do, but the subtitles for the movie I have was traditional .srt while the movie I was watching was a 3D movie which was Half Side By Side (HSBS). The subtitles in question were centered which was very disorienting to read while watching the movie. The solution? Write my own program to convert it for me.

Convert

Currently just a command line program to convert a .srt subtitle file to an .ass subtitle file while making it compatible with the HSBS format. Either drag the SRT file on the .exe to convert the .srt file or run the command SRTto3D.exe [insert your file name here] and the program will convert it. Word of warning, the program will strip off any positional data off the srt. It will also likely fail with .srt file that contain a positional information.

Features

Basically nothing right now

  • Convert a .srt to an .ass/.ssa
    • For HSBS media
    • For Side By Side (SBS) media
    • For Over Under (OU) media
    • For Anaglyph 3D media (red and green media)
    • For traditionally media (pancake mode).
      • I suggest to just use ffmpeg for this use case
  • Convert formatting of .srt subtitles to transfer to the converted version
    • Convert positional data of .srt subtitles
  • Add changes which allows custom:
    • Font
    • Color
    • Position
    • Margins
    • Encoding
  • Add a proper GUI
  • Any form of error handling or unit testing

Known Issues

For some reason that I have yet to understand, Plex Transcoder doesn't not like the converted subtitles (it has a weird issue) but it works perfectly in VLC

Warning

The code is a complete and utter mess with very little comments in it. This was meant to be a private project and I haven't had the chance to clean it up yet.

About

Changes a .srt subtitle file into .ass subtitle file while enabling it to work for 3D movies (HSBS)

License:MIT License


Languages

Language:C# 100.0%