We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can the framerate be set when this line results in the mentioned error? subs.save(file_name, format_="microdvd", fps=24)
subs.save(file_name, format_="microdvd", fps=24)
The text was updated successfully, but these errors were encountered:
@tin2tin Can you describe the problem in more detail? I don't see what the issue is:
from pysubs2 import SSAFile, SSAEvent, make_time subs = SSAFile() subs.append(SSAEvent( start=make_time(s=0), end=make_time(s=10), text="First subtitle" )) subs.append(SSAEvent( start=make_time(s=10), end=make_time(s=20), text="Second subtitle" )) subs.save("test.sub", format_="microdvd", fps=24)
Results in file:
{0}{0}24 {0}{240}First subtitle {240}{480}Second subtitle
Sorry, something went wrong.
No branches or pull requests
How can the framerate be set when this line results in the mentioned error?
subs.save(file_name, format_="microdvd", fps=24)
The text was updated successfully, but these errors were encountered: