[FFmpeg-devel] ffprobe as library rather than CLI

Timo Rothenpieler timo at rothenpieler.org
Wed May 12 16:52:13 EEST 2021


On 12.05.2021 15:19, Samuel Marks wrote:
> Started hacking around to make it work. So I changed the `main` to a:
> 
> extern int ffprobe(int argc, char **argv);
> 
> Then I added a header with a prototype of the same, and started
> messing with vcpkg + CMake to try and get it to build correctly.

That's not going to work.
The whole thing is not designed to be called more than once, and you can 
be close to certain that it's going to fail miserably and in unexpected 
ways.

Use the libraries if you want to integrate ffmpeg functionality into 
your own application.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4494 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210512/c08d144d/attachment.bin>


More information about the ffmpeg-devel mailing list