<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ffmpeg on 施国鹏 (seth-shi)</title><link>https://sethix.com/zh-cn/tags/ffmpeg/</link><description>Recent content in ffmpeg on 施国鹏 (seth-shi)</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Fri, 14 Mar 2025 16:05:31 +0800</lastBuildDate><atom:link href="https://sethix.com/zh-cn/tags/ffmpeg/index.xml" rel="self" type="application/rss+xml"/><item><title>深入理解 HTTP Range 与视频流媒体播放机制</title><link>https://sethix.com/zh-cn/posts/2025031416/</link><pubDate>Fri, 14 Mar 2025 16:05:31 +0800</pubDate><guid>https://sethix.com/zh-cn/posts/2025031416/</guid><description>MP4 文件结构深入解析 如果是元数据在文件开头，那么[mdat]和[moov]替换位置 +---------------------------------------------------------------+ | MP4 文件结构 | | | | +--------+ +--------+ +--------+ | | | [ftyp] | -------&amp;gt; | [mdat] | -------&amp;gt; | [moov] | | | +--------+ +--------+ +--------+ | | 文件类型标识 媒体数据 元数据容器 | | | | | +---------------------+ | | | | | +--------------------------------------------------+ | | | [moov] | | | | +-----------------------------+ | | | | | [mvhd] | | | | | +-----------------------------+ | | | | 影片头部信息 | | | | | | | | +-----------------------------+ | | | | | [trak] | | | | | +-----------------------------+ | | | | 轨道信息 | | | | / \ | | | | / \ | | | | +-------------+ +-------------+ | | | | | [tkhd] | | [mdia] | | | | | +-------------+ +-------------+ | | | | 轨道头信息 媒体信息 | | | | | | | | | | | | | | +------------------+ | | | | | [minf] | | | | | +------------------+ | | | | 媒体信息容器 | | | | / \ | | | | / \ | | | | +-------------+ +-------------+ | | | | | [vmhd/smhd] | | [stbl] | | | | | +-------------+ +-------------+ | | | | 视频/音频信息 样本表 | | | | | | | | | +------------------+ | | | | | | | | | | | +-------------+ | | | | | | | [stsd] | | | | | | | +-------------+ | | | | | | 样本描述 | | | | | | | | | | | | +-------------+ | | | | | | | [stts] | | | | | | | +-------------+ | | | | | | 时间到样本映射 | | | | | | | | | | | | +-------------+ | | | | | | | [stss] | | | | | | | +-------------+ | | | | | | 同步样本表 | | | | | | | | | | | | +-------------+ | | | | | | | [stsz] | | | | | | | +-------------+ | | | | | | 样本大小 | | | | | +------------------+ | | | +--------------------------------------------------+ | | | +---------------------------------------------------------------+ HTTP Range 请求机制详解 HTTP Range请求是HTTP/1.</description></item></channel></rss>