展示HN:一种不同类型的AI视频生成

2作者: fcpguru4 天前原帖
你好!<p>我是安德鲁·阿罗(Andrew Arrow),一名开发者和Final Cut Pro用户。我与FCP的渊源可以追溯到很多年前,我曾尝试将视频编辑作为职业,但最终成为了一名软件开发者。我很久以前就购买了该软件的完整版。值得一提的是,每次我在任何Mac上访问App Store时,仍然可以下载它。我这几年可能经历了20台、30台?我也不太确定,但确实有很多Mac。最近我又下载了一次,注意到了XML导出功能。<p>哇,里面有很多内容。我是说,真的很多。我开始尝试生成XML,这引发了这个项目。<p><a href="https://github.com/andrewarrow/cutlass/blob/main/README.md">https://github.com/andrewarrow/cutlass/blob/main/README.md</a><p>仔细阅读那些Go结构体和XML标签。继续,继续,似乎永远也停不下来!这是一个非常复杂的XML格式,可以描述你能想象的任何时间线、效果或动画。苹果的文档分散,XML notoriously finicky(非常挑剔),一个错误的属性就会导致导入崩溃。<p>当然,借助Claude Code(或其他你喜欢的AI),你可以让你的AI使用cutlass库编写一些惊人的代码。<p>```go // 生成一个具有精确关键帧动画的时间线 video := fcp.Video{<p><pre><code> 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"}, }, }, }}, },</code></pre> } ```<p>所以我并没有用我的人脑写这样的代码。我大部分时间只是告诉Claude我想创建什么样的视频,然后他利用cutlass库来实现。我正在将FCP直接连接到Claude。这是一种不同类型的AI视频生成。<p>非常希望得到反馈,谢谢你读到这里!<br>- 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