S
S
sim-dev2015-10-19 10:40:30
Android
sim-dev, 2015-10-19 10:40:30

Android: recording video stream to 2 files at the same time - is it possible or not?

Is it possible using the android API to record a video stream from a [usb] webcam simultaneously to two different files? I'm trying to understand why video clips are not overlapped in video recorder programs, i.e. why 1-3 seconds before the "limit" on the file size is exhausted, parallel recording to another file does not start.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
benjik, 2015-10-29
@benjik

I won’t tell you about the Android API, but even with the help of GStreamer this is not trivial: you need to dynamically connect filesink to the tee element and turn it off in a timely manner. How to keep track of the size of the file being created is a separate task.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question