Giter Site home page Giter Site logo

Dual camera recorder about uvccamera HOT 3 CLOSED

saki4510t avatar saki4510t commented on August 14, 2024
Dual camera recorder

from uvccamera.

Comments (3)

saki4510t avatar saki4510t commented on August 14, 2024

Hi,
I assume you tried to record audio for both video at the same time. Unfortunately app can not access audio device(mic) at the same time on Android. If you don't need to record audio, try to disable it.
As a sample, I add movie recording(w/o audio) for each camera on UsbCameraTest7.

If you want to record audio into to two or more movie at the same time, you need to make a special wrapper class to access audio(mic) and distribute audio data to each encoder.
saki

from uvccamera.

pricsko avatar pricsko commented on August 14, 2024

Thank you very much, i will check it, and find out how to record audio for both :)

from uvccamera.

pricsko avatar pricsko commented on August 14, 2024

Hi,

I think You can close this issue too.
The solution is pretty simple :
new MediaAudioEncoder(mMuxer_left, mMuxer_right, mMediaEncoderListener, mMediaEncoderListener2); (rest is obvious - create new MediaAudioEncoder constructor, so the VideoEncoder can still call the original one, and change every muxer related code in MediaEncoder.java of course with a new constructor too.)

mMediaEncoderListener2 is just for getting the outputpath of the second muxer.

from uvccamera.

Related Issues (20)

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.