Thanks Mortiz,

Here's my installation:

ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
I solved the issue using brew installation on mac.

The zmq documentation seems to be very sparse and not detailed. Could you
please help me with the following problem. I need to change the layout of
2x2 video mosaic using zmq.

In the static case, I create a 2x2 mosaic video using:













*ffmpeg \-i in1.mov -i in2.mov -i in3.mov -i in4.mov \-filter_complex "
\nullsrc=size=640x360 [base]; \[0:v] setpts=PTS-STARTPTS, scale=320x180
[upperleft]; \[1:v] setpts=PTS-STARTPTS, scale=320x180 [upperright]; \[2:v]
setpts=PTS-STARTPTS, scale=320x180 [lowerleft]; \[3:v] setpts=PTS-STARTPTS,
scale=320x180 [lowerright]; \[base][upperleft] overlay=shortest=0 [tmp1];
\[tmp1][upperright] overlay=shortest=0:x=320 [tmp2]; \[tmp2][lowerleft]
overlay=shortest=0:y=180 [tmp3]; \[tmp3][lowerright]
overlay=shortest=0:x=320:y=180" \-c:v libx264 output.mov*

Now I need to change the red parameters using zmq. Therefore I re-write
above as:











*ffmpeg \-i in1.mov -i in2.mov -i in3.mov -i in4.mov \-filter_complex "
\nullsrc=size=640x360 [base]; \[0:v] setpts=PTS-STARTPTS, scale=320x180
[upperleft]; \[1:v] setpts=PTS-STARTPTS, scale=320x180 [upperright];
\[2:v] setpts=PTS-STARTPTS, scale=320x180 [lowerleft];
\[3:v] setpts=PTS-STARTPTS, scale=320x180 [lowerright];
\[base][upperleft] overlay=shortest=0 [tmp1];
\[tmp1][upperright] overlay=shortest=0:x=320 [tmp2]; \**[tmp2] *

*[lowerleft] overlay=shortest=0:y=180 [tmp3]; \[lowerright]
zmq, [tmp3] overlay=shortest=0:x=320:y=180" \-c:v libx264 output.mov*

*But I cannot get access to these parameters using zmqsend? I tried
different messages like:*

echo Parsed_overlay_0 x 440 | zmqsend
echo Parsed_overlay_1 x 440 | zmqsend


I appreciate your helps in advance,
Kamal




On Sun, Oct 15, 2017 at 4:29 PM, Moritz Barsnick <[email protected]> wrote:

> On Sun, Oct 15, 2017 at 15:17:00 -0400, kamal shadi wrote:
> > Could anybody help me how to install zmq libraries for ffmpeg? Should I
> > compile the source code again with libzmq enabled or is there anyway I
> can
> > add libzmq to my current installation?
>
> Yes, to add a filter, you need to recompile. You need to have either
> libzmq and libzmq-devel packages installed (if you are working
> repository based), or precompile libzmq in a similar fashion to the
> other libraries, before compiling ffmpeg.
>
> What is your "current installation", by the way?
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to