{"action":"closed","issue":{"url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/370","labels_url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/370/comments","events_url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/370/events","html_url":"https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/370","id":58355843,"number":370,"title":" Error: spawn ELOOP","user":{"login":"pdavid0","id":1034292,"avatar_url":"https://avatars.githubusercontent.com/u/1034292?v=3","gravatar_id":"","url":"https://api.github.com/users/pdavid0","html_url":"https://github.com/pdavid0","followers_url":"https://api.github.com/users/pdavid0/followers","following_url":"https://api.github.com/users/pdavid0/following{/other_user}","gists_url":"https://api.github.com/users/pdavid0/gists{/gist_id}","starred_url":"https://api.github.com/users/pdavid0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdavid0/subscriptions","organizations_url":"https://api.github.com/users/pdavid0/orgs","repos_url":"https://api.github.com/users/pdavid0/repos","events_url":"https://api.github.com/users/pdavid0/events{/privacy}","received_events_url":"https://api.github.com/users/pdavid0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/labels/Feedback%20needed","name":"Feedback needed","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-20T13:55:49Z","updated_at":"2015-11-29T11:16:12Z","closed_at":"2015-11-29T11:16:12Z","body":"```\r\nerror: Sending 500 (\"Server Error\") response: \r\n Error: spawn ELOOP\r\n    at errnoException (child_process.js:1001:11)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:792:34) { [Error: spawn ELOOP] code: 'ELOOP', errno: 'ELOOP', syscall: '\r\n```\r\n\r\nWhile using fluent-ffmpeg 1.7.2 on Ubuntu 12.04.5 LTS with \r\nffmpeg version :\r\n\r\n```\r\nffmpeg version 0.10.12-7:0.10.12-1~precise1 Copyright (c) 2000-2014 the FFmpeg developers\r\n  built on Apr 26 2014 09:49:36 with gcc 4.6.3\r\n  configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.12-1~precise1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static\r\n  libavutil      51. 35.100 / 51. 35.100\r\n  libavcodec     53. 61.100 / 53. 61.100\r\n  libavformat    53. 32.100 / 53. 32.100\r\n  libavdevice    53.  4.100 / 53.  4.100\r\n  libavfilter     2. 61.100 /  2. 61.100\r\n  libswscale      2.  1.100 /  2.  1.100\r\n  libswresample   0.  6.100 /  0.  6.100\r\n  libpostproc    52.  0.100 / 52.  0.100\r\nHyper fast Audio and Video encoder\r\n```\r\nCode:\r\n```\r\n                new ffmpeg({\r\n                        source: tmpVideo.videoFd\r\n                    })\r\n                    .withSize('960x540')\r\n                    .on('error', function(err) {\r\n                        if (err) {\r\n                            console.log('An error occurred: ');\r\n                            console.log(err);\r\n                            // console.log(sterr);\r\n                            // console.log(out);\r\n                            // console.log(\"ffmpeg stdout:\\n\" + stdout);\r\n                            return res.serverError(err);\r\n                        }\r\n                    })\r\n                    .on('end', function(filenames) {\r\n                        console.log('Successfully generated ' + filenames.join(', '));\r\n                    })\r\n                    .takeScreenshots({\r\n                        count: 1,\r\n                        filename: '%b'\r\n                    }, thumbPath);\r\n```\r\n\r\n\r\nWierd thing is that it works like a charm on my MBpro (Yosemite 10.10.2), ffmpeg :\r\n```\r\nffmpeg version 2.5.2 Copyright (c) 2000-2014 the FFmpeg developers\r\n  built on Jan 23 2015 19:41:36 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)\r\n  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid\r\n  libavutil      54. 15.100 / 54. 15.100\r\n  libavcodec     56. 13.100 / 56. 13.100\r\n  libavformat    56. 15.102 / 56. 15.102\r\n  libavdevice    56.  3.100 / 56.  3.100\r\n  libavfilter     5.  2.103 /  5.  2.103\r\n  libavresample   2.  1.  0 /  2.  1.  0\r\n  libswscale      3.  1.101 /  3.  1.101\r\n  libswresample   1.  1.100 /  1.  1.100\r\n  libpostproc    53.  3.100 / 53.  3.100\r\nHyper fast Audio and Video encoder\r\n```\r\n\r\n\r\nAny idea why ?"}}