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

Commit "More fixes on AVI audio dumping and misc fixes" breaks playing on Android #46

Closed
canatella opened this issue Feb 2, 2015 · 10 comments

Comments

@canatella
Copy link

Commit 5fccaca "More fixes on AVI audio dumping and misc fixes" breaks playing on android, Audio is stuttering and playing http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4, it skips after some seconds right to the end.

@canatella
Copy link
Author

As a matter of fact on version before that commit, Osmo4 on android is not showing any picture on my Oneplus One and LG 4X HD. I think it's linked to libstagefright because it works ok on my GPAC integration with software decoding.

@nguyen-viet-thanh-trung
Copy link

Which Android version have you got in your phone ? Could you please verify in the file osmo/debug_libs.txt whether you have some exceptions while loading the libraries ?

@canatella
Copy link
Author

Android 4.4.4 on both LG and Oneplus.

Indeed there is an exception:

*** Exceptions:
stlport_shared: Couldn't load stlport_shared from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.gpac.Osmo4-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.gpac.Osmo4-2, /vendor/lib, /system/lib]]]: findLibrary returned null(class java.lang.UnsatisfiedLinkError)

@nguyen-viet-thanh-trung
Copy link

This bug should by fixed in the latest version. Could you please test it ?

@canatella
Copy link
Author

With osmo4-0.5.2-DEV-rev35-gd2da0a8-master.apk, the movie starts but there are lots of audio skips during the first 30 seconds.

With osmo4-0.5.2-DEV-rev35-gd2da0a8-master-stagefright.apk, the movie starts but lots of frame drop. Same audio skips during the first 30 seconds.

Nothing in debug_libs.txt.

Which commit is the fix ?

@nguyen-viet-thanh-trung
Copy link

osmo4-0.5.2-DEV-rev35-gd2da0a8-master.apk and osmo4-0.5.2-DEV-rev35-gd2da0a8-master-stagefright.apk are built from the same commit, with and without libstagefright.
Have you got only probleme with audio during the first 30 seconds, and then it's ok ?

@canatella
Copy link
Author

Yes.

@nguyen-viet-thanh-trung
Copy link

Did you play a local file or an URL ? I tried to download and play the file in your first comment, it worked well. When I played directly your URL it took me time for buffering. Perharps it is the same situation with you ?

@canatella
Copy link
Author

Yes indeed it was an URL.

2015-02-06 18:58 GMT+01:00 nguyen-viet-thanh-trung <notifications@github.com

:

Did you play a local file or an URL ? I tried to download and play the
file in your first comment, it worked well. When I played directly your URL
it took me time for buffering. Perharps it is the same situation with you ?


Reply to this email directly or view it on GitHub
#46 (comment).

Damien MERENNE dam@cosinux.org

@rbouqueau
Copy link
Member

Can we close the issue?

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

No branches or pull requests

3 participants