I am trying to create an application with multiple videos playing at the same time. The application uses different frames on which to record. The problem is stitching those videos together using GPUImage library. I have gone through http://indieambitions.com/idevblogaday/mixing-videos-gpuimage/ and found that it is possible to blend in two videos together into one using the blend filter. My problem is that I want one video on top right and other on bottom left both playing at the same time. I would also want to store the resulting video for sharing. I have tried to look at other resources like AVMutableComposition for writing it down but I will have to apply filters to them later. So I was thinking of having a custom filter made with multiple video sources that gives out the final video.
This question is for @Brad Larson specifically if he can give us some direction as to how to do it.I have also attached an image of the output that I wanted out of a filter/solution.
GPUImage multiple video inputs with offset x and y
981 Views Asked by Nareshkumar At
1
There are 1 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
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 IMAGE-STITCHING
- Opencv stitching planar images
- Opencv Images Orthorectification
- ffmpeg concat with video using image background
- Opencv Image stitching blending (Multiband blending)
- Image stitching not working with more than 3 images
- Matlab: Image stitching and blending
- GPUImage multiple video inputs with offset x and y
- How to detect image location before stitching with OpenCV / C++
- Creating walkable N-E-S-W world from photos
- stitching microscope images of a microchip
- Is there software to stitch together a high number of small digital images without rotating or stretching them?
- OpenCV stitching with georeferencing
- Image stitching Python
- Stitching images of documents - using OpenCV's SURF
- How to properly combine image using OpenCV
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?
From your output it doesn't seem you want mixing two videos. These are two separate video streams, and can be simply displayed using two different UIViews.
The video in your link is blended together using a specific filter called GPUImageColorDodgeBlendFilter. If you read that article thoroughly it talks about other GPU filters too, and the process does not differ much once you know which filter you should be using. Once you know it, it's just playing with certain values (or none at all in case of color dodge filter).
Read this if you want to become aware of blending modes and filters. GPUImage applies same and more filters but with more efficiency due to its use of OpenGL shaders.