12 Commits

Author SHA1 Message Date
Imrayya fb75071c44 Merge pull request #2 from kaiju466/feature/kaiju466/add-cli-options-and-3d-mode
feat: add CLI options and support SBS/OU/Anaglyph + experimental GUI
v0.13.0
2026-06-24 14:46:32 +07:00
Emrick, Joshua 580c0a534d Merge branch 'feature/kaiju466/add-cli-options-and-3d-mode' of https://github.com/kaiju466/SRTto3Dsubtitles into feature/kaiju466/add-cli-options-and-3d-mode 2026-06-15 10:00:27 -04:00
kaiju466 ea0574ffb2 Update README.md 2026-06-15 09:56:57 -04:00
Emrick, Joshua 5e4e907a2c Add resolution-aware subtitle scaling and configurable layout defaults
- replace fixed RG subtitle bottom positioning with resolution-scaled Y offset
- add centralized ScaleX, ScaleY, and ScaleFont helpers
- scale RG horizontal eye offset based on output width
- scale font size, SBS margins, and OU margins based on output/base resolution
- change default baseline behavior from legacy 384x288 to tunable base resolution
- add BaseResX/BaseResY options with 1280x720 defaults
- add CLI options for:
  - --baseresx
  - --baseresy
  - --bottomoffset
  - --sbssidemargin
  - --outopmargin
  - --verticalmargin
- replace remaining layout magic numbers with configurable options:
  - BottomOffset
  - SbsSideMargin
  - OuTopMargin
  - VerticalMargin
  - FontSize
  - OffsetX
- preserve original numeric defaults for layout settings when not specified (based off of my personal experiences and preferences.
- update WinForms designer to expose new converter settings
- update WinForms code-behind to pass new options to Converter.Main
- prefill GUI controls with converter-aligned default values
- improve mode-based UI enable/disable behavior for SBS, OU, and RG settings
- prepare shared-defaults approach via ConverterDefaults for keeping GUI and converter defaults in sync
2026-06-15 09:50:26 -04:00
Emrick, Joshua 470e23291f feat: add red-green 3D mode and Windows Forms GUI
- add rg (red-green) anaglyph subtitle mode with configurable horizontal offset
- extend CLI mode handling to support sbs, ou, and rg
- add offsetx option for anaglyph subtitle positioning
- add Windows Forms GUI project for configuring and running conversions
- add file pickers for input/output paths in the GUI
- add GUI controls for mode, resolution, font size, and offset
- add status output and mode-aware UI behavior in the GUI
- update mode selection handling to support user-friendly display labels
2026-06-09 11:16:53 -04:00
Emrick, Joshua 327bc071aa feat: add CLI options and support SBS/OU 3D subtitle modes
- add named CLI arguments for mode, resolution, font size, and output path
- support stereo modes: sbs (side-by-side) and ou (over-under)
- write output .ass files next to the input file by default
- add console logging, usage help, and argument validation
- update ASS style generation for SBS and OU layouts
- rename OU styles to Top and Bottom
- fix HTML font color conversion to proper ASS color ordering
- refactor runtime settings into an Options class

Side Note: As a hearing impared person, I love this project and am glad it exists and I dont have to start from scratch.
2026-06-09 09:34:24 -04:00
Imrayya 9d51c5f554 Merge pull request #1 from fabio-noga/utf8
Add UTF-8 support and small fix
2025-10-19 13:16:15 +02:00
Fábio Nogueira b3f9bfb074 Fix dialog line when it's a number & Fix new line
Fix dialog line when the dialog is just a number | Fix new line in dialog that happens on the same line
2025-10-16 18:51:28 +01:00
Fábio Nogueira 28f9e4f8f9 Add UTF-8 support and small fix
that j==1 comes from an issue found while using this where a subtitle would be just a number (for example "2025") and it would pass the int.TryParse(line, out int k) check. With j==1 it always knows that it should be a timestamp
2025-10-13 20:31:58 +01:00
Imrayya 4ef16453c2 Updated Readme
Spell check some stuff too
v0.11-alpha
2021-03-23 17:51:11 +01:00
Imrayya d32816489c Added translation of .srt formatting
Add support to translate bold, italic, underlining and font color (font color may be wrong, I have yet to test it extensively)
2021-03-23 17:50:09 +01:00
Imrayya 0efbecc80a Initial commit v0.1-alpha 2021-03-17 11:58:53 +01:00