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

Avgle not found after running ./install.sh in Windows (Git Bash) #29

Open
jasongame61 opened this issue Jan 3, 2020 · 9 comments
Open

Comments

@jasongame61
Copy link

Avgle file not found after running ./install.sh in Windows (using Git Bash). All the dependencies (e.g. ffmpeg) is copied successfully

[.] copying 'Avgle' ...
cp: cannot stat 'Avgle': No such file or directory
[-] FATAL: CopyAvglefailed!

@Elypha
Copy link

Elypha commented Jan 4, 2020

Check this out.

@jasongame61
Copy link
Author

Thanks! I have the download-xxx.sh downloaded locally. However, when I run it, it always complain "ffmpeg" is missing. I have copied ffmpeg.exe in

  1. same dir of the .sh script
  2. inside a /bin folder
  3. inside a /windows-libs folder
    Neither of them work. How can I run the script successfully in windows (or WSL)?

@Elypha
Copy link

Elypha commented Jan 5, 2020

The download script, by default, defines FFMPEG_BIN="ffmpeg"; which is later referred to as

"$FFMPEG_BIN" -f concat -i "${LIST_FILE}" -bsf:a aac_adtstoasc -c copy "${TARGET_FILE}" -loglevel error \

So maybe you can try $ ffmpeg in your git bash and see if it returns a proper output like

ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
...

Should it fail, your ffmpeg might not be on your system path so check it again.
The windows-libs folder should be in this structure as shown in README.md:

After you download dependencies into this directory, this directory will looks like this:

- windows-libs
|-- ffmpeg-4.1-win32-static
	|-- bin
	|-- presets
|-- aria2-1.34.0-win-32bit-build1
|-- README.md (Current document)

I'm not sure if it works certainly, as I already have my own ffmpeg and aria2 installation and .exe files on the system path.
You may also try changing FFMPEG_BIN="ffmpeg"; to something like FFMPEG_BIN="E:/path/to/ffmpeg.exe"; to fix it.

@jasongame61
Copy link
Author

Thanks for the advice. It does not work well in Windows:

  • Cannot run "sudo apt install" in WSL environment
  • Cannot point to ffmpeg.exe since .sh is not supposed to run in Windows
    (I did not try Git bash though)
    Anyway, I just install Ubuntu in a VM and the plugin runs well

@vide0
Copy link
Member

vide0 commented Jan 9, 2020

@jasongame61 are u running this script under the WSL env? just install dependencies like sudo apt install ffmpeg aria2 .

report the log to here if you met any problem during installing dependencies

@jasongame61
Copy link
Author

jasongame61 commented Jan 10, 2020

@vide0 It has the following output

`
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ffmpeg' has no installation candidate
E: Unable to locate package aria2
`

@vide0
Copy link
Member

vide0 commented Jan 17, 2020

@jasongame61 what is your WSL system?

@jmnie
Copy link

jmnie commented Jan 24, 2020

Actually I met the same error here.
I tired on WSL(Ubuntu 18.04) and Ubuntu 19.04, all failed.
and I used sudo apt install ffmpeg first.

@jasongame61
Copy link
Author

@vide0 I am using Ubuntu 18.04

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

No branches or pull requests

4 participants