Skip to content
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

Closed
kilisio opened this issue Mar 1, 2020 · 3 comments
Closed

Question: ffprobe and worker.run #31

kilisio opened this issue Mar 1, 2020 · 3 comments

Comments

@kilisio
Copy link

kilisio commented Mar 1, 2020

can i use ffprobe with worker.run()? If yes, how do I get the output json data?

@kilisio kilisio changed the title Question: How do i get ffprobe output data? Question: ffprobe and worker.run Mar 1, 2020
@kilisio
Copy link
Author

kilisio commented Mar 6, 2020

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.

@kilisio kilisio closed this as completed Mar 6, 2020
@saaymeen
Copy link

saaymeen commented Apr 1, 2020

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.
Cheers

@kilisio
Copy link
Author

kilisio commented Apr 1, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants