Hello, Hope you are doing well.
When changing seekbar from thumb or moving to specific position video is always playing from the beginning, not from the seekbar's position. And duration also not updating according seekbar so can you please check and guide for it?
FATAL EXCEPTION: pool-6-thread-1
Process: com.adroit.timepass.dev, PID: 8509
java.lang.AssertionError: The number of samples and the sum of all chunk lengths must be equal
at com.googlecode.mp4parser.authoring.builder.DefaultMp4Builder.getChunkSizes(DefaultMp4Builder.java:624)
at com.googlecode.mp4parser.authoring.builder.DefaultMp4Builder.build(DefaultMp4Builder.java:114)
at com.ahmedbadereldin.videotrimmer.Utility.generateVideo(Utility.java:104)
at com.ahmedbadereldin.videotrimmer.Utility.startTrim(Utility.java:38)
at com.gregantech.timepass.view.createvideo.activity.VideoTrimmerActivity$trimVideo$1.execute(VideoTrimmerActivity.kt:417)
at com.ahmedbadereldin.videotrimmer.customVideoViews.BackgroundTask$Task.run(BackgroundTask.java:197)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)