Open aabanaag opened 9 years ago
Hey Alexis,
You can't, you need to use SCAssetExportSession. The mergeSegmentsWithPreset may disappear in the future, as it provides little configuration and is therefore not a good choice for most case.
On Saturday, May 23, 2015, Alexis A. Banaag Jr. notifications@github.com wrote:
Hi,
I've asked before on how to add a watermark without using an Image and it got closed. My question now is in VideoConfiguration you can set a watermark but whenever I export the video the watermark is not added. How could I achieve this if I were to use mergeSegmentsWithPreset to export the video instead on the SCAssetExportSession route?
— Reply to this email directly or view it on GitHub https://github.com/rFlex/SCRecorder/issues/164.
oh. okay. thanks,
one quick question though.. Will there be a way to add watermark per frame or per segment? My app requires a timestamp kind of watermark so the SCAssetExportSession will not work for me since the watermark will be added when the segments are merged and exported.
It's doable. You can create your own class that inherits SCFilter. Then just override the "imageByProcessingImage:atTime:" Method. There you will be able to implement your own processing that will add the watermark to the video. Unfortunate it's a bit tricky to do and will require some learning from the Core Image API.
It's now easy to do. Check out the example :)
Dude you are way too nice to all of us bums (many prob leaching a majority of the value of their app off your work) Thank you for this lib man.
Hi,
I've asked before on how to add a watermark without using an Image and it got closed. My question now is in VideoConfiguration you can set a watermark but whenever I export the video the watermark is not added. How could I achieve this if I were to use mergeSegmentsWithPreset to export the video instead on the SCAssetExportSession route?