1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 09-May-2025 15:54 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
Completion of an existing website using the shopify platform. 09-May-2025
09:48 GMT
Travel blog writer needed to write about venue and real wedding 09-May-2025
09:47 GMT
Market entry report for East Africa Speciality tea to UK 09-May-2025
09:43 GMT
Next.js + WordPress Dev — Debug Our Stack, Long-Term Potential 09-May-2025
09:43 GMT
Market access and development for Tea 09-May-2025
09:41 GMT
Social community manager needed 09-May-2025
09:29 GMT
Contact form 7 isn't sending emails 09-May-2025
09:29 GMT
SQL - Excel Macro 09-May-2025
09:29 GMT
Wordpress site Change to new host 09-May-2025
08:58 GMT
Poster Event Style 09-May-2025
08:58 GMT
Romanian-speaking Freelancer for WP Product Upload SEO Content 09-May-2025
08:48 GMT
TPR Logo Redesign 09-May-2025
08:48 GMT
Development of a Web-Based Pharmacy POS 09-May-2025
08:47 GMT
Development of a Centralized Review Platform 09-May-2025
08:45 GMT
Programmer with experience in WIX and Wix Studio. 09-May-2025
08:45 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-2024 1001 Freelance Projects