bitmap2video
bitmap2video copied to clipboard
Generate video from Image resources, Bitmaps or a Canvas. Allows for audio multiplexing.
If I have plenty of bitmaps to add (so it might be a problem to have them all in an array), and for each bitmap it might take a different...
https://github.com/israel-fl/bitmap2video/blob/f51c404aed29e5f7043144a2ddc738f51b589d21/library/src/main/java/com/homesoft/encoder/Muxer.kt#L82 So, I'm not sure how this is working. Generally you want to interleave audio and video together. It looks like you are dumping all the video and then dumping...
Hi, I got this error after adding the dependency in build.gradle **"More than one file was found with OS independent path 'META-INF/library_release.kotlin_module'"**
https://github.com/israel-fl/bitmap2video/blob/f51c404aed29e5f7043144a2ddc738f51b589d21/app/src/main/java/com/homesoft/bitmap2video/MainActivity.kt#L134 This is probably OK, but it seems a little scary. If this Thread hangs it will sit out there indefinitely. Usually an Executor or ThreadPool. At the minimum, I...
https://github.com/israel-fl/bitmap2video/blob/f51c404aed29e5f7043144a2ddc738f51b589d21/library/src/main/java/com/homesoft/encoder/FrameBuilder.kt#L97 Looks like you are creating and locking Canvas in a loop. Probably just call it at the top and bail out if it's null since you can't do anything...
In FrameBuilder.createFrame, it only gets a single image, but how can I set the duration of it?
Updated various versions for gradle, kotlin and local dependendencies, added viewbinding (synths is depr)