ffmpeg \ mkvmerge error? #3
Labels
No labels
Wrong-Place
bug
cli
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
ice
invalid
question
request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Creepso/multi-downloader-nx#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After episode download completion saw the following:
[WARN] MKVMerge not found, skip using this...
[WARN] FFmpeg not found, skip using this...
Confirmed both exe files are in appropriate folder path within bin.
Has anyone else encountered this issue?
what does it say in your
bin-path.yml? might need to hard link the paths in there. be sure your using the latest stable build of ffmpeg & mkvmerge.make sure it's the CLI binary version of ffpmeg & mkvmerge cannot be GUI
could also be a permission issue, not sure how they are set on windows though as I'm on OSX
ffmpeg: ./bin/ffmpeg
mkvmerge: ./bin/mkvmerge
in each folder is ffmpeg.exe and mkvmerge.exe for command line use and not the gui exe
I will try updating ffmpeg and see what happens
Make sure both ffmpeg.exe and mkvmerge.exe are directly in the bin folder, and not in their own folders in bin folder
Still encountering same issue. Started happening when I updated NodeJS to most recent version
Confirmed exes are in the appropriate locations even created duplicate exe files.
One thing that I did notice is running 'npm i' again I got the following;
created a lockfile as package-lock.json. You should commit this file
I did have it working, but decided to start fresh to see what's going on. Now i'm getting the same issue as you. Will keep looking into it.
Make sure you adjust the paths inside the YAML file to have the .exe extension.
Changed the path inside bin-path.yml to:
ffmpeg: ./bin/ffmpeg.exe
mkvmerge: ./bin/mkvmerge.exe
No joy...
But the paths exist if you try to
lsthem from the same working dir you run funi.js from?Im not following,
Please note I am using Windows 10
Attached image of main folder and bin folder contents and bin-path.yml file

Even tried this configuration

They need to either go into the
bin/subdirectory or you edit the paths to be ./ffmpeg etc.Yes I understand that. I created duplicate .exe files and copied them in the root folder as well as the bin folder, etc.
For some reason, it seems the *.js script is ignoring the bin-path.yml config file.
And your working dir is the same as funi.js is in?
Here is a fix, I replaced the config code in funi.js with the previous versions. This zip contains the now working funi.js, and config-main.yml. Put config-main.yml in the config folder
Funi-DL.zip
If you are asking if I am using the node command from the same location as the funi.js file, then yes.
That completely broke me.
#!/usr/bin/env node
^
SyntaxError: Invalid or unexpected token
[90m at wrapSafe (internal/modules/cjs/loader.js:1067:16) [39m
[90m at Module._compile (internal/modules/cjs/loader.js:1115:27) [39m
[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10) [39m
[90m at Module.load (internal/modules/cjs/loader.js:1000:32) [39m
[90m at Function.Module._load (internal/modules/cjs/loader.js:899:14) [39m
[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) [39m
[90m at internal/main/run_main_module.js:17:47 [39m
Do you have Discord? It'd be easier to assist you on there
Discord, yes.
Sweet! Issue resolved. Jougan's update \ patch resolved the issue. One item of note. Using most recent version of NodeJS and NPM will break it.
Per Jougan's suggestion of downgrading to node 12.4.0 and npm 6.9.0 made the script functional again.
-Thanks for the assist
https://github.com/anidl/funimation-downloader-nx/releases/tag/4.5.1
should be fixed with latest release