流式传输如下所示的简单命令时
ffmpeg -i "Alien.mkv" -f webm tcp://localhost:8080/listen.webm
Run Code Online (Sandbox Code Playgroud)
如果我按“?” 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
Run Code Online (Sandbox Code Playgroud)
我对选项“c”很好奇
这是否意味着我可以在正在运行的流上执行更多命令?比如说在一个正在运行的流中寻找一个新位置?(我意识到你通常不会这样做)
我对这些一无所知,也无法在 ffmpeg 文档或其他地方找到太多内容。如果我按“c”,它建议我应该使用的语法是:
Enter command: <target>|all <time>|-1 <command>[ <argument>]
Run Code Online (Sandbox Code Playgroud)
但我仍然不太明白如何执行命令。有人可以举几个例子吗?我怀疑这用得不多。