ch2
V2EX  ›  问与答

推荐一个在后端给视频生成带动画字幕的技术方案?

  •  
  •   ch2 · May 12, 2022 · 1856 views
    This topic created in 1505 days ago, the information mentioned may be changed or developed.

    需求是给视频配上可以用 After Effect 制作出来的那种简单文字字幕
    可以调整字幕的字体、颜色、关键帧、按照一个类似 json 模板填充文字
    最后按一定帧率生成透明背景的字幕视频
    开始的想法是能不能直接调用 AE 进行合成,后来发现只能写 js 而且 js 的 api 还不全
    现在想找一个 Python 或者其他语言的库,能绕过 AE 自行合成的方案,不知道大家有什么好的建议?

    Supplement 1  ·  May 12, 2022

    找到了一个python操作pr的方法了:
    https://github.com/qmasingarbe/pymiere

    2 replies    2022-05-12 04:50:26 +08:00
    wineway
        1
    wineway  
       May 12, 2022 via iPhone
    LeeReamond
        2
    LeeReamond  
       May 12, 2022
    关键帧级别的可能不太好搞,印象里基于 ass 嵌入视频倒是有很多成熟方案,但是字幕文件是基于时间的,在帧级别可能有误差
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3719 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 10:21 · PVG 18:21 · LAX 03:21 · JFK 06:21
    ♥ Do have faith in what you're doing.