Show HN: 一种与众不同的 AI 视频生成方式

2作者: fcpguru7 个月前
你好! 我是 Andrew Arrow,一名开发者,也是 Final Cut Pro 的用户。我接触 FCP 已经很多年了,曾经想以此为职业,但最终成了一名软件开发者。很久很久以前,我就购买了该软件的完整版。不得不说,苹果做得很好,每次我在任何 Mac 上的 App Store 中,仍然可以下载它。这些年来,我肯定用过 20 台、30 台?我也不知道,反正用过很多 Mac。就在最近,我又下载了它,注意到了 XML 导出功能。 哇。里面有很多东西。真的很多。我开始尝试生成 XML,然后就有了这个项目。 [https://github.com/andrewarrow/cutlass/blob/main/README.md](https://github.com/andrewarrow/cutlass/blob/main/README.md) 阅读那些 go 结构体和 xml 标签。一直读下去。读下去。简直没完没了!这是一种非常复杂的 XML 格式,可以描述你所能想象的任何时间线、效果或动画。苹果的文档很分散,XML 以挑剔而闻名,一个错误的属性就会导致导入崩溃。 当然,有了 Claude Code(或其他,选择你最喜欢的 AI),你就可以用 cutlass 让你的 AI 用 go 写出一些惊人的东西。 ```go // 生成一个带有精确关键帧动画的时间线 video := fcp.Video{ Ref: assetID, Offset: "0s", Duration: fcp.ConvertSecondsToFCPDuration(10.0), AdjustTransform: &fcp.AdjustTransform{ Params: []fcp.Param{{ Name: "position", KeyframeAnimation: &fcp.KeyframeAnimation{ Keyframes: []fcp.Keyframe{ {Time: "0s", Value: "0 0"}, {Time: "240240/24000s", Value: "100 50"}, }, }, }}, }, } ``` 所以,我没有用我的人脑写这样的代码。我大部分时间都在告诉 Claude 我想创建的视频,然后它使用 cutlass 库来实现。我正在将 FCP 直接连接到 Claude。一种不同的人工智能视频生成方式。 欢迎反馈,感谢您读到这里! -aa
查看原文
Hello!<p>I&#x27;m Andrew Arrow, a developer and Final Cut Pro user. My history with FCP goes back years and years, I tried to be a video editor as a career but ended up a software developer. I purchased the full version of the software a long, long time ago. And to Apple&#x27;s credit, every single time I goto the App Store on any mac I still have access to download it. I must have been through 20, 30? I don&#x27;t know, but a lot of macs over the years. Just recently I downloaded it again and noticed the XML Export feature.<p>Wow. There&#x27;s a lot of stuff there. I mean a lot. I started playing around with generating the XML and that has lead to this project.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;andrewarrow&#x2F;cutlass&#x2F;blob&#x2F;main&#x2F;README.md">https:&#x2F;&#x2F;github.com&#x2F;andrewarrow&#x2F;cutlass&#x2F;blob&#x2F;main&#x2F;README.md</a><p>Read through those go structs and xml tags. Keep going. And going. It just never stops! It&#x27;s a very sophisticated XML format that can describe any timeline, effect, or animation you can imagine. Apple&#x27;s documentation is scattered, the XML is notoriously finicky, and one wrong attribute crashes your import.<p>And of course with Claude Code (or others, pick your favorite AI) you can have your AI write some amazing things in go using cutlass.<p>```go &#x2F;&#x2F; Generate a timeline with precise keyframe animations<p>video := fcp.Video{<p><pre><code> Ref: assetID, Offset: &quot;0s&quot;, Duration: fcp.ConvertSecondsToFCPDuration(10.0), AdjustTransform: &amp;fcp.AdjustTransform{ Params: []fcp.Param{{ Name: &quot;position&quot;, KeyframeAnimation: &amp;fcp.KeyframeAnimation{ Keyframes: []fcp.Keyframe{ {Time: &quot;0s&quot;, Value: &quot;0 0&quot;}, {Time: &quot;240240&#x2F;24000s&quot;, Value: &quot;100 50&quot;}, }, }, }}, },</code></pre> } ```<p>So I haven&#x27;t been writing code like that with my human brain. I spend most of my time just telling Claude the video I want to create, and he useless the cutlass library to achieve it. I&#x27;m hooking up FCP directly to Claude. A different kind of AI Video generation.<p>Would love feedback, thanks for reading this far! -aa