petzku / aegisub-scripts Goto Github PK
View Code? Open in Web Editor NEWpetzku's Aegisub automation scripts
petzku's Aegisub automation scripts
Output from util.io.run_cmd
includes the command prompt on Windows, e.g.:
C:\Users\dad\AppData\Roaming\Aegisub\log>ffmpeg -i G:\e.mp4 -f rawvideo -pix_fmt rgb24 -
[actual output starts here]
This makes it impossible (or at least unreasonably difficult) to use things from stdout, as there's no way of telling where the actual data starts.
Test script that demonstrates the problem, and its outputs. ffmpeg_out
is what it should output (and what ffmpeg does if writing to a file), and petzku_out
is what it actually outputs. You'll probably want to use the small test video so you don't fill your drive if you run it yourself (it outputs raw video).
Would prefer to have it fixed here, and not have to do if windows this else that
, but if it's not feasible I'll manage.
cc @Zahuczky
Add an option for the script to add a new time (beginning and end of the line) to the move tag. This is convenient for some signs.
[file] Cannot open file 'E:\Anime\Fansubbing\Git Repositories\Kaleido-subs\The-World-Ends-With-You\01\「すばらしきこのせかい The Animation」PV第2弾-XY5ybJ7OEA4.mkv': No such file or directory
Failed to open E:\Anime\Fansubbing\Git Repositories\Kaleido-subs\The-World-Ends-With-You\01\「すばらしきこのせかい The Animation」PV第2弾-XY5ybJ7OEA4.mkv.
[encode] no data written to target file
Exiting... (Interrupted by error)
When there are multiaudio (english-japanese) and I select japanese in aegisub, the script takes the first one (in that case english)
It is likely that I did not understand how this script works but when in doubt I write the problem.
Technically it should create sequences based on the selected times using MPV (which I put in the feedDump folder) latest version for windows.
Whether you use RAW or subtitle mode he exports the clip with subs overlayed.
Failed to open D:\Mux[Ñ] 027.mkv.
[encode] no data written to target file
Exiting... (Interrupted by error)
PD. FIX: https://discord.com/channels/131816223523602432/710562732973490238/872225912387690527
Happens on 23.976 fps videos, not on 30 fps. Probably need to test other framerates.
Files will contain the last frame, but some players (especially web-based ones) seem to not show it. MPC-HC does (even when looping to start), mpv does not mpv skips to the next file just before the last frame if a playlist is loaded, but shows the frame if there is no next video and keep-open
is not no
. Browser video players seem to pause before the last frame. Probably an issue with file timestamps.
Sample file and last two frames:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.