1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 01-May-2025 12:07 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
Spanish Admins & Presidents 01-May-2025
09:21 GMT
Redesign cv 01-May-2025
09:21 GMT
Graphic Designer Specialising in Fashion Design 01-May-2025
09:08 GMT
BTRFS Hetzner EFI issu 01-May-2025
09:07 GMT
Infographic step by step guide on how to use our product. 01-May-2025
08:38 GMT
Gross Margin Specialist – COGS, Supplier & Efficiency Focus 01-May-2025
08:38 GMT
Playtest Our Indie Fishing Game (Windows PC) 01-May-2025
08:32 GMT
I need a back ground image for my app 01-May-2025
08:30 GMT
Wix Landing Page 01-May-2025
08:30 GMT
we need a human resources expert to help us sourcing candidates 01-May-2025
08:29 GMT
CLTV Growth Specialist – Ecom Retention & Loyalty Expert 01-May-2025
08:06 GMT
Creative Strategist – High-Performance Direct Response Ads 01-May-2025
07:55 GMT
Paid Ads Manager – CAC Recovery Specialist 01-May-2025
07:55 GMT
Senior Blockchain QA Engineer (DeFi & Digital Assets) 01-May-2025
07:54 GMT
Looking for a Google Ads Expert (Freelancer) 01-May-2025
07:51 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)

Long URL:
www.1001freelanceprojects.com
Mobile version:
m.1001fp.com
Copyright © 2005-2024 1001 Freelance Projects