Piping input AND output of ffmpeg in python

后端 未结 2 726
星月不相逢
星月不相逢 2021-02-04 19:58

I\'m using ffmpeg to create a video, from a list of base64 encoded images that I pipe into ffmpeg.

Outputting to a file (using the attached cod

2条回答
  •  被撕碎了的回忆
    2021-02-04 20:18

    Try to add the following command after your sp.Popen :

    output, _ = pipe.communicate()
    

    I think you need to communicate it with the opened process. After that you can print it to make sure it worked :

    print(_)
    

提交回复
热议问题