-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Playing multiple videos simultaneously #53
Comments
In theory, you can have as many as you want. In practice, you're limited by the capabilities of the device. Some devices struggle to decode more than two video streams simultaneously. In KitKat and earlier, there may be problems with rendering to multiple TextureViews, though workarounds are possible. See https://code.google.com/p/android/issues/detail?id=178525 . |
Thanks for the info. I'm not concerned of the device capability right now. Based on the link, they say 16 textureviews should be fine. Can I request a sample of having say 12 sample videos simultaneously? |
You can request, but it's up to Google to do the work. |
OK. So you can tag my question as feature request as you wish, or I can re-submit it under a new tag. |
Retagged. May I assume this stackoverflow question is yours? |
Tnx. Yes. My group mate posted that. |
One question that I indeed have is what difference does grafika's double decoding makes as opposed to a baseline decoding of multiple videos. I just did some tests to play 6 videos simultaneously on a Samsung Galaxy S7, and everything was fine. How could it be different when using grafika? |
It shouldn't matter whether you do it with or without Grafika. You'll either run out of hardware video decoders and slow down, or you won't. |
I notice there is a double decoding in Grafika. A feature that I need is to play multiple videos simultaneously, say 4, or 6, as if we have a single player. So basically the players are glued together. Is it possible to achieve that? I mean, can we generalize it to N number of players, or it is only for 2?
Note that in my case, each of these four videos are in fact a tile of the original video; so you see a single video if the sync is good. Can you put a sample for this scenario?
The text was updated successfully, but these errors were encountered: