GithubHelp home page GithubHelp logo

awaiskhansar / dual-camera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ahmeturun/dual-camera

0.0 2.0 0.0 35.4 MB

Taking picture from both front and back cameras

Java 99.98% RenderScript 0.02%

dual-camera's Introduction

Dual-Camera

Encoding video of both front and back side cameras in one video file using MediaCodec. This apps purpose is to reduce the workload of video decoding on the processor. The idea of doing this came out from the records of the CCTV cameras on a truck. Since there are many cameras on a truck for security, analyzing this records simultaneously requires a powerful processor or before analyzing, all this records need to be merged into one file with some software.

With this project we show that with using efficient merging technique during the recoding on Android platform there no need to use another software for merging the records after the recording session finished.

The two streams from front and back cameras on an android phone has been merged successfully and at the analying process instead of decoding two video files only one video file can be decoded. Currently the resolution is at the 640 * 480 value for each stream (which makes the resolution of the resulted video 640 * 960) with 30fps frame rate for the merged video. Tested frame rate for 1280 * 720 resolution value is 18fps.

You can download a sample of the mp4 file created using this app from this link.

dual-camera's People

Contributors

ahmeturun avatar

Watchers

James Cloos avatar AwaisKhansar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.