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

Add Example in Readme for the tool/resampleres macro #3

Open
HG3112 opened this issue Feb 2, 2024 · 0 comments
Open

Add Example in Readme for the tool/resampleres macro #3

HG3112 opened this issue Feb 2, 2024 · 0 comments

Comments

@HG3112
Copy link

HG3112 commented Feb 2, 2024

I'm looking for an automated cli tool to resize/crop/add margin to .ass subtitle files. Aegisub seem to do a good job via GUI.

However I'm not able to configure the resampleres box via CLI, which has been introduced in latest pre-release. From tkarabela/pysubs2#29 it seems that "Aegisub's resolution resampler is implemented in C++ and is not exposed in its Lua API", so I do not know where to find control name strings for --dialog config, as well as a lua file for --automation

For test/info I run the following command line (windows 10)

aegisub-cli --loglevel 4 input.ass out.ass tool/resampleres

and in the last line i get

> [main] Fatal error while initializing: No video loaded

which is probably an exception from resolution_resampler.cpp (line 234)

A command line example to start with could probably solve my problem.

Thanks
HG

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

No branches or pull requests

1 participant