sagark1510 / react-native-video-watermark Goto Github PK
View Code? Open in Web Editor NEWuse image as watermark over video
use image as watermark over video
When trying to install, npm nor yarn can find your lib...
Hi,
installed the lib and tested it on Android. First result, it is working. From what I'm seing, your lib position the logo on the top left corner.
Could you add the option to specify the position of the logo ? Would be useful to position where we want to like bottom right corner of video.
Next, if we want to use an image built-in in the app if we want to watermark the video with the app logo, is there a way to either use an app local file or use a Base64 image ?
Thanks !
When I send parameters like below:
Checking passed variables:
Video was read from URL and stored on device like react-native.mp4:
/Users/mobile/Library/Developer/CoreSimulator/Devices/A4FBD7DF-DC56-489F-AA7C-B119A934532D/data/Containers/Data/Application/1ECD1006-CC6C-4A14-903A-724D3D78B1CC/Documents/react-native.mp4
ImageMarker was read from URL and stored on device like B592874F-E000-41F5-9837-9474C74B207B.png:
/Users/mobile/Library/Developer/CoreSimulator/Devices/A4FBD7DF-DC56-489F-AA7C-B119A934532D/data/Containers/Data/Application/1ECD1006-CC6C-4A14-903A-724D3D78B1CC/tmp/ReactNative/B592874F-E000-41F5-9837-9474C74B207B.png
Then send it via:
VideoWatermark.convert(
videoPath,
markImage,
(convertedVideo) => {
console.log(convertedVideo);
},
);
as a result app crashed. Any idea?
React-native project getting this for android.
coudn't find com.github.MasayukiSuda:Mp4Composer-android:v0.3.5
I pass image with file:// or content:// or without and never works.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.