Giter VIP home page Giter VIP logo

avprober's People

Contributors

jamespharaoh avatar pete-otaqui avatar stuartlangridge avatar

Stargazers

 avatar

Watchers

 avatar  avatar

avprober's Issues

Object false has no method split

Err output:

msilva@msilva-G75VW:~/RenderEffects/re.buildprocessor$ sudo node tests.js 
blocks

filename=/home/msilva/builds/54d0cd886426e78125edabbf/54d0d08db6166f333badd265/MainRender.mov0001-1317.avi
nb_streams=1
format_name=avi
format_long_name=AVI (Audio Video Interleaved)
start_time=0.000000
duration=54.874122
size=2048268928.000000
bit_rate=298613459.000000

/home/msilva/RenderEffects/re.buildprocessor/node_modules/avprober/index.js:39
    var block_object = {}, lines = block.split('\n');
                                         ^
TypeError: Object false has no method 'split'
    at parseBlock (/home/msilva/RenderEffects/re.buildprocessor/node_modules/avprober/index.js:39:42)
    at ChildProcess.<anonymous> (/home/msilva/RenderEffects/re.buildprocessor/node_modules/avprober/index.js:101:21)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Socket.<anonymous> (child_process.js:956:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:466:12)

provide a callback-based invocation

Currently it seams unclear on how to use this library with other promises implementation, such as Q, because es6-promise is incompatible with Q. It would be nice if avprober presented a simple callback invocation in its API, so that library clients could adapt it to their promise implementations as needed.

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.