Tagged articles
18 articles
Page 1 of 1
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
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Jan 5, 2022 · Mobile Development

How Android’s Video Device Manager Powers WebRTC: Architecture and Optimization

This article explains Android’s Video Device Manager (VDM) within WebRTC, covering the graphics system, Surface/BufferQueue model, capture, encoding, rendering pipelines, cross‑platform implementation layers, and compatibility optimizations, providing developers with a comprehensive view of Android video handling in real‑time communication.

AndroidMediaCodecSurfaceFlinger
0 likes · 14 min read
How Android’s Video Device Manager Powers WebRTC: Architecture and Optimization
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
Meituan Technology Team
Meituan Technology Team
Sep 12, 2019 · Mobile Development

How Meituan Engineered a Scalable Mobile Video Platform: Architecture and Lessons

This article details Meituan's end‑to‑end development of a merchant‑side mobile video feature, covering background needs, architecture design, technology selection, implementation of playback, recording, composition, cutting, processing pipelines, encountered pitfalls, monitoring strategies, and future optimization directions.

AndroidMediaCodecVideo processing
0 likes · 24 min read
How Meituan Engineered a Scalable Mobile Video Platform: Architecture and Lessons
58 Tech
58 Tech
Aug 23, 2019 · Fundamentals

Importance of Video Encoding and Short Video SDK Encoding Solutions

The article explains why video encoding is essential for compression and compatibility, describes the video data processing pipeline, compares four encoding schemes (ffmpeg+x264, openh264, MediaRecorder, MediaCodec) offered by a short‑video SDK, and recommends suitable solutions for various recording and streaming scenarios.

AndroidH264MediaCodec
0 likes · 9 min read
Importance of Video Encoding and Short Video SDK Encoding Solutions
Qizhuo Club
Qizhuo Club
Mar 22, 2018 · Mobile Development

How to Add a Watermark to Android Video Using MediaCodec and OpenGL

This guide explains how to decode a video, render a watermark with OpenGL, re‑encode the frames, and mux them into a new file on Android, covering texture types, viewport positioning, blending, and the required MediaCodec and MediaMuxer code.

AndroidMediaCodecMp4Converter
0 likes · 20 min read
How to Add a Watermark to Android Video Using MediaCodec and OpenGL
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
Qizhuo Club
Qizhuo Club
Mar 20, 2018 · Mobile Development

Extract Video Frames as Images with OpenGL and SurfaceTexture on Android

This guide explains how to convert video stream data into individual bitmap images on Android by using SurfaceTexture to receive decoded frames, OpenGL to render them as external textures, and glReadPixels to capture the RGBA data for saving as PNG files.

AndroidBitmapMediaCodec
0 likes · 19 min read
Extract Video Frames as Images with OpenGL and SurfaceTexture on Android
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
Qizhuo Club
Qizhuo Club
Mar 13, 2018 · Mobile Development

Mastering Android MediaCodec: From Basics to Advanced Video Processing

This article explores Android’s MediaCodec API, detailing its role in hardware video encoding/decoding, buffer management, data types, lifecycle states, and practical code examples, providing developers with a comprehensive guide to implementing advanced video processing features such as watermarking and transcoding on mobile devices.

AndroidHardware DecodingMediaCodec
0 likes · 10 min read
Mastering Android MediaCodec: From Basics to Advanced Video Processing
21CTO
21CTO
Sep 13, 2017 · Mobile Development

Mastering Android Video Encoding: Choosing Encoders and Optimizing YUV Processing

This article examines Android video recording challenges, compares hardware (MediaCodec) and software (FFmpeg + x264/openh264) encoders, highlights device‑specific pitfalls such as color‑format support and alignment, and presents fast NEON‑based algorithms for scaling, rotation, and mirroring of YUV frames.

AndroidHardware accelerationMediaCodec
0 likes · 12 min read
Mastering Android Video Encoding: Choosing Encoders and Optimizing YUV Processing
WeChat Client Technology Team
WeChat Client Technology Team
Aug 23, 2017 · Mobile Development

Mastering Android Video Encoding: Choosing Codecs and Optimizing YUV Processing

This article examines Android video encoding challenges, compares hardware (MediaCodec) and software (FFmpeg+x264/openh264) codecs, and presents fast YUV frame preprocessing techniques—including scaling, rotation, and mirroring—using NEON optimizations to achieve high‑quality, low‑latency recordings.

AndroidMediaCodecNEON Optimization
0 likes · 15 min read
Mastering Android Video Encoding: Choosing Codecs and Optimizing YUV Processing