而流式传输一个简单的命令,如下所示
ffmpeg -i "Alien.mkv" -f webm tcp://localhost:8080/listen.webm
如果我按“?”ffmpeg似乎具有以下选项的交互模式
? show this help
+ increase verbosity
- decrease verbosity
c Send command to first matching filter supporting it
C Send/Queue command to all matching filters
D cycle through available debug modes
h dump packets/hex press to cycle through the 3 states
q quit
s Show QP histogram
我对选项c很好奇
这是否意味着我可以在运行的流上执行更多命令?比如说,在一条流动的河流中寻找一个新的位置?(我知道你通常不会这么做)
我对这些内容一无所知,在ffmpeg文档或其他地方也找不到太多。如果我按“c”,它表明我应该使用的语法是:
Enter command: <target>|all <time>|-1 <command>[ <argument>]
但我还是不太明白如何执行命令。有人能举几个例子吗?我怀疑这不是经常使用。