[libav-bugs] [Bug 682] New: Error: spawn EMFILE

bugzilla at libav.org bugzilla at libav.org
Tue May 13 04:32:22 CEST 2014


           Summary: Error: spawn EMFILE
           Product: Libav
           Version: 9
          Platform: X86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: michael.heuberger at binarykitchen.com

Hello guys

When I run avconv from a node.js process I get plenty of these errors:

spawn EMFILE

Error: spawn EMFILE
     at errnoException (child_process.js:980:11)
     at ChildProcess.spawn (child_process.js:927:11)
     at exports.spawn (child_process.js:715:9)
     at avconv
     at /var/www/videomail/production/app/lib/video/encoder.js:200:26
     at process._tickCallback (node.js:415:13)

The exception occurs when avconv is opening tons of images for video

The running command is:
avconv -f image2 -r 18 -i
-an -b:v 256k -loglevel info -pix_fmt yuv420p -c:v libvpx -deadline realtime
-cpu-used 14 -r 18 -y

I am probably hitting the maximimu inputs avconv can process. Not sure what to
do here. Nodejs is single-threaded.

Any ideas? It could be a bug or a limitation within avconv?


Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list