ichunjo / vardautomation Goto Github PK
View Code? Open in Web Editor NEWEncoding automation framework
Home Page: https://vardautomation.readthedocs.io/
Encoding automation framework
Home Page: https://vardautomation.readthedocs.io/
mkvmerge returns exit code 1 if a warning is thrown (see: docs). However, currently this forcibly halts the muxing in vardautomation, because it errors before it can actually output anything it appears (and consequently, no cleaning up can be run either).
There should be an additional check to catch the exit code, if possible, and let vardautomation know that it's a non-fatal error and it should otherwise continue (and maybe throw a warning if you want, such as the one stderr
should return).
Currently when passing externally indexed files (like for example dgi
or d2v
files), FileInfo2 will not include any audio. I'd like for there to be an automatic check in the pah
's directory for any externally demuxed audio.
My idea is as follows:
audios
is empty (ideally prior to trimming and whatnot)a_src
. If not, use the first file found.23Why the current implementation doesn't work
Right now, users can set an a_src
themselves. But that doesn't result in a usable audio node for previewing. So if for example you're processing an episode in a DVD that's not at the start, you'll get the episode 1 audio unless you load bas
yourself and handle all the trimming. Handling this automatically is much easier on the user, and falls within the scope of vardautomation's implementations.
Caveats
This implementation would probably not work well if the user passed an indexer that automatically indexed using dgindexnv (like for example a hypothetical future rewrite of lvsfunc.misc.source
), as it would instead try to use the file passed to that indexer to determine the audio situation. I don't know how to best handle that.
In the case of dgindex, the demuxed audio will often be called something like KIBA_91371 T80 2_0ch 48KHz 384Kbps DELAY 0ms.ac3
(where KIBA_91371.dgi
would be the input file), for example. ↩
This can also be changed to be the biggest file, or you could maybe set a hierarchy of what kinds of files would take priority with PCM at the top or something ↩
An alternative would be to add List[VPath] support to it, but that's probably a step too far. Might be something to look at in the future perhaps? ↩
BestAudioSource is discontinued as stated there. Its replacement is BestSource.
Waiting for official dll and stable release.
DLL provided on doom9 are still testing ones.
https://discord.com/channels/@me/599711298275770398/972537849524154378
Some unknown error can occur when running mkvmerge that can't be caught in a try/except clause. The final output is still being muxed, but it seems to throw an error when trying to exit, taking the entire process down with it.
Removing check=True
in tooling/base.py:44
as done here seems to resolve the error
- subprocess.run(self.params, check=True, text=True, encoding='utf-8')
+ subprocess.run(self.params, text=True, encoding='utf-8')
This might be a temporary solution for the time being, but a more permanent solution should be found asap.
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.