Tagged articles
7 articles
Page 1 of 1
dbaplus Community
dbaplus Community
May 10, 2026 · Operations

How a Single FFmpeg Command Can Cut CDN Video Bandwidth Costs by 90%

An investigation revealed that a 1 GB MP4 video streamed to 2,500 users consumed 120 TB of CDN bandwidth because the file’s moov box was placed at the end and the audio‑video tracks were poorly interleaved, causing thousands of HTTP 206 range requests; moving the moov box to the file header with a simple ffmpeg command eliminated the excess requests and reduced bandwidth usage to the video’s actual size.

CDNbandwidthfaststart
0 likes · 12 min read
How a Single FFmpeg Command Can Cut CDN Video Bandwidth Costs by 90%
ITPUB
ITPUB
Feb 8, 2026 · Fundamentals

Why Chrome Sends Hundreds of 206 Requests for One MP4 and How FFmpeg Fixes It

An MP4 video with a misplaced moov box and poor interleaving caused Chrome to issue an initial three 206 requests followed by thousands of range‑jumping requests, inflating CDN traffic, while re‑encoding the file with FFmpeg faststart eliminated the excess requests and restored normal bandwidth usage.

ChromeFile InterleavingHTTP 206
0 likes · 14 min read
Why Chrome Sends Hundreds of 206 Requests for One MP4 and How FFmpeg Fixes It
Bilibili Tech
Bilibili Tech
Jan 30, 2024 · Frontend Development

Efficient Video Frame Extraction Using WebCodecs on Bilibili's Web Upload Page

Bilibili’s web upload page now uses the browser‑native WebCodecs API to decode video frames client‑side, replacing slower Canvas and Wasm‑FFmpeg pipelines, achieving 2.5–5× faster cover‑frame extraction with lower memory use, while supporting MP4/WebM and improving user experience.

Video Frame ExtractionWebAssemblyWebCodecs
0 likes · 12 min read
Efficient Video Frame Extraction Using WebCodecs on Bilibili's Web Upload Page
Xianyu Technology
Xianyu Technology
Dec 20, 2018 · Operations

Optimizing Short Video Playback with Preloading and Proxy Caching

By preloading the MP4 header and initial frames and routing playback through a local proxy that caches range‑requested segments in an LRU disk store, the system moves the moov box to the file start (or fetches it separately), cutting short‑video start‑up latency to roughly 800 ms and delivering near‑instant playback.

ProxyStreamingcaching
0 likes · 13 min read
Optimizing Short Video Playback with Preloading and Proxy Caching
Qizhuo Club
Qizhuo Club
Mar 21, 2018 · Mobile Development

How to Encode and Mux MP4 Video on Android Using MediaCodec and MediaMuxer

This tutorial explains how to use Android's MediaCodec to encode video frames—either via byte arrays or an input Surface—and then combine the encoded video with audio using MediaMuxer to produce a synchronized MP4 file, complete with code samples and step‑by‑step guidance.

AndroidMediaCodecMediaMuxer
0 likes · 17 min read
How to Encode and Mux MP4 Video on Android Using MediaCodec and MediaMuxer
Tencent Music Tech Team
Tencent Music Tech Team
Apr 21, 2017 · Fundamentals

Understanding M4A File Structure and Using the Sample Table Box for Random Access

The article outlines the MP4‑based M4A container’s hierarchical box format, details the Sample Table (stbl) and its essential sub‑boxes (stts, stsc, stco/co64, stsz) that map playback time to file offsets, explains time‑scale conversion, optional boxes, and provides pseudo‑code and parsing tips for precise random‑access seeking.

M4AMedia File FormatSample Table Box
0 likes · 14 min read
Understanding M4A File Structure and Using the Sample Table Box for Random Access