You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I tried the command of ffmpeg.ffprobe, I encountered an error return. The correct return should be 0, but actually it returned -1. The version I used is [email protected].
constffmpeg=newFFmpeg();awaitffmpeg.load();awaitffmpeg.writeFile("video.avi", ...);// Getting duration of a video in seconds: ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 video.avi -o output.txtconsterror=awaitffmpeg.ffprobe(["-v","error","-show_entries","format=duration","-of","default=noprint_wrappers=1:nokey=1","video.avi","-o","output.txt"]);// the error is -1constdata=ffmpeg.readFile("output.txt");
Expected behavior 0 if no error, != 0 if timeout (1) or error.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I tried the command of
ffmpeg.ffprobe
, I encountered an error return. The correct return should be 0, but actually it returned -1. The version I used is[email protected]
.To Reproduce
https://ffmpegwasm.netlify.app/docs/api/ffmpeg/classes/FFmpeg#ffprobe
Expected behavior
0
if no error,!= 0
if timeout (1) or error.The text was updated successfully, but these errors were encountered: