1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 05-Feb-2026 12:48 GMT
View Project
View this project in detail (Note: you will be redirected to external marketplace)
Project title: Android App Bug Fix - Video Overlays (OpenGL Compositing)
Posted by: External project from PeoplePerHour
Started: 24-Mar-2025 02:02 GMT
Description: I've been deveoping an android app (using ChatGPT - I have no real android development knowledge!) which animates a dog's mouth through the camera feed. I had the app working okay but with some latency between the camera feed and the overlay (using CameraX and a PreviewView), so I tried to update it to an offscreen rendering approach, using an EGL context and MediaCodec surface to render the camera feed plus overlays into a single composited output.

However, the I have not implemented this correclty and the camera feed is just showing a black screen.

Here's ChatGPT's summary of what we had originally (working) and what we changed it to. Both of these approaches are saved on different github branches which you will have access to. You can see the previously working version on the master branch, and the newly updated (not working) version on a test branch.

What We Had Originally
- An Android app (Kotlin) using CameraX and a PreviewView to display the live camera feed.
- A BoundingBoxOverlay custom View drawn on top for YOLO pose detection (dog’s mouth, eyes, etc.).
- We wanted to animate the dog’s mouth in sync with audio but were limited by the traditional overlay.

What We Changed It To
Offscreen Rendering Approach:
- Created an EGL context and MediaCodec surface (via OffscreenRenderer.kt) to render the camera feed plus overlays into a single composited output.
- The camera feed is now provided by a SurfaceTexture created from an external OES texture (rather than using PreviewView).
- CameraX is configured to output frames to that SurfaceTexture.
- A custom pipeline composites the camera and any overlays (animated mouth, etc.) in OpenGL, then encodes to a video file with MediaCodec.

What We’re Trying to Achieve
A Snapchat-like pipeline:
- Grab the camera feed directly via a SurfaceTexture (external OES texture).
- Apply real-time overlays/filters (like mouth animation, hats, glasses) in OpenGL.
- Composite everything offscreen and encode it into a video file (for recording).
- Avoid the performance constraints of standard Android Views by relying on OpenGL compositing (similar to Snapchat filters).

Despite these changes, the feed currently displays a black screen. We suspect an issue with the GL pipeline, resolution mismatch, or camera frames not drawing as intended.

Goal: Fix the offscreen renderer so that camera frames plus overlays appear in real time, and video recording also works as expected.
Project ID: 3427633
Project category:
Project budget:
View this project in detail (Note: you will be redirected to external marketplace)
Last Projects / Browse Projects
  Project Started
We need to have a brochure revised. 05-Feb-2026
10:15 GMT
Redesign Media Pack & Create New Charity Media Pack 05-Feb-2026
10:10 GMT
New brochure for a new loyalty platform aimed at small studios 05-Feb-2026
09:18 GMT
OELN Sketch 05-Feb-2026
09:17 GMT
Clean rebuild of working 3D prototype into production-ready CAD 05-Feb-2026
06:54 GMT
Need realistic interior and exterior rendering 05-Feb-2026
06:52 GMT
Complete existing Android (Kotlin) app to match React Native app 05-Feb-2026
06:02 GMT
Frontend Developer Needed – Marketplace Platform 05-Feb-2026
05:19 GMT
CONTRACT ENGINEER (IoT / Automation / Integration) 05-Feb-2026
05:18 GMT
Recording a short on-camera video IN ENGLISH, ready-made script 05-Feb-2026
05:16 GMT
DM Setter / Conversation Manager 05-Feb-2026
05:16 GMT
Remote Inbound Call Handler (Daily Pay+Training+Referral Bonus) 05-Feb-2026
05:11 GMT
Překlad webového obsahu CZ ↔ EN 05-Feb-2026
05:11 GMT
Competition Website Setup 05-Feb-2026
05:08 GMT
Facebook Ads Expert Needed for Online Course (Motorcycle Niche) 05-Feb-2026
05:08 GMT
Browse All Projects
Projects by Skills ...
Projects for 'android'
Projects for 'ajax'
Projects for 'asp'
Projects for 'aspnet'
Projects for 'cms'
Projects for 'cpp'
Projects for 'csharp'
Projects for 'css'
Projects for 'delphi'
Projects for 'design'
Projects for 'drupal'
Projects for 'excel'
Projects for 'facebook'
Projects for 'flash'
Projects for 'html'
Projects for 'java'
Projects for 'javascript'
Projects for 'joomla'
Projects for 'iphone'
Projects for 'mysql'
Projects for 'photoshop'
Projects for 'php'
Projects for 'python'
Projects for 'ruby'
Projects for 'seo'
Projects for 'sql'
Projects for 'sysadm'
Projects for 'translate'
Projects for 'typing'
Projects for 'twitter'
Projects for 'vbnet'
Projects for 'xml'
Projects for 'wordpress'
Projects for 'writing'
Read RSS feeds ... New!
RSS feed for 'android'
RSS feed for 'ajax'
RSS feed for 'asp'
RSS feed for 'aspnet'
RSS feed for 'cms'
RSS feed for 'cpp'
RSS feed for 'csharp'
RSS feed for 'css'
RSS feed for 'delphi'
RSS feed for 'design'
RSS feed for 'drupal'
RSS feed for 'excel'
RSS feed for 'facebook'
RSS feed for 'flash'
RSS feed for 'html'
RSS feed for 'java'
RSS feed for 'javascript'
RSS feed for 'joomla'
RSS feed for 'iphone'
RSS feed for 'mysql'
RSS feed for 'photoshop'
RSS feed for 'php'
RSS feed for 'python'
RSS feed for 'ruby'
RSS feed for 'seo'
RSS feed for 'sql'
RSS feed for 'sysadm'
RSS feed for 'translate'
RSS feed for 'typing'
RSS feed for 'twitter'
RSS feed for 'vbnet'
RSS feed for 'xml'
RSS feed for 'wordpress'
RSS feed for 'writing'
New!
Проекты на русском
(Projects in Russian)

Short URL:
1001fp.com
Mobile version:
m.1001freelanceprojects.com
Copyright © 2005-2025 1001 Freelance Projects