Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IO checks, HiFi-UI and dependencies improvements #128

Merged
merged 186 commits into from
Feb 5, 2024

Conversation

VideoMem
Copy link
Collaborator

@VideoMem VideoMem commented Feb 4, 2024

Adds better file I/O checks.

When input file/output file are specified, tries to read input and open output, if these test fails it prints a proper message and ends.
When HiFi-UI is used it doesn't enforce input and output file checks until start of decoding.

Updates minimum numba, numpy and scipy versions.
Found weird issues if any of these versions is lower than the ones specified.

VideoMem added 30 commits March 23, 2021 16:07
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
…ecode

Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>

# Conflicts:
#	vhsdecode/process.py
…ecode

Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>

# Conflicts:
#	vhsdecode/process.py (solved)
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
# Conflicts:
#	cvbsdecode/process.py
#	vhsdecode/process.py
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
…sync_locs for use in the case where they cannot be measured on the current field.

Fixes some bad signal cases.

Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
# Conflicts:
#	hifi-decode
#	setup.py
#	vhsdecode/addons/FMdeemph.py
#	vhsdecode/cmdcommons.py
Fixes denominator limits that may cause bad samplerate conversion.
Applies LogCompander.expand() only to sidechain signal.

Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Adds audio_rate param (not working yet)

Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Some speed optimizations.

Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Adjusts block size for speed improvements.
Adds gain/volume parameter

Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
…ows.

Adjusts ld-ldf-reader detection logic.

Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
# Conflicts:
#	pyproject.toml
#	requirements.txt
#	vhsdecode/hifi/main.py
Updates numba, numpy and scipy minimum versions.
Makes infile, outfile optional when on UI (hifi-decode)

Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
@VideoMem VideoMem requested a review from oyvindln February 4, 2024 22:10
VideoMem and others added 3 commits February 4, 2024 19:14
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
@oyvindln oyvindln merged commit 66b399e into oyvindln:vhs_decode Feb 5, 2024
0 of 2 checks passed
JuniorIsAJitterbug pushed a commit to JuniorIsAJitterbug/vhs-decode that referenced this pull request Feb 13, 2024
* Adds better validation checks for input / output filenames.
Updates numba, numpy and scipy minimum versions.
Makes infile, outfile optional when on UI (hifi-decode)


Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Co-authored-by: oyvindln <oyvindln@users.noreply.github.com>
JuniorIsAJitterbug pushed a commit to JuniorIsAJitterbug/vhs-decode that referenced this pull request Feb 18, 2024
* Adds better validation checks for input / output filenames.
Updates numba, numpy and scipy minimum versions.
Makes infile, outfile optional when on UI (hifi-decode)


Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Co-authored-by: oyvindln <oyvindln@users.noreply.github.com>
JuniorIsAJitterbug pushed a commit to JuniorIsAJitterbug/vhs-decode that referenced this pull request Feb 22, 2024
* Adds better validation checks for input / output filenames.
Updates numba, numpy and scipy minimum versions.
Makes infile, outfile optional when on UI (hifi-decode)


Signed-off-by: Sebastian Wilwerth <sebastian.wilwerth@gmail.com>
Signed-off-by: VideoMem <sebastian.wilwerth@gmail.com>
Co-authored-by: oyvindln <oyvindln@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants