Giter VIP home page Giter VIP logo

Comments (6)

mifi avatar mifi commented on May 22, 2024 1

I used pretty much the same technique, yes.
So basically when building it just copies ffmpeg/ffplay (for the corresponding platform/arch) into the package output directory. Also exclude this dir from the asar-package or I don't think it would work.
I made this list from the official download links from www.ffmpeg.org

from lossless-cut.

mifi avatar mifi commented on May 22, 2024

I'll look into it when i hvave the time

from lossless-cut.

zeke avatar zeke commented on May 22, 2024

Cool. Supposedly there's a version of ffmpeg bundled with Electron itself, though the documentation on that is sparse. I hope to dig into this soon and produce some documentation around using it. If you get to it first, please let me know!

from lossless-cut.

mifi avatar mifi commented on May 22, 2024

The included ffmpeg version might not be recent enough and have all the features needed for muxing/demuxing/cutting etc. Also it's only the lib, not the ffmpeg CLI. So node native bindings are required, which complicates things.
It might also be possible to use something like node-ffi for calling the linked in ffmpeg libraries. However I'm afraid we'll have to rewrite alot of the logic that ffmpeg CLI already handles, and also risk crashing the whole node process if ffmpeg crashes.

https://github.com/node-ffi/node-ffi

http://qiita.com/kjunichi/items/8c1955c6bc2013b636a3

libavformatもnodeも64ビットな環境で動かしてみたら、
Segmentation fault: 11 😂

from lossless-cut.

mifi avatar mifi commented on May 22, 2024

ffmpeg is now bundled in as of 1.2.0.

from lossless-cut.

zeke avatar zeke commented on May 22, 2024

Nice! Any thoughts on the process you went through?

Did you follow the same technique the Kap team used?

I notice a bunch of different source hosts:

ffmpeg_linux_ia32=https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-32bit-static.tar.xz
ffmpeg_linux_x64=https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz
ffmpeg_darwin_x64=http://evermeet.cx/ffmpeg/ffmpeg-3.2.7z
ffmpeg_win32_ia32=https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-3.1.5-win32-static.zip
ffmpeg_win32_x64=https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-3.1.5-win64-static.zip
ffprobe_darwin_x64=http://evermeet.cx/ffmpeg/ffprobe-3.2.7z

How did you compile this list?

from lossless-cut.

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.