Giter Club home page Giter Club logo

Comments (9)

Elypha avatar Elypha commented on June 16, 2024

Check this out.

from chrome-avgle-helper.

jasongame61 avatar jasongame61 commented on June 16, 2024

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)?

from chrome-avgle-helper.

Elypha avatar Elypha commented on June 16, 2024

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.

from chrome-avgle-helper.

jasongame61 avatar jasongame61 commented on June 16, 2024

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

from chrome-avgle-helper.

vide0 avatar vide0 commented on June 16, 2024

@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

from chrome-avgle-helper.

jasongame61 avatar jasongame61 commented on June 16, 2024

@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
`

from chrome-avgle-helper.

vide0 avatar vide0 commented on June 16, 2024

@jasongame61 what is your WSL system?

from chrome-avgle-helper.

jmnie avatar jmnie commented on June 16, 2024

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.

from chrome-avgle-helper.

jasongame61 avatar jasongame61 commented on June 16, 2024

@vide0 I am using Ubuntu 18.04

from chrome-avgle-helper.

Related Issues (20)

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.