how too add mp4parser to proguard.cfg

363 views
Skip to first unread message

Janrone Hoo

unread,
May 2, 2014, 2:08:35 PM5/2/14
to mp4parser-...@googlegroups.com
how too add mp4parser to proguard.cfg file . i have the error 

 You should check if you need to specify additional program jars.

[2014-05-03 01:52:11 - ruisi] Unexpected error while performing partial evaluation:

[2014-05-03 01:52:11 - ruisi]   Class       = [org/jdesktop/application/ApplicationAction]

[2014-05-03 01:52:11 - ruisi]   Method      = [getActionArgument(Ljava/lang/Class;Ljava/lang/String;Ljava/awt/event/ActionEvent;)Ljava/lang/Object;]

[2014-05-03 01:52:11 - ruisi]   Exception   = [java.lang.IllegalArgumentException] (Can't find any super classes of [org/jdesktop/application/ApplicationActionMap] (not even immediate super class [javax/swing/ActionMap]))

[2014-05-03 01:52:11 - ruisi] java.lang.IllegalArgumentException: Can't find any super classes of [org/jdesktop/application/ApplicationActionMap] (not even immediate super class [javax/swing/ActionMap])

Sebastian Annies

unread,
May 2, 2014, 2:13:35 PM5/2/14
to mp4parser-...@googlegroups.com

Hi,

 

It seems you are using the isoviewer as dependency. You should not do that. Please use the isoparser jar from the maven repository (you don’t need to use Maven – you can simply download it by hand from the maven repository).

The isoviewer works with lots of reflection, you cannot obfuscate it. Please try to exclude all isoparser classes that implement the Box  interface from obfuscation.

 

Grüße,

Sebastian

--
You received this message because you are subscribed to the Google Groups "mp4parser-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mp4parser-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Janrone Hoo

unread,
May 9, 2014, 12:05:43 AM5/9/14
to mp4parser-...@googlegroups.com
use isoparser-1.0.1.jar  to append mp4 video , when i append video 

i have error 

05-09 11:49:58.921: E/AndroidRuntime(19634): Caused by: java.lang.ClassNotFoundException: com.coremedia.iso.boxes.FileTypeBox
05-09 11:49:58.921: E/AndroidRuntime(19634): at java.lang.Class.classForName(Native Method)
05-09 11:49:58.921: E/AndroidRuntime(19634): at java.lang.Class.forName(Class.java:251)
05-09 11:49:58.921: E/AndroidRuntime(19634): at java.lang.Class.forName(Class.java:216)
05-09 11:49:58.921: E/AndroidRuntime(19634): at com.coremedia.iso.PropertyBoxParserImpl.createBox(PropertyBoxParserImpl.java:86)
05-09 11:49:58.921: E/AndroidRuntime(19634): ... 23 more
05-09 11:49:58.921: E/AndroidRuntime(19634): Caused by: java.lang.NoClassDefFoundError: org.aspectj.runtime.reflect.Factory
05-09 11:49:58.921: E/AndroidRuntime(19634): at com.coremedia.iso.boxes.FileTypeBox.ajc$preClinit(FileTypeBox.java:1)
05-09 11:49:58.921: E/AndroidRuntime(19634): at com.coremedia.iso.boxes.FileTypeBox.<clinit>(FileTypeBox.java:1)
05-09 11:49:58.921: E/AndroidRuntime(19634): ... 27 more

Sebastian Annies

unread,
May 9, 2014, 3:54:04 AM5/9/14
to mp4parser-...@googlegroups.com

It requires aspectJ as the exception clearly states: java.lang.NoClassDefFoundError: org.aspectj.runtime.reflect.Factory

So please add it to your classpath.

--

Janrone Hoo

unread,
May 9, 2014, 5:11:31 AM5/9/14
to mp4parser-...@googlegroups.com

it has any way torotate mp4    except use  setMatrix(Matrix.ROTATE_90);


在 2014年5月9日星期五UTC+8下午3时54分04秒,Sebastian Annies写道:

To unsubscribe from this group and stop receiving emails from it, send an email to mp4parser-discussion+unsub...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages