1001 Freelance Projects
Latest Projects from
Freelance Marketplaces
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
Product Promo Video Editor
Category: Adobe Premiere Pro, After Effects, DaVinci Resolve, Final Cut Pro, Video Editing, Video Post Editing, Video Production, Video Services
Budget: ₹600 - ₹1500 INR
01 Sep 2025 16:04 GMT
Python Variable Name Consistency Check
Category: Excel, Python
Budget: $10 - $130 USD
01 Sep 2025 16:03 GMT
Intermediate Architectural AutoCAD Layout
Category: 2D Drafting, AutoCAD, Building Architecture, Building Design, CAD / CAM, Construction, Construction Management, Drafting
Budget: $250 - $750 USD
01 Sep 2025 16:02 GMT
YouTube Short Video Editor Needed
Category: Adobe Premiere Pro, After Effects, DaVinci Resolve, Final Cut Pro, Video Editing, Video Post Editing, Video Production, Video Services
Budget: ₹600 - ₹1500 INR
01 Sep 2025 16:00 GMT
Creador(a) de Contenido - Pago Fijo + Comisiones
Category: Content Creation, Content Strategy, Creative Writing, Digital Marketing, Social Media Management, Social Media Marketing, Video Editing, Video Production
Budget: $250 - $750 USD
01 Sep 2025 16:00 GMT
Corporate Media Motion Video Creation
Category: After Effects, Animation, Creative Design, Graphic Design, Motion Graphics, Video Editing, Video Post Editing, Video Production, Video Services, Visual Design
Budget: $250 - $750 USD
01 Sep 2025 16:00 GMT
Desain grafis Konten Media Sosial
Category: Corporate Identity, Graphic Design, Illustration, Photoshop
Budget: $15 - $25 USD
01 Sep 2025 16:00 GMT
Senior React Developer for Multi-Chain dApps
Category: Agile Development, Blockchain, Ethereum, JavaScript, Smart Contracts, Software Development, Solana, Version Control Git
Budget: $25 - $50 USD
01 Sep 2025 15:58 GMT
Taxi Fare Estimator Website
Category: API Integration, Frontend Development, HTML, JavaScript, PHP, Vue.js, Web Development, Web Design
Budget: ₹750 - ₹1250 INR
01 Sep 2025 15:58 GMT
Growth-Stage Investor Pitch Deck
Category: Branding, Business Analysis, Content Strategy, Data Visualization, Graphic Design, Market Research, Marketing Strategy, Pitch Deck Writing, Powerpoint
Budget: ₹12500 - ₹37500 INR
01 Sep 2025 15:58 GMT
Proyecto Ejecutivo – Edificio de Departamentos (Cancún)
Category: 3D Modelling, 3D Rendering, AutoCAD, Building Architecture, SketchUp
Budget: $250 - $750 USD
01 Sep 2025 15:57 GMT
Bespoke Formal Fashion Design
Category: Adobe Illustrator, Concept Design, Embroidery, Fashion Design, Graphic Design, Logo Design, Pattern Making, Textile Design
Budget: min $100000 USD
01 Sep 2025 15:57 GMT
Laravel Developer – VPS, VPN, SMPP & SMS Gateway
Category: Apache, API Integration, Laravel, Linux, Performance Tuning, Redis, System Administration, Ubuntu, VPS, Web Development
Budget: $30 - $250 USD
01 Sep 2025 15:57 GMT
AC Universal Communication Translator Design
Category: Bluetooth, C, Programming, Embedded Software, Embedded Systems, Firmware, I2C, Mobile App Development, PCB Design And Layout, Signal Processing, STM32
Budget: ₹75000 - ₹150000 INR
01 Sep 2025 15:56 GMT
Lease Calculator Promo Animation
Category: 2D Animation, After Effects, Animation, Elementor, JavaScript, Lottie, Web Design, WordPress
Budget: £10 - £20 GBP
01 Sep 2025 15:55 GMT
Browse All Projects
Projects by Skills ...
android
ajax
asp
aspnet
cms
cpp
csharp
css
delphi
design
drupal
excel
facebook
flash
html
java
javascript
joomla
iphone
mysql
photoshop
php
python
ruby
seo
sql
sysadm
translate
typing
twitter
vbnet
xml
wordpress
writing
New!
Проекты на русском
(Projects in Russian)

Copyright © 2005-2024
1001 Freelance Projects