sannies / mp4parser

A Java API to read, write and create MP4 files
Apache License 2.0
2.74k stars 563 forks source link

No Movie class (no muxer package) in android using gradle #399

Open fmmarzoa opened 4 years ago

fmmarzoa commented 4 years ago

Added this to my app's level build.gradle:

implementation 'org.mp4parser:isoparser:1.9.27'

The dependency is fine, but there seem to be missing parts on the library I'm getting from gradle.

Specifically the whole muxer package seems to be lost, so I have no Movie class to begin with.

image

Is there any problem with the repository files?

Thanks a lot in advance, Fran

fmmarzoa commented 4 years ago

Well, I tried this just for the sake of it:

implementation 'org.mp4parser:muxer:1.9.27'

And it seems I've got the muxer... not sure if this is the right way to do this, though.

fmmarzoa commented 4 years ago

It seems there was a but in version 1.9.27 due which I was getting out of memory crashes in Android, and I read here about a 1.9.39 version so I ended up with the following in my app's build.gradle file:

implementation 'org.mp4parser:isoparser:1.9.39'
implementation 'org.mp4parser:muxer:1.9.39'

I think this is fine, isn't it?

HBiSoft commented 4 years ago

You can use the following versions:

implementation 'org.mp4parser:isoparser:1.9.41'
implementation 'org.mp4parser:muxer:1.9.41'

The out of memory issue should be gone when using this release.

Please close the issue.

mym0404 commented 4 years ago

I am also confused with missing instruction of append muxer library.. So I couldn't find associated classes. Please update README.md