-
-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: ffprobe and worker.run #31
Comments
Thanks for this library repo and your FFmpeg repo, I was able to figure out how to build js/wasm file for ffprobe because of it. Had to use original clone of FFmpeg since your FFmpeg clone has some few modifications that end up with my build causing RunTimeErrors. |
Hi @kilisio, it'd be awesome if you could share some details of your FFprobe build? Maybe even a working build script? I'd love to use FFprobe in JS too, with a similar API to this library and I'm sure there are many more our there interested. |
hi @saaymeen, I managed to compile it successfully, but the only arguments i was successful at running were '-h' and '-version'. Other arguments ran smoothly, but didn't print the json data. What I deduced is that the process exited before i could fetch the outputed data as a buffer array. I had managed to make a patch for ffmpeg, that I add compiling with emscripten, by refrencing some of the commits made in https://github.com/ffmpegjs/FFmpeg, but for ffprobe i researched and tried different patches, but still failed. I am not proficient in c programming and so i have put ffprobe on hold and am now focusing on ffmpeg since it has more use cases in the project i am working on. |
can i use ffprobe with worker.run()? If yes, how do I get the output json data?
The text was updated successfully, but these errors were encountered: