Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transcoding Webm to MP4 #41

Open
dioxmio opened this issue Feb 9, 2017 · 4 comments
Open

Transcoding Webm to MP4 #41

dioxmio opened this issue Feb 9, 2017 · 4 comments

Comments

@dioxmio
Copy link

dioxmio commented Feb 9, 2017

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

@ypresto
Copy link
Owner

ypresto commented Feb 9, 2017

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

@dioxmio
Copy link
Author

dioxmio commented Feb 10, 2017

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
Copy link
Author

dioxmio commented Feb 16, 2017

@ypresto any ideas there? many thanks!

@ypresto
Copy link
Owner

ypresto commented Mar 15, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants