Extracting Video Frames and Handling Rotation with JavaCV
JavaCV simplifies processing mulitmedia files in Java, such as generating thumbnails for uploaded videos. A common challenge is that mobile-recorded videos often contain metadata indicating rotation (e.g., 90°, 180°, 270°), which must be corrected to display the image correctly.
Extracting a Specific Frame
The following example captures the 20t ...
Posted on Mon, 01 Jun 2026 17:26:16 +0000 by ohdang888
Converting YUV Video Frames to RGB Format with OpenCV
Objective
Process uncompressed video files stored in YUV format and convert them to RGB for visualization.
Development Environment
Visual Studio 2022
OpenCV 3.4.16
C++17
FFMPEG 6.1.1
Implementation
File paths must use double backslashes (C:\\...) or forward slashes (C:/), as single backslashes are interpreted as escape characters in C++ strin ...
Posted on Sat, 16 May 2026 08:40:09 +0000 by ibechane
Implementing FFmpeg Audio and Video Filters in C
Understanding the FFmpeg Filter HierarchyIn FFmpeg, video and audio processing relies on three fundamental concepts:Filter: The atomic unit that performs a specific transformation on input frames, such as scaling (scale), cropping (crop), or overlaying (overlay).FilterChain: A linear sequence of filters where the output of one filter serves as ...
Posted on Sat, 16 May 2026 01:38:36 +0000 by yes3no2
Implementing Dynamic Watermarks on Images and Videos in Flutter with FFmpeg Kit
Dynamic Watermark GenerationTo ensure the watermark maintains consistent proportions across varying media resolutions, dynamically generate a watermark image using Flutter's canvas rendering engine. This approach combines an icon asset with custom text, converting the result into raw byte data.import 'dart:ui' as ui;
import 'dart:math';
import ...
Posted on Thu, 14 May 2026 03:29:14 +0000 by matthiasone
Video-to-Text Conversion Using FFmpeg and Whisper: A Two-Stage Approach
Introduction
Extracting meaningful textual content from video files has become a critical capability in modern AI applications. This approach leverages FFmpeg for audio extractoin followed by Whisper for speech recognition, creating a robust two-stage pipeline for video understanding.
FFmpeg Overview
FFmpeg is a powerful open-source multimedia ...
Posted on Sun, 10 May 2026 05:25:05 +0000 by enterume