gpt4 book ai didi

ffmpeg - "dash"是什么意思 - 作为 ffmpeg 输出文件名

转载 作者:行者123 更新时间:2023-12-04 22:52:13 27 4
gpt4 key购买 nike

我正在尝试将 ffmpeg 与 gnuplot 结合使用来绘制一些音频频谱,我正在关注此 ffmpeg doc链接。

现在我要问的是 -f data 之后这一行的“dash”- 是什么意思,它应该是一个文件名:ffmpeg 命令的最后一个元素应该输出文件,但运行命令后目录中没有名为 - 的文件。

ffmpeg -y -i in.wav -ac 1 -filter:a aresample=8000 -map 0:a -c:a pcm_s16le -f data - | gnuplot -p -e "plot '<cat' binary filetype=bin format='%int16' endian=little array=1:0 with lines;"

我查看了 ffmpeg 文档,但没有找到任何内容。

最佳答案

输出端的

- 表示stdout。您也可以在其位置写入 pipe:1。作为输入,它意味着stdin,可以写成pipe:0

关于ffmpeg - "dash"是什么意思 - 作为 ffmpeg 输出文件名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63596219/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com