Giter Club home page Giter Club logo

avconv's People

Contributors

binarykitchen avatar guimier avatar skerit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avconv's Issues

Question about usage

Using this library, would I be able to parse an mkv file and convert this to mp4 at runtime?

Progress doesn't work for audio files

When converting pure audio files avconv's progress output looks like this:
size= 9788kB time=411.62 bitrate= 194.8kbits/s
and the findTime-function returns undefined.

Fallback to ffmpeg if avconv not found

Handy for those of us who didn't opt into the avconv fork.

Underlying assumption: the accepted params for the two are close enough that this would be transparent.

Test failure: run without parameters (null)

$ npm test
> [email protected] test /x/avconv
> nodeunit tests/basics.js
basics.js
✔ TC 1: stability tests - loading avconv function (require)
✖ TC 1: stability tests - run without parameters (null) 1
Error: Expected 4 assertions, 0 ran
    at Object.test.done (/x/avconv/node_modules/nodeunit/lib/types.js:121:25)
    at Object.exports.runTest (/x/avconv/node_modules/nodeunit/lib/core.js:73:14)
    at /x/avconv/node_modules/nodeunit/lib/core.js:118:25
    at /x/avconv/node_modules/nodeunit/deps/async.js:513:13
    at iterate (/x/avconv/node_modules/nodeunit/deps/async.js:123:13)
    at /x/avconv/node_modules/nodeunit/deps/async.js:134:25
    at /x/avconv/node_modules/nodeunit/deps/async.js:515:17
    at Immediate._onImmediate (/x/avconv/node_modules/nodeunit/lib/types.js:146:17)
    at processImmediate [as _immediateCallback] (timers.js:383:17)
TypeError: Incorrect value of args option
    at normalizeSpawnArguments (child_process.js:312:11)
    at exports.spawn (child_process.js:361:38)
    at avconv (/x/avconv/avconv.js:146:18)
    at Object.module.exports.testCase.TC 1: stability tests.testCase.run without parameters (null) 1 (/x/avconv/tests/basics.js:42:26)
    at Object.<anonymous> (/x/avconv/node_modules/nodeunit/lib/core.js:236:16)
    at Object.<anonymous> (/x/avconv/node_modules/nodeunit/lib/core.js:236:16)
    at /x/avconv/node_modules/nodeunit/lib/core.js:236:16
    at Object.exports.runTest (/x/avconv/node_modules/nodeunit/lib/core.js:70:9)
    at /x/avconv/node_modules/nodeunit/lib/core.js:118:25
    at /x/avconv/node_modules/nodeunit/deps/async.js:513:13
✔ TC 1: stability tests - run with empty array ([])
✔ TC 1: stability tests - run with invalid array parameters ([fdsfdsfsdf])
✔ TC 2: real tests - loading help (--help)
✔ TC 2: real tests - test the AvStream class
✔ TC 3: do a conversion - convert pokemon flv to webm
✔ TC 3: do a conversion - convert and kill in the middle
✔ TC 3: do a conversion - stream input and output
FAILURES: 2/60 assertions failed (4308ms)
npm ERR! Test failed.  See above for more details.
$ node -v
v5.7.0

Manually ending a process

Hi there,

I'm currently storing real-time streams to disk with avconv. I require a means to stop/kill an avconv instance.

Is this supported?

write EPIPE

I have got

write EPIPE WriteWrap.afterWrite

I don't know why and how to solve this. this is my parameter:

let avconv_params = [
    "-i","pipe:0",
    "-r","25",
    "-ss","1",
    "-frames:v","1",
    "-f","image2",
    "pipe:1",
  ]

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.