当您执行以下简单命令来进行流式传输时:
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>]
但我仍然不太明白如何执行命令。能否请有经验的人给出一些例子?我怀疑这并不经常使用。