驭龙
There’s a new sheriff down Vimeo way, if by sheriff you mean Falkor, our next-gen transcoding infrastructure (and favorite fantasy 1980s dog dragon). It’s faster and more reliable than what came before, and its cloud-native nature brings us into the future with style. I’m here to tell you all about it.
在Vimeo的路上有一个新的警长,如果你说的警长是指Falkor,我们的下一代转码基础设施(和最喜欢的1980年代的狗龙)。它比以前的东西更快、更可靠,它的云原生性将我们带入未来的风格。我在这里告诉你关于它的一切。
First, some history
首先,一些历史
Falkor is replacing a transcoding stack called Tron, which dates all the way back to 2013. Tron has the following characteristics:
Falkor正在取代一个名为Tron的转码堆栈,它可以一直追溯到2013年。Tron有以下特点。
- It outputs progressive MP4 with both audio and video.
- 它可以输出具有音频和视频的渐进式MP4。
- It downloads the whole source file locally and transcodes it to the desired profile and uploads the result to cloud storage.
- 它在本地下载整个源文件,并将其转码为所需的配置文件,然后将结果上传至云存储。
Tron was designed for the pre-cloud Vimeo, back when we were running our own data center (although it does take advantage of Spot instances, which help us to optimize costs). These days we’re in the cloud with Google Cloud.
Tron是为云计算之前的Vimeo设计的,当时我们正在运行自己的数据中心(尽管它确实利用了Spot实例,这有助于我们优化成本)。这些天,我们在云中使用谷歌云。
Even though Tron is ten years old, we haven’t completely retired it yet. It still handles some edge cases that Falkor can’t manage; more on that in a little while.
尽管Tron已经十年了,但我们还没有完全让它退休。它仍然可以处理一些Falkor无法处理的边缘情况;一会儿会有更多关于这个问题的内容。
Why Falkor?
为什么是Falkor?
The earliest seeds of the new infrastructure can be traced to 2011, before Tron was even a thing. But we started working on it in earnest in late 2019 with several goals in mind.
新基础设施的最早种子可以追溯到2011年,当时Tron还没有出现。但我们在2019年底开始认真工作,有几个目标。
To input from the original source file
要从原始源文件中输入
This is a continuation of what we did with Tron. Using the original source file as the input of transcodes whenever possible maximizes the quality of the output. Otherwise we’re stuck with mezzanine files; these are already transcoded, and given that transcoding is a lossy process, using the mezzanine as a source for other transcodes results in ...