How to make ffmpeg write its output to a named pipe

后端 未结 2 969
孤独总比滥情好
孤独总比滥情好 2021-01-03 04:35

I know i can make ffmpeg put its output to stdout and stderr using pipe:1 and pipe:2, respectively, as

2条回答
  •  时光说笑
    2021-01-03 04:59

    @ab77 answer is spot on except for one major thing that I encountered myself. I do not know if this happens on Linux or other *nix'es but on Mac OS X if you do not put the appropriate extension on the pipe name then it will not pipe. So if the output format is mpeg then the pipe shold be name outpipe.mpg for instance.

提交回复
热议问题