Git Product home page Git Product logo

aegisub-scripts's People

Contributors

bucket3432 avatar petzku avatar seprodev avatar ssgums avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aegisub-scripts's Issues

util.io.run_cmd output includes command prompt on Windows

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

Extrapolate move

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.

Encode clip: errors when source file includes non-ASCII characters

[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)

Audio clip

When there are multiaudio (english-japanese) and I select japanese in aegisub, the script takes the first one (in that case english)

[BUG?] Encode Clip raw: export video with subtitle

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.

Encode Clip occasionally "misses" last frame

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:

Slime300_-_TS_1183.330-1185.790.mp4

second-to-last frame

last frame

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.