GithubHelp home page GithubHelp logo

Comments (12)

Kagami avatar Kagami commented on July 22, 2024

Hi, thanks for the report. I think I fixed it, please try again.
I've bumped libvpx to 1.5.0 only recently and haven't yet tried to build it. Sorry for the inconvenience.

from ffmpeg.js.

jackwakefield avatar jackwakefield commented on July 22, 2024

That's fixed that, thanks. I've just ran into another issue with patching though

patching file src/autofit/afdummy.c
Hunk #1 FAILED at 39.
1 out of 1 hunk FAILED -- saving rejects to file src/autofit/afdummy.c.rej
patching file src/autofit/aftypes.h
Hunk #1 FAILED at 214.
1 out of 1 hunk FAILED -- saving rejects to file src/autofit/aftypes.h.rej
patching file src/cid/cidload.c
Hunk #2 succeeded at 171 with fuzz 1 (offset 1 line).
Hunk #3 succeeded at 208 (offset -2 lines).
Hunk #4 succeeded at 226 with fuzz 1 (offset -1 lines).
Hunk #5 succeeded at 261 (offset 24 lines).
Hunk #6 succeeded at 275 (offset 24 lines).
Hunk #7 succeeded at 283 (offset 24 lines).
Hunk #8 succeeded at 297 (offset 24 lines).
make: *** [build/freetype/dist/lib/libfreetype.so] Error 1

from ffmpeg.js.

Kagami avatar Kagami commented on July 22, 2024

Fixed freetype submodule commit, please try again. (You may need to clean freetype subrepo with e.g. git reset --hard)

from ffmpeg.js.

jackwakefield avatar jackwakefield commented on July 22, 2024

That's fixed, thanks. I'm having a problem with libfribidi now

emcc build/ffmpeg-webm/ffmpeg.bc build/fribidi/dist/lib/libfribidi.so build/freetype/dist/lib/libfreetype.so build/libass/dist/lib/libass.so build/opus/dist/lib/libopus.so build/libvpx/dist/lib/libvpx.so \
        --post-js build/post-sync.js \
        --closure 1 -s NODE_STDOUT_FLUSH_WORKAROUND=0 -s TOTAL_MEMORY=67108864 -s OUTLINING_LIMIT=20000 -O3 --memory-init-file 0 --pre-js build/pre.js -o ffmpeg-webm.js
ERROR:root:build/fribidi/dist/lib/libfribidi.so: No such file or directory ("build/fribidi/dist/lib/libfribidi.so" was expected to be an input file, based on the commandline arguments provided)
make: *** [ffmpeg-webm.js] Error 1

The files in build/fribidi/dist/lib are

libfribidi.0.dylib
libfribidi.dylib
libfribidi.la
pkgconfig

from ffmpeg.js.

Kagami avatar Kagami commented on July 22, 2024

Are you on Mac? Try to rename libfribidi.dylib to libfribidi.so
I don't have Mac so tested the build only on Linux. I'll try to somehow workaround this.
What extension do other libraries (freetype, libass, opus) have? .so or .dylib?

from ffmpeg.js.

jackwakefield avatar jackwakefield commented on July 22, 2024

I am indeed on Mac, I've just got a MacBook after being on ArchLinux for a few years so I wasn't 100% sure what dylib was.

libfribidi.dylib
libfreetype.so
libass.dylib
libopus.dylib
libvpx.so

from ffmpeg.js.

Kagami avatar Kagami commented on July 22, 2024

Try to rename all .dylib to .so.

from ffmpeg.js.

Kagami avatar Kagami commented on July 22, 2024

Are you still having issues with this?

from ffmpeg.js.

jackwakefield avatar jackwakefield commented on July 22, 2024

Renaming from dylib to so worked

from ffmpeg.js.

Kagami avatar Kagami commented on July 22, 2024

Ok, I will check whether I can fix/workaround this in Makefile.

from ffmpeg.js.

Denoder avatar Denoder commented on July 22, 2024

when not try to make the makefile detect the operating system thats compiling it then rename them to so?

from ffmpeg.js.

Kagami avatar Kagami commented on July 22, 2024

It's probably better to use Docker with Ubuntu instead.

from ffmpeg.js.

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.