bitmap2video icon indicating copy to clipboard operation
bitmap2video copied to clipboard

Generate video from Image resources, Bitmaps or a Canvas. Allows for audio multiplexing.

Results 18 bitmap2video issues
Sort by recently updated
recently updated
newest added

My code used to work before but recently I started getting the following error, Please help me find what I did wrong ### Code Snippet: ``` val muxerConfig = MuxerConfig(file,...

``` muxer.mux(bitmapList) ``` I don't give audioTrack, so its default is null. It makes audioExtractor null. When muxAudioFrames() function is called, it crashes. Can you add an if check when...

In this line `val muxer = Muxer(this@MainActivity, "/files/video.mp4")` I get this error > None of the following functions can be called with the arguments supplied. > (Context, MuxerConfig) defined in...

Hello, First thank you for this great library. I was trying to mux audio into a video created from a single photo but I have this audio file downloaded and...

I'm trying to integrate this dependency in my application which should support devices from Android API 19. This is the error when I tried to build the app with minsdkversion...

Build failed and produces the error: ``` AAPT: error: resource style/Theme.MaterialComponents.DayNight (aka com.israelfl.bitmap2video:style/Theme.MaterialComponents.DayNight) not found. error: failed linking references. ```

Get this exception on Android 5 emulator: ``` java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double at android.media.MediaCodecInfo$VideoCapabilities.supportsFormat(MediaCodecInfo.java:1016) at android.media.MediaCodecInfo$CodecCapabilities.isFormatSupported(MediaCodecInfo.java:335) at android.media.MediaCodecList.findCodecForFormat(MediaCodecList.java:218) at android.media.MediaCodecList.findEncoderForFormat(MediaCodecList.java:207) at com.homesoft.encoder.FrameBuilder.(FrameBuilder.kt:61) ```

java.lang.RuntimeException: format changed twice at com.homesoft.encoder.FrameBuilder.drainCodec(FrameBuilder.kt:170) at com.homesoft.encoder.FrameBuilder.postCanvasFrame(FrameBuilder.kt:134) at com.homesoft.encoder.FrameBuilder.drawBitmapAndPostCanvas(FrameBuilder.kt:125) at com.homesoft.encoder.FrameBuilder.createFrame(FrameBuilder.kt:102) at com.homesoft.encoder.Muxer.mux(Muxer.kt:75) at com.homesoft.encoder.Muxer.muxAsync(Muxer.kt:93) at com.homesoft.bitmap2video.MainActivity$createVideoAsync$1.invokeSuspend(MainActivity.kt:142) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

From what I have checked, this library is taking raw file to add to use in mux, I want to use file from storage. How can I do it? Any...

AAPT: error: resource style/Theme.MaterialComponents.DayNight (aka com.israelfl.bitmap2video:style/Theme.MaterialComponents.DayNight) not found. error: failed linking references. ![image](https://user-images.githubusercontent.com/5357526/98301121-f5a0ba80-1fc2-11eb-8dab-434aaf22a4e7.png) Adding this fixes it: ``` implementation 'com.google.android.material:material:1.3.0-alpha03' ``` But then when running, and choosing the button "make...