ffprobe-static icon indicating copy to clipboard operation
ffprobe-static copied to clipboard

Unknown Error Occurring

Open darthzeran opened this issue 4 years ago • 0 comments

So I am running git-video-duration which depends on this library, and my previous issue is here https://github.com/caffco/get-video-duration/issues/25 , but I am getting an Unknown Error, and was wondering if here was the correct place to search for more answers.

The default error looks like this

{
"code": 1,
"stdout": "",
"stderr": "MY_FILE.mp4: Unknown error\r\n",
"failed": true,
"signal": null,
"cmd": "path\\to\\project\\node_modules\\ffprobe-static\\bin\\win32\\x64\\ffprobe.exe -v error -show_format -show_streams 
 MY_FILE.mp4",
"timedOut": false,
"killed": false
}  

and the verbose error looks like this

{                                                                                                                                                                                              "shortMessage": "Command failed with exit code 1: C:\\Users\\ryan\\infinid\\mission-server\\node_modules\\@ffprobe-installer\\win32-x64\\ffprobe.exe -v verbose -show_format -show_streams MY_FILE.mp4",                                                                                     "command": "paths\\to\\my\\project\\node_modules\\@ffprobe-installer\\win32-x64\\ffprobe.exe -v verbose -show_format -show_streams MY_FILE.mp4",
"exitCode": 1,                                                                                                                                                                               "stdout": "",
"stderr": "ffprobe version N-89672-g41e51fbcd9 
Copyright (c) 2007-2018 the FFmpeg developers\r\n  
built with gcc 7.2.0 (GCC)\r\n  
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx\r\n
libavutil      56.  7.100 / 56.  7.100\r\n  libavcodec     58.  9.100 / 58.  9.100\r\n  libavformat    58.  3.100 / 58.  3.100\r\n  libavdevice    58.  0.100 / 58.  0.100\r\n  libavfilter     7.  8.100 /  7.  8.100\r\n  libswscale      5.  0.101 /  5.  0.101\r\n  libswresample   3.  0.101 /  3.  0.101\r\n  libpostproc    55.  0.100 / 55.  0.100\r\n
MY_FILE.mp4: Unknown error",
"failed": true,
"timedOut": false,
"isCanceled": false,
"killed": false
}  

any help is appreciated!

darthzeran avatar Aug 28 '20 16:08 darthzeran