I want to record video by camera in my Android device. I need to add overlay image over recorded movie. In iOS I would use GPUImage. In Android I found Android GPUImage. I tried to use it but I didn't found any way to add any filter while video recording. In provided example I could add filters only for taking photos. Is there any ways to record video with filters with Android GPUImage? Is there any other ways to add images overlay over recording video in realtime? If not, is there any ways to add images overlay over recorded video in postprocessing?
Add overlay while record video on Android
5.2k Views Asked by Sayaki At
2
There are 2 best solutions below
0
hoangdado
On
This project (MagicCamera) has many multiple input filters. You can write your own fragment shader to overlay an image on camera texture (similar to MagicN1977Filter). It also includes video recording.
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in VIDEO
- How to open and read video stream in Matlab
- Extract bytes of specific stream from mpegts file using ffmpeg
- AVQueuePlayer crashes when I try to observe the start of the next video: AVPlayerItem was deallocated with observers
- How to get the time stamp of each frame of a GoPro video in MATLAB?
- DFP Videos Ads Internal error
- Get youtube video information using javascript and Youtube-API
- YouTube views not counting on Wordpress embed
- Videos not working on phones using HTML
- How to track multiple youtube videos in google analytics
- Cloudfront stream only part of the video
- Changing switch statement to include both mp4 and ogg files
- How to detect squares in video with OpenCV?
- Saving iOS video buffer
- dynamic video source change issue in azure media player
- Video Editing For Android
Related Questions in GPUIMAGE
- Port iOS GPUImageBilateralFilter to Android
- GPUImage - low FPS
- What is the GPUImage "Hue+Colorize" filter ?
- ios making Masked BlurView with Stroke
- Find lines in image with endpoints using GPUImage
- How to add FishEye distortion to UIImage using GPUImage or any other Lib?
- Add dynamic text GPUImage
- How to add a watermark to GPUImageVideoCamera
- Add Dynamic text GPUImage to filtered video
- GPUImage 2 filters in collectionview
- Finding GPUImage framework headers
- Creating an algorithm to find red intensity of the frames of a video using GPUImage
- Manipulating CVPixelBufferRef Height and Width
- GPUImage Histogram Equalization
- Capture Filtered Image with GPUImage and Save to Photo Library with Metadata
Related Questions in ANDROID-GPUIMAGEVIEW
- Adapting Grafika RecordFBOActivity to work with Android GPUImage
- GPUImageView setImage(bitmap) is not working correctly for second time
- Zooming and translate GPUImageView android
- GpuImage does not render properly
- Rotation of view in android-gpuimage
- How to give multiple bitmaps as inputs in gpuimage?
- Don't know why GPUImageFilterGroup use flipped frame buffer when drawing the filter in even position
- Android GPUImageView upside down
- Android studio Why GPUImageView is not fitting a bitmap inside it , rather it zoom the bitmap and some area get cropped as it does not fit in screen
- Android GPUImage filter equivalent of Instagram's "Fade"?
- Android - Add text or image while recording video?
- How to use GPUImage for Android to get bitmap thumbnails for multiple filters
- Is it possible to use GPUImageView/ GLSurfaceview in recycler view?
- Android Camera motion blur effect
- How to add filter effects to camera preview for choosing a filter before taking picture?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can add an overlay image on video using a blend filter.
About video recording: android-gpuimage library does not support it but you can try using the android-gpuimage-videorecording library. It is a fork of the gpu-image for android that provides also the video recording functionality
android-gpuimage-videorecording
see the GPUImageMovieWriter class
It should point you in the right direction for developing your own video writer on top of GPUImage.
The idea is to:
other useful links: EGL surface helper, Media encoder