码迷,mamicode.com
首页 > 其他好文 > 详细

zmqsend for FFmpeg

时间:2016-04-03 14:24:25      阅读:291      评论:0      收藏:0      [点我收藏+]

标签:

编译 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

zmqsend for FFmpeg

标签:

原文地址:http://www.cnblogs.com/nlsoft/p/5349728.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!