Coder Social home page Coder Social logo

deezy's People

Contributors

jessielw avatar xesteem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

deezy's Issues

Delete the temp dir ... completely?

Just something to think about:

Basically there is no need to specify a temp dir. In my case I had not enough space left, so I have chosen an HDD and gladfully I have specified an empty folder, because this code look like: When a temp dir is set, delete everything in it, even subfolders. ๐Ÿ˜ฎ

So in case you set --temp-dir="D:\" and forget to add --keep-temp everything will be lost, right?

https://github.com/jlw4049/DeeZy/blob/25224319d36b0f36fae98833fd40b2bd8ba2e782/deezy/audio_encoders/dee/dd.py#L181-L185

https://github.com/jlw4049/DeeZy/blob/25224319d36b0f36fae98833fd40b2bd8ba2e782/deezy/audio_encoders/dee/ddp.py#L176-L189

Exceeds path length for DEE

Path provided with input file exceeds path length for DEE.

DeeZy throws this error whenever I try to specify a temp directory with the "-tmp" switch.
If I use the default OS temp directory the command runs without issues.


If temp_dir is provided, creates a directory with that name instead of a randomly generated one.
If the length of the path to the input file plus the length of temp_dir exceeds 259 characters, raises a PathTooLongError.

The combined path length of my input file and temp directory does not exceed 259 characters. Here's the exact command I'm using:
deezy encode ddp -t 0 -b 1536 -k -tmp "H:\temp_deezy" -o "H:\deezy.eac3" "H:\input.mkv"

DDP Bitrate Issue

If I encode a Dolby Digital Plus 5.1 audiofile with a bitrate <384 kbit/s the produced file has always 384 kbit/s. Above 384 kbit/s everything is fine.
For example: I configure a bitrate of 320 kbit/s an the new file has a bitrate 384 kbit/s.

Add a bit more logic to determine_track_index function

We can add some additional logic by checking count of all tracks (other than general) to ensure that audio is/isnt the only track in the file.

Additionally check the track data in media info lib, as we may be able to utilize streamids directly without the need for logic.

Var `stripped_file_path` issue

Currently it's only removing single spaces.

This will need to be remedied, can easily achieve this with regex.

We need to ensure all white space is removed from the filename

Print help without dependencies

When you want to get help while dee.exe and/or ffmpeg.exe are not available, the help won't be printed:

.\deezy.exe -h
dee.exe path not found

Would be nice to get the (basic) help regardless the dependencies, because they are not required yet.

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.