Tagged articles
10 articles
Page 1 of 1
Baidu Geek Talk
Baidu Geek Talk
Aug 2, 2022 · Fundamentals

Understanding ffplay: Playback Workflow and Core Components

The article walks through ffplay’s end‑to‑end playback pipeline—starting with protocol and container demuxing, initializing FFmpeg and SDL, spawning read and decoder threads, handling video/audio decoding, synchronizing streams, and finally rendering frames—offering design insights for constructing a basic media player.

Audio-Video SyncMultimediaSDL
0 likes · 18 min read
Understanding ffplay: Playback Workflow and Core Components
Baidu Geek Talk
Baidu Geek Talk
Feb 7, 2022 · Mobile Development

Optimizing Video Playback: Soft/Hardware Decoding Strategies for Baidu Android App

The article evaluates software versus hardware video decoding for Baidu’s Android app, presents benchmark data showing surface‑mode hardware decoding’s superior efficiency, identifies compatibility and first‑frame latency challenges, and proposes a monitoring module plus seamless soft‑to‑hard decoder switching to achieve high hardware‑decode usage while maintaining fast startup and low error rates.

AndroidHardware accelerationMediaCodec
0 likes · 11 min read
Optimizing Video Playback: Soft/Hardware Decoding Strategies for Baidu Android App
Baidu App Technology
Baidu App Technology
Dec 23, 2021 · Mobile Development

Optimizing Android Video Playback: When to Use Soft vs. Hardware Decoding

This article analyzes the trade‑offs between software and hardware video decoding on Android, presents performance measurements for different MediaCodec modes, identifies compatibility and latency challenges, and proposes a decoder‑monitoring system and seamless switch architecture to maximize playback efficiency.

AndroidMediaCodecMobile Development
0 likes · 12 min read
Optimizing Android Video Playback: When to Use Soft vs. Hardware Decoding
Kuaishou Large Model
Kuaishou Large Model
May 28, 2021 · Mobile Development

How to Eliminate High‑Latency Decoding in Moonlight Android for Smooth Game Streaming

This article explains the technical challenges of high‑latency video decoding in Android game streaming with Moonlight, analyzes why it occurs, and provides practical solutions—including API choices, immediate buffer release, frame ordering, and low‑latency vendor configurations—to achieve smoother, low‑delay gameplay.

AndroidC languageLow latency
0 likes · 10 min read
How to Eliminate High‑Latency Decoding in Moonlight Android for Smooth Game Streaming
Taobao Frontend Technology
Taobao Frontend Technology
Mar 31, 2021 · Frontend Development

How to Build a Web H.265 Decoder with WebAssembly and FFmpeg

This article walks through the complete process of creating a browser‑based H.265 video decoder by compiling a trimmed FFmpeg library to WebAssembly, designing a modular player architecture, and integrating the WASM module with JavaScript workers for real‑time playback of high‑resolution streams.

H.265JavaScriptVideo Decoding
0 likes · 22 min read
How to Build a Web H.265 Decoder with WebAssembly and FFmpeg
Tencent Cloud Developer
Tencent Cloud Developer
Jun 15, 2018 · Mobile Development

Technical Deep Dive: Short Video Editing Implementation Principles

Senior Tencent Cloud Video engineer explains that short‑video editing requires decoding compressed MP4/MOV files into frames, applying synchronized audio and visual effects, preprocessing for frame‑by‑frame access to avoid drag‑stutter, generating previews, and re‑encoding, illustrated with a radiating zoom effect example.

Tencent CloudVideo DecodingVideo Editing
0 likes · 12 min read
Technical Deep Dive: Short Video Editing Implementation Principles
Qizhuo Club
Qizhuo Club
Mar 16, 2018 · Mobile Development

How to Decode and Play Video with MediaCodec on Android Using TextureView

This guide walks through using Android's MediaCodec with a TextureView to extract, decode, and render video frames, covering setup of TextureView, MediaExtractor, handling input and output buffers, synchronizing playback with PTS/DTS, and adding audio playback via AudioTrack and Sonic library.

AndroidAudioTrackMediaCodec
0 likes · 14 min read
How to Decode and Play Video with MediaCodec on Android Using TextureView