Giter Club home page Giter Club logo

ktt-development / rexedia Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 89.86 MB

Rexedia :: Metadata editing (including cover art) for bulk files using regular expressions (regex) and back references

Home Page: https://github.com/Ktt-Development/rexedia/tree/main/docs

License: GNU General Public License v3.0

Java 95.09% Shell 0.79% HTML 4.12%
java ffmpeg command-line yml ktt-development regex regular-expression metadata cover-art metadata-editing ffprobe yaml regexp

rexedia's People

Contributors

dependabot[bot] avatar katsute avatar

Watchers

 avatar

Forkers

katsute

rexedia's Issues

Add -v validation level

This is meant to address #24.

Have the following levels for validation:

  • 0 > skip validation
  • 1 > must have frames within margin of error ~100 (fixed)

    possibly add -vs strength parameter to change the number

  • 2 > must have frames equal to or exceed declared
  • 3 > must have frames exact

Change yaml parsing library

Resolves #19

It seems that eo-yaml no intention on fixing this issue in a timely matter. This dependency will be dropped and replaced with a different yaml library. Modularity is not an issue as apache commons cli is not modular.

False negatives on video validation.

Videos that have more calculated frames than stated frames will have a false negative on video validation. These videos have extra frames but the videos are still playable. It is unclear if negative frames is what causes video corruption.

FFMPEG will not write to new files

Prerequisites

If all checks are not passed then the issue will be closed.

  • I have checked that no other similar issue already exists.
  • I have checked that this is actually an issue and not a feature.

Operating System: Operating system name and version.
Windows 10

Release Version: Release version or branch commit where the issue occurred.
rdfw@8b11a29

Issue

Explain your issue. Add any screenshots here.
FFMPEG always says permission denied when writing to output file even when running as administrator.
This is an FFMPEG issue and not a code issue.

Specify output file using regxp

Prerequisites

If all checks are not passed then the request will be closed.

  • I have checked that no other similar feature request already exists.
  • I have checked that this feature does not already exist.
  • The feature request makes sense for the project.

Proposal

Describe the feature that should be added.
Extend the regxp/back ref feature to determine the output file.

Reasoning

Explain why this feature should be added.
Allows for even quicker operations and more file stability.

jpackage causes logging to fail.

Issue is most likely caused by console logger being created AFTER command line args are parsed.

jpackager is causing the console logger to fail. Jar works fine.

Relocate binaries

Currently the bin is located in the same folder as the exe, however jpackage requires resources to be in the /app directory. This is required for #30.

Move /bin to /app/bin and change directories for these files:

- new FFMPEG("bin/ffmpeg","bin/ffprobe"); 
+ new FFMPEG("app/bin/ffmpeg","app/bin/ffprobe"); 

ffmpeg = new FFMPEG("bin/ffmpeg","bin/ffprobe");

private static final FFMPEG ffmpeg = new FFMPEG("bin/ffmpeg.exe", "bin/ffprobe.exe");

private static final FFMPEG ffmpeg = new FFMPEG("bin/ffmpeg.exe", "bin/ffprobe.exe");

Prepare build for JDK17

Since all future Java applications are deployed with their own runtime environment, it is safe to use later versions of JDK without requiring any extra steps from the client.

New features that are safe to implement:

  • jpackage [JDK14]
  • textblocks [JDK15]
  • sealed classes [TBD]
  • records [TBD]

Minimize website dependencies.

Certain dependency files can be removed as they are unused.

Additionally the main javascript file can also be minified.

Presets only add first metadata field.

Metadata presets will only parse the first metadata field in the list, not the whole list.

Probable fix: using YamlSequence.values() for the foreach loop.

Fix waitFor correctly

Fix thread hold issue on #waitFor by checking if last line was a terminate batch requests (y/n) instead of using a future

Verify stage is lengthy

Count frames is very slow on FFPROBE and should be read from FFMPEG instead (given by default).
example_res

Duration may also be rounded so there needs to a method to account for a small margin of error (±0.0001s)

TODO:

  • Change copy to use FFMPEG instead so we can read frames.
  • Add method to read frames from output.
  • Change ffprobe to not count frames.

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.