1

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?

7
  • 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 Commented Feb 2, 2019 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
    Commented Feb 3, 2019 at 0:53
  • if you install the appropriate dev packages then you dont' need to compile ffmpeg Commented Feb 3, 2019 at 1:54
  • @JaromandaX Which dev packages, exactly?
    – whoKnows
    Commented Feb 3, 2019 at 21:09
  • i.e. since zmqsend refers to libavutil, start with libavutil-dev Commented Feb 3, 2019 at 22:15

1 Answer 1

1

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`
1
  • Please accept your own answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year.
    – Ingo
    Commented Mar 3, 2020 at 20:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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