Tag

MediaCodec

0 views collected around this technical thread.

Ctrip Technology
Ctrip Technology
Nov 9, 2023 · Mobile Development

Using Native Android and iOS APIs to Add Transition Effects and Encode Images into Video

This article explains the fundamentals of audio‑video concepts and demonstrates how to use Android's MediaCodec, EGL, MediaMuxer and iOS's AVAssetWriter, GPUImage, and related native APIs to render OpenGL transition effects on images and combine them with audio into a final video file.

AVFoundationAndroidMediaCodec
0 likes · 23 min read
Using Native Android and iOS APIs to Add Transition Effects and Encode Images into Video
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.

AndroidFFmpegMediaCodec
0 likes · 11 min read
Optimizing Video Playback: Soft/Hardware Decoding Strategies for Baidu Android App
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
58 Tech
58 Tech
Aug 27, 2019 · Mobile Development

Understanding and Practicing Android MediaCodec for Audio/Video Encoding and Decoding

This article explains the fundamentals of Android MediaCodec, its advantages over software codecs, usage patterns, supported MIME types, practical implementations for video editing and live streaming, and presents a performance comparison showing lower CPU and memory consumption.

AndroidAudioEncodingMediaCodec
0 likes · 10 min read
Understanding and Practicing Android MediaCodec for Audio/Video Encoding and Decoding
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.

AndroidFFmpegH264
0 likes · 9 min read
Importance of Video Encoding and Short Video SDK Encoding Solutions