zmqsend for FFmpeg

编译 FFmpeg 时,配置中添加 --enable-libzmq 就可以通过 tcp 通讯给 FFmpeg 发送命令

Usage: zmqsend [-h ip:port] TARGET COMMAND ARG
  Receive commands sent through a libzmq client, and forward them to filters in the filtergraph.
  default host is localhost:5555
    The send message must be in the form:
      TARGET COMMAND [ARG]
    Depending on the result, the filter will send a reply to the client, adopting the format:
      ERROR_CODE ERROR_REASON MESSAGE

  Examples
    zmqsend hue h 90
    zmqsend hue H PI/2
    zmqsend hue s 1
    zmqsend hue b 0

    zmqsend eq contrast 0.0
    zmqsend eq brightness 1.0
    zmqsend eq saturation 1.0
    zmqsend eq gamma 1.0
    zmqsend eq gamma_r 1.0
    zmqsend eq gamma_g 1.0
    zmqsend eq gamma_b 1.0
    zmqsend eq gamma_weight 1.0


下载 zmqsend.7z
下载 ffmpeg-20160401-snapshot-bin.7z
posted @ 2016-04-03 13:39  1CM  阅读(789)  评论(0编辑  收藏  举报