android-transcoder icon indicating copy to clipboard operation
android-transcoder copied to clipboard

Transcoding Webm to MP4

Open dioxmio opened this issue 8 years ago • 4 comments
trafficstars

Hi,

I'm trying to transcode from webm to mp4 and I get the following exception:

java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference at android.media.MediaFormat.getInteger(MediaFormat.java:524)

is that supported? many thanks

dioxmio avatar Feb 09 '17 16:02 dioxmio

Please paste following lines of trace after getInteger(MediaFormat.java:524), it is necessary to determine that.

ypresto avatar Feb 09 '17 16:02 ypresto

Hi, please find the stacktrace attached in this screenshot:

screen shot 2017-02-10 at 12 31 11

I'm using this cordova plugin: https://github.com/jbavari/cordova-plugin-video-editor which is using your lib.

it is using compile 'com.github.ergovia-mobile:android-transcoder:.v01.10R_ergovia'

Any idea what might be causing the problem? let me know if I can help further

cheers

dioxmio avatar Feb 10 '17 11:02 dioxmio

@ypresto any ideas there? many thanks!

dioxmio avatar Feb 16 '17 19:02 dioxmio

@dioxmio Is that video file has audio track inside it?

ypresto avatar Mar 15 '17 13:03 ypresto