Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASS Conversion & styling #9

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

ASS Conversion & styling #9

wants to merge 7 commits into from

Conversation

Noxyntious
Copy link
Collaborator

this PR adds very basic ASS conversion with minimal formatting, only background color as of now
executed with --format ass in cmdline

some of this code might be extremely messy

@korewaChino
Copy link
Member

love yourself

@korewaChino korewaChino linked an issue Feb 11, 2025 that may be closed by this pull request
@Noxyntious
Copy link
Collaborator Author

thank you

@Noxyntious Noxyntious changed the title Basic ASS conversion ASS Conversion Feb 15, 2025
@Noxyntious
Copy link
Collaborator Author

Noxyntious commented Feb 15, 2025

with the commit above, ASS styling is pretty much 99% done
only issue remains that a font size is the same for one paragraph, as it doesn't recognize multiple pen IDs in one line, only one pen ID

YTSC:
Dialogue: 0,0:00:45.06,0:00:45.26,YTGlow,,0,0,0,,{\an5\pos(640,643.392)\fnTimes New Roman\fs55.765}so there {\fs60.8}aren’t, {\fs55.765}there {\fs60.8}aren’t {\fs68.4}any people {\fs58.235}here.

YTTML:
Dialogue: 0,0:00:44.86,0:00:45.06,YTHardShadow,,25,25,15,,{\an5\pos(640.000,643.392)\3c&H000000\1c&HFEFEFE\fnTimes New Roman\fs56}​​​ ​so there​aren’t,​there​aren’t​any peoplehere.​ ​​

@Noxyntious
Copy link
Collaborator Author

fixed
image

@Noxyntious Noxyntious linked an issue Feb 15, 2025 that may be closed by this pull request
@Noxyntious Noxyntious changed the title ASS Conversion ASS Conversion & styling Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ASS Styling ASS Conversion
2 participants