展示HN:自动化Final Cut Pro的XML语言

1作者: andrewfromx1 天前原帖
你知道 Final Cut Pro 的 XML 导入导出功能非常强大吗?你有没有打开过这些 XML 文件? 这是一个用 FCPXML 形状语言绘制的简单加号。但这只是开始!还有更多的内容: 几乎有 1000 行的 DTD 文件,你可以做很多事情。而这正是“cutlass”项目的目标。这个开源的 Golang 项目旨在让你轻松处理 FCPXML。一旦你有了可以生成 FCPXML 的代码,你就可以做一些像这样的事情: 这是所有热门 HN 文章标题由 AI 朗读的内容,配有截图和动画。 (使用了 [chatterbox](https://github.com/resemble-ai/chatterbox) 和 [dia](https://github.com/nari-labs/dia) 来生成声音) 你有没有想过可以利用 cutlass 的强大功能制作什么视频?告诉我你的想法!
查看原文
Did you know the final cut pro xml import export is very powerful? Have you ever opened one of those xml files?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;andrewarrow&#x2F;cutlass&#x2F;blob&#x2F;main&#x2F;reference&#x2F;plus_sign.fcpxml">https:&#x2F;&#x2F;github.com&#x2F;andrewarrow&#x2F;cutlass&#x2F;blob&#x2F;main&#x2F;reference&#x2F;p...</a><p>That&#x27;s a simple plus sign drawn with fcpxml shape language. But there&#x27;s more! Way more:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;andrewarrow&#x2F;cutlass&#x2F;blob&#x2F;main&#x2F;FCPXMLv1_13.dtd">https:&#x2F;&#x2F;github.com&#x2F;andrewarrow&#x2F;cutlass&#x2F;blob&#x2F;main&#x2F;FCPXMLv1_13...</a><p>Almost 1000 line DTD file, you can do A LOT. And that&#x27;s what &quot;cutlass&quot; aims to do. Open source golang project to let you slice, dice, and julienne fcpxml. Once you have code that can generate fcpxml you can do stuff like:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=nGsnoAiVWvc" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=nGsnoAiVWvc</a><p>This is all the top HN stories titles read by AI with screenshots and animations.<p>(used <a href="https:&#x2F;&#x2F;github.com&#x2F;resemble-ai&#x2F;chatterbox">https:&#x2F;&#x2F;github.com&#x2F;resemble-ai&#x2F;chatterbox</a> and <a href="https:&#x2F;&#x2F;github.com&#x2F;nari-labs&#x2F;dia">https:&#x2F;&#x2F;github.com&#x2F;nari-labs&#x2F;dia</a> for voices)<p>Do you have an idea for a video we could make using the power of cutlass? Let me know!