MasayukiSuda / Mp4Composer-android

This library generate an Mp4 movie using Android MediaCodec API and apply filter, scale, trim, transcode, crop, timeScale, mute and rotate Mp4.
MIT License
956 stars 219 forks source link

How to fix #114

Open sand9985 opened 2 years ago

sand9985 commented 2 years ago

My src video js rotate=90, but the api tool can't output video.

Mp4Composer: Unable to compose the engine java.lang.IllegalArgumentException at android.media.MediaCodec.native_configure(Native Method) at android.media.MediaCodec.configure(MediaCodec.java:2176) at android.media.MediaCodec.configure(MediaCodec.java:2092) at com.daasuu.mp4compose.composer.VideoComposer.setUp(VideoComposer.java:78) at com.daasuu.mp4compose.composer.Mp4ComposerEngine.compose(Mp4ComposerEngine.java:124) at com.daasuu.mp4compose.composer.Mp4Composer$2.run(Mp4Composer.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920)