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

native-media sample doesn't work out of the box #117

Closed
zacpez opened this issue Oct 19, 2015 · 4 comments
Closed

native-media sample doesn't work out of the box #117

zacpez opened this issue Oct 19, 2015 · 4 comments
Labels

Comments

@zacpez
Copy link

zacpez commented Oct 19, 2015

I was curious to explore video decoding and rendering in the native-media sample, but it doesn't seem to work correctly at run time, the video simply doesn't appear on screen. It compiles with Android Studio 1.4 successfully, transfers to Galaxy S6, and it opens and runs. However, when pressing Play/Pause Java MediaPlayer button it crashes; and when pressing the Play/Pause Native MediaPlayer it just doesn't do anything. Each of the surfaces remains black. I have tried to figure out some solutions to no avail.

@proppy
Copy link
Contributor

proppy commented Oct 25, 2015

Related #55 #41 #40

@sistr22
Copy link

sistr22 commented Dec 10, 2015

Should we put the video to be decoded in the asset folder instead and use the asset api to read it ?

It would let people compile, deploy and it would work out of the box.

I could do that if you want (Assign it to me or just tell me)

@proppy
Copy link
Contributor

proppy commented Dec 15, 2015

@WhiteSEEKER Yes, I suggested that to @ggfan before for the native-audio sample #65 (comment). I think that's a good idea.

@ggfan
Copy link
Contributor

ggfan commented Apr 30, 2016

this one is fixed with
#182
be cautious though, I disabled the native_player side: something wrong with it I could not see it working before this code change and after this code change. some more work need to be done and will do it

the issues specific to this bug are fixed, we are playing from asset so clips will always there. apk will be big and pretty big since we are build one apk for all... Will use this sample and native-codec as example for split spk sample later.

The clip is updated too, the old one has some CRC problem.

check it out and re-open if there is problem for it, thanks

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

No branches or pull requests

4 participants