Mp4parser - android - cant make it work -
i trying make video splitting app of shorten example. trying implement following project github. https://github.com/dadachi/testmp4parser.
but app not working , aborting.
logcat -
08-05 17:03:42.161: d/openglrenderer(6834): enabling debug mode 0 08-05 17:03:44.934: d/do shoren starting(6834): shoren starting 08-05 17:03:44.944: w/dalvikvm(6834): threadid=12: thread exiting uncaught exception (group=0x4151e700) 08-05 17:03:44.944: e/androidruntime(6834): fatal exception: doshorten 08-05 17:03:44.944: e/androidruntime(6834): java.lang.runtimeexception: no box object found ftyp 08-05 17:03:44.944: e/androidruntime(6834): @ com.coremedia.iso.propertyboxparserimpl$fourcctobox.invoke(propertyboxparserimpl.java:187) 08-05 17:03:44.944: e/androidruntime(6834): @ com.coremedia.iso.propertyboxparserimpl.createbox(propertyboxparserimpl.java:90) 08-05 17:03:44.944: e/androidruntime(6834): @ com.coremedia.iso.abstractboxparser.parsebox(abstractboxparser.java:87) 08-05 17:03:44.944: e/androidruntime(6834): @ com.coremedia.iso.isofile.parse(isofile.java:85) 08-05 17:03:44.944: e/androidruntime(6834): @ com.coremedia.iso.isofile.<init>(isofile.java:54) 08-05 17:03:44.944: e/androidruntime(6834): @ com.googlecode.mp4parser.authoring.container.mp4.moviecreator.build(moviecreator.java:32) 08-05 17:03:44.944: e/androidruntime(6834): @ ek.shor.shortanproj.shortenexample$1.run(shortenexample.java:105) 08-05 17:03:44.944: e/androidruntime(6834): @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1080) 08-05 17:03:44.944: e/androidruntime(6834): @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:573) 08-05 17:03:44.944: e/androidruntime(6834): @ java.lang.thread.run(thread.java:841) 08-05 17:03:45.535: e/windowmanager(6834): activity ek.shor.shortanproj.mainactivity has leaked window com.android.internal.policy.impl.phonewindow$decorview{41df8010 v.e..... r......d 0,0-729,192} added here 08-05 17:03:45.535: e/windowmanager(6834): android.view.windowleaked: activity ek.shor.shortanproj.mainactivity has leaked window com.android.internal.policy.impl.phonewindow$decorview{41df8010 v.e..... r......d 0,0-729,192} added here 08-05 17:03:45.535: e/windowmanager(6834): @ android.view.viewrootimpl.<init>(viewrootimpl.java:345) 08-05 17:03:45.535: e/windowmanager(6834): @ android.view.windowmanagerglobal.addview(windowmanagerglobal.java:239) 08-05 17:03:45.535: e/windowmanager(6834): @ android.view.windowmanagerimpl.addview(windowmanagerimpl.java:69) 08-05 17:03:45.535: e/windowmanager(6834): @ android.app.dialog.show(dialog.java:281) 08-05 17:03:45.535: e/windowmanager(6834): @ org.bestforce.utils.ut.showwaitdialog(ut.java:40) 08-05 17:03:45.535: e/windowmanager(6834): @ ek.shor.shortanproj.shortenexample.doshorten(shortenexample.java:82) 08-05 17:03:45.535: e/windowmanager(6834): @ ek.shor.shortanproj.shortenexample.shorten(shortenexample.java:78) 08-05 17:03:45.535: e/windowmanager(6834): @ ek.shor.shortanproj.mainactivity.onclick(mainactivity.java:50) 08-05 17:03:45.535: e/windowmanager(6834): @ android.view.view.performclick(view.java:4240) 08-05 17:03:45.535: e/windowmanager(6834): @ android.view.view$performclick.run(view.java:17721) 08-05 17:03:45.535: e/windowmanager(6834): @ android.os.handler.handlecallback(handler.java:730) 08-05 17:03:45.535: e/windowmanager(6834): @ android.os.handler.dispatchmessage(handler.java:92) 08-05 17:03:45.535: e/windowmanager(6834): @ android.os.looper.loop(looper.java:137) 08-05 17:03:45.535: e/windowmanager(6834): @ android.app.activitythread.main(activitythread.java:5103) 08-05 17:03:45.535: e/windowmanager(6834): @ java.lang.reflect.method.invokenative(native method) 08-05 17:03:45.535: e/windowmanager(6834): @ java.lang.reflect.method.invoke(method.java:525) 08-05 17:03:45.535: e/windowmanager(6834): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:737) 08-05 17:03:45.535: e/windowmanager(6834): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:553) 08-05 17:03:45.535: e/windowmanager(6834): @ dalvik.system.nativestart.main(native method)
the files same in git hub project. please let me know mistake doing mistakes making.
the testmp4parser example not updated. mp4parser library has been updated , there new methods split , append videos.
Comments
Post a Comment