展示HN:自动化Final Cut Pro的XML语言
你知道 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://github.com/andrewarrow/cutlass/blob/main/reference/plus_sign.fcpxml">https://github.com/andrewarrow/cutlass/blob/main/reference/p...</a><p>That's a simple plus sign drawn with fcpxml shape language. But there's more! Way more:<p><a href="https://github.com/andrewarrow/cutlass/blob/main/FCPXMLv1_13.dtd">https://github.com/andrewarrow/cutlass/blob/main/FCPXMLv1_13...</a><p>Almost 1000 line DTD file, you can do A LOT. And that's what "cutlass" 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://www.youtube.com/watch?v=nGsnoAiVWvc" rel="nofollow">https://www.youtube.com/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://github.com/resemble-ai/chatterbox">https://github.com/resemble-ai/chatterbox</a>
and
<a href="https://github.com/nari-labs/dia">https://github.com/nari-labs/dia</a> for voices)<p>Do you have an idea for a video we could make using the power of cutlass? Let me know!