解码·处理·编码Decode, Process, Encode

难度LEVELL1 · 入门L1 · Beginner 领域TOPIC交付

学习目标LEARNING OBJECTIVES

学完你能说清音视频流水线的三步,以及 FFmpeg 与剪辑软件各自的位置。

概念说明CONCEPTS

一条音视频流水线只有三步:

  • 解码——把编码数值还原成帧
  • 处理——缩放、色彩转换、滤镜、合成
  • 编码——把帧压回数值,写进容器

FFmpeg 是命令行驱动的同一条流水线;剪辑/调色软件是同一条流水线,多了做决定的界面。要学的是「该在哪一步做什么」的判断——按钮会变,流水线不会变。

操作步骤STEPS

  1. 把一次导出对应到三步
  2. 指出你的软件里每一步发生在哪
  3. 记住:按钮会变,流水线不会变

练习PRACTICE

动手任务

用一条 FFmpeg 命令转一个格式,标出哪一步是解码、哪一步是编码。

自检清单

做完任务后逐条自查,全部能打勾才算过。

常见问题FAQ

AI 时代还要学这个吗?

要学的是「该在哪一步做什么」的判断——按钮会变,流水线不会变。

FFmpeg 和剪辑、调色软件是什么关系?

同一条流水线——软件只是多了做决定的界面;FFmpeg 是命令行驱动,一次一条或一批。

Learning Objectives学习目标

After this card you can describe the three-stage AV pipeline and where FFmpeg and editing apps each sit.

Concepts概念说明

An audio-video pipeline has three steps: decode — turn the coded values back into frames; process — scaling, colour conversion, filters, compositing; encode — press the frames back into numbers and write the container.

FFmpeg is that same pipeline, command-line driven; editing and grading apps are the same pipeline plus an interface where a human makes the decisions. What you learn is the judgement of what to do at which step — the buttons change, the pipeline doesn't.

Steps操作步骤

  1. Map one export onto the three steps
  2. Point out where each step happens inside your app
  3. Remember: buttons change, the pipeline doesn't

Practice练习

Hands-on task

Run one FFmpeg conversion and mark which part is decode and which is encode.

Self-check

Work through the task, then tick every line; all checked means you own this card.

FAQ常见问题

Do I still need this in the AI era?

What you learn is the judgement of what to do at which step — buttons change, the pipeline doesn't.

How do FFmpeg and edit/grade apps relate?

The same pipeline — apps add an interface for making decisions; FFmpeg is command-line driven, one command or a batch at a time.