How do I use piping with ffmpeg?

后端 未结 4 661
栀梦
栀梦 2021-01-01 17:15

My goal is to use wget to download an flv file, and pipe the output to ffmpeg to convert it to an MP3. This way the user can download the MP3 without waiting for the FLV to

4条回答
  •  天命终不由人
    2021-01-01 18:01

    I haven't tested this but should be like this or very close.

    wget [URL] | ffmpeg -i pipe:0 -vcodec mpeg4 -s qcif -f m4v -y output.flv
    

提交回复
热议问题