0

We are trying to use zmqsend (it's part of the ffmpeg repository) to communicate with a ffmpeg instance. On Raspbian, ffmpeg is configured with --enable-libzmq, and libzmq-dev is installed, but zmqsend is not found. How to get it, besides by rebuilding ffmpeg?

  • ffmpeg documentation states Look at tools/zmqsend for an example of a zmq client which can be used to send commands processed by these filters - it's an example - you have to compile it yourself, you dont' need to compile all of ffmpeg yourself to compile that example code – Jaromanda X Feb 2 at 23:13
  • @JaromandaX We've tried that, you do need all of ffmpeg. Trying to compile it by itself gives gazillions of linker errors. – whoKnows Feb 3 at 0:53
  • if you install the appropriate dev packages then you dont' need to compile ffmpeg – Jaromanda X Feb 3 at 1:54
  • @JaromandaX Which dev packages, exactly? – whoKnows Feb 3 at 21:09
  • i.e. since zmqsend refers to libavutil, start with libavutil-dev – Jaromanda X Feb 3 at 22:15
0

Zmqsend can indeed be compiled independently. You need libzmq3-dev (not libzmq-dev) and libavutil-dev.

cd FFmpeg/
./configure
cd tools/
gcc -o /where/you/want/zmqsend zmqsend.c -I.. `pkg-config --libs --cflags libzmq libavutil`

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.