derhuerst / derhuerst/ffprobe-static
Unknown Error Occurring
- Dominant language
- JavaScript
- Stars
- 59
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
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!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported ffprobe.exe command and compare the default and verbose outputs, then read the linked get-video-duration issue for related context. Reproduce the failure on the reported Windows setup using the ffprobe-static binary; done means determining whether the failure belongs to this package or the dependency and recording an actionable resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100