Coder Social home page Coder Social logo

Comments (4)

schaermu avatar schaermu commented on July 18, 2024

Currently, i have not planned any major rewrites on this topic. But i'll keep it in mind when i get to work on the library again (can't give you a time horizon on this one though).

What would be your proposal for this issue? The method call usingPreset() relies on properly loaded presets currently, the only solution i'm currently aware of would be a callback for usingPreset() where the whole processor object is contained. This would break the chainable approach.

from node-fluent-ffmpeg.

ralt avatar ralt commented on July 18, 2024

Maybe using some kind of deferred library?

from node-fluent-ffmpeg.

schaermu avatar schaermu commented on July 18, 2024

Deferred libraries are not really of use since i had to prevent the callback. I replaced it with an on-demand require, should work as well and is way more elegant (since require works like a singleton).

Check out commits c580991 and 4f570d8.

Note: i didn't update the NPM version yet, i'm waiting for your feedback ;)

from node-fluent-ffmpeg.

ralt avatar ralt commented on July 18, 2024

Hi,

Sorry, I'm not using it yet, I was looking around for solutions and this project interested me, but had this issue.

Since then, I moved on, and I don't have time to give you some feedback, sorry for answering so late.

Regards,

from node-fluent-ffmpeg.

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.