jessielw / deezy Goto Github PK
View Code? Open in Web Editor NEWDolby Encoding Engine Wrapper
License: MIT License
Dolby Encoding Engine Wrapper
License: MIT License
Low priority once things are stable
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?
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 oftemp_dir
exceeds 259 characters, raises aPathTooLongError
.
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"
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.
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.
What about having a preferences file inside DeeZy directory to have custom dee and ffmpeg paths?
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
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.
We'll utilize print and sys.exit()
Where we can pass in exit codes
Calculate it based off of audio track file size
Example: The.Jungle.Book.1967.BluRay.1080p.DTS-HD.MA.7.1.AVC.REMUX-FraMeSToR.mkv
Breaks on 5.1 encode but works for 2.0
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.