RandomAccess
V2EX  ›  问与答

Python 使用 cv2.VideoWriter 使用图片合成视频后只能保存至硬盘,有没有方法转成 BytesIO 对象,或其他库可以实现

  •  
  •   RandomAccess · Oct 21, 2020 · 1086 views
    This topic created in 2055 days ago, the information mentioned may be changed or developed.
    1 replies    2020-10-21 18:54:33 +08:00
    whi147
        1
    whi147  
       Oct 21, 2020 via iPhone
    保存到硬盘不就是文件流嘛,你给个文件流对象试下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1621 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:15 · PVG 00:15 · LAX 09:15 · JFK 12:15
    ♥ Do have faith in what you're doing.