-
-
Notifications
You must be signed in to change notification settings - Fork 730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Video surveillance doesn't work and influences the whole app #295
Comments
I've been thinking of not using the MediaRecorder for video recording, and instead just capture multiple preview frames and encode them into an MP4. |
Using this for example: https://developer.android.com/reference/android/media/MediaCodec |
Great idea going the MediaCodec route, much less demanding of the device. Note: |
- uses the https://github.com/siralam/CameraViewPlus library to make the camera usage more reliable, and support Camera2 - integrates RenderScript support to move to better performance on some image conversion functions - improves display and performance of detection display overlay
I have something working with JCodec now, but it is too slow. I've checked in some code that uses MediaCodec into my branch but not fully working yet. |
Try latest 0.2.0 alpha 2 build. Video is improved, though low framerate for now. |
In the interest of freedom and openness, I suggest these instead of MP4:
and if audio is a separate choice, then "vorbis" would win the Richard Stallman seal of approval. |
Sure... it comes down to right now which formats we can easily encode into, and that apps like Signal or Orfox/Tor Browser can play back. We are using JCodec http://jcodec.org/ to do video encoding at the moment. We need to find a way to encode into VP8/9 and WebM in the software, not hardware layer... This looks like a good place to start: https://github.com/magicsih/AndroidScreenCaster |
I'm using haven in my android phone, if video surveillance is enabled no log is recorded on the phone and sent to my Signal device, so if i enable video surveillance Haven doesn't work at all.
My phone is a Samsung Galaxy J3 (2016) Version of Android 5.1.1 Kernel version 3.10.65-12057946
The text was updated successfully, but these errors were encountered: