Comments (3)
Hi, if you use the Picture Snapshot and Video Snapshot, it is taking a screenshot directly from the OpenGL surface. This means that photo and video are taken much faster, but the Android camera was never actually ordered to take anything, thats why you see no flash. If you want all the camera functionalities you must use the takePicture and recordVideo (no snapshot) versions.
from cameraview.
According to the documentation watermark only works when using snapshot. Anyway, you can manually attach your watermark(bitmap) overlay into the picture using a canvas. And for watermark in video I highly recommend using LiTr. We use it in production for overlay bitmap, gif, and stickers in our videos and works like a champ.
from cameraview.
Thanks buddy for clearing that up but that also means with takePicture()/Video we will not be - able to show the watermark.
from cameraview.
Related Issues (20)
- Exception java.lang.IllegalStateException: at android.media.MediaCodec.native_configure
- mirror issues HOT 1
- CameraView.destroy CameraEngine.destroy ANR (java.util.concurrent.CountDownLatch.await(CountDownLatch.java:278))
- Video Recording not working on some device
- How to set preview and frame orientation
- Activiti Eu Transfer
- NullPointerException at GlTextureDrawer.setFilter
- MediaEncoder drainOutput IllegalStateException
- Camera orientation changed value not sanitized
- Add methods to set ISO and shutter Speed and different kind of focus
- Fatal Exception: java.lang.RuntimeException Error during eglCreateContext (2): EGL error 0x3006 HOT 1
- Crashing when used with AGP 8.2 HOT 1
- NullPointerException HOT 1
- Is it possible to get full Exif data on picture snapshot?
- if i want to com.otaliastudios.cameraview.CameraView on cropview i to get any bitmap or any uri without capture perform cropview please suggest
- FATAL EXCEPTION: VideoEncoder java.lang.IllegalStateException: writeSampleData returned an error
- How should I apply filters and watermark effects to an existing image?
- while setting the setVideoSize for the recording getting error with the size
- App crashed while taking video snapshot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cameraview.