---
title: "Discussion on \"记录和 ffmpeg 与 LLM 搏斗的两天\" | Hashnode"
description: "Discussion on \"记录和 ffmpeg 与 LLM 搏斗的两天\". 要做的\n最近在写一个制作视频的功能，就是把 N 个视频合并，然后把对应的 N 张图片，在视频开始的前 5 秒叠加显示出来。\n第一口 - diffusion studio\n本来我用的是 diffusion studio，这是一个 JS 库，但这玩意性能太差了，因为他要把视频每一帧都读到 canvas 里，数据一多页面就卡住了（为啥要折腾 DOM 呢？）\n而且他的 API 十分不好用，作为浏览器脚本你无法读本地数据也就算了，你起码给一个接受纯数据的参数吧，比如 HTML 类型接受源代码，Image ..."
url: "https://hashnode.com/posts/ffmpeg-llm/673879e288d7ea21f51388e2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [记录和 ffmpeg 与 LLM 搏斗的两天](https://erio.hashnode.dev/ffmpeg-llm?utm_source=hashnode&utm_medium=feed)

要做的 最近在写一个制作视频的功能，就是把 N 个视频合并，然后把对应的 N 张图片，在视频开始的前 5 秒叠加显示出来。 第一口 - diffusion studio 本来我用的是 diffusion studio，这是一个 JS 库，但这玩意性能太差了，因为他要把视频每一帧都读到 canvas 里，数据一多页面就卡住了（为啥要折腾 DOM 呢？） 而且他的 API 十分不好用，作为浏览器脚本你无法读本地数据也就算了，你起码给一个接受纯数据的参数吧，比如 HTML 类型接受源代码，Image ...

Nov 16, 2024 · 2 min read · erio.hashnode.dev  
Read the article

-   [#thinking](https://hashnode.com/tag/thinking)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#ffmpeg](https://hashnode.com/tag/ffmpeg)

## Written by

[Erioifpud](https://hashnode.com/@Erioifpud)

@Erioifpud

  
[View profile](https://hashnode.com/@Erioifpud)

Development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
