-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Android Video Provider #9130
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
base: master
Are you sure you want to change the base?
Android Video Provider #9130
Conversation
|
Thanks for opening your first pull request here! 💖 Please check out our contributing guidelines. |
|
Is it possible to play a 1080p or 4K video in fullscreen without stuttering (like the current playback) ? |
|
I think yes. As it is based on java MediaPlayer highly optimised for Android . |
|
This PR is missing documentation for at least https://kivy.org/doc/stable/guide/environment.html |
|
With the use of Also: |
Could you please add corresponding code ? So i can test in my pc. |
import os
os.environ['KIVY_VIDEO'] = 'android'
from kivy.app import App
from kivy.uix.video import Video
class MyApp(App):
def build(self):
print(os.listdir('.'))
return Video(source='test.mp4')
MyApp().run() |
import os
os.environ['KIVY_VIDEO'] = 'android'
from kivy.app import App
from kivy.uix.video import Video
class MyApp(App):
def build(self):
print(os.listdir('.'))
return Video(source='test.mp4',state='play')
MyApp().run()Record_2025-09-15-18-42-15.mp4 |
|
There are more places to add Perhaps scanning with |
|
any news on this? |
Description
This PR adds a new Android Video provider for Kivy using
MediaPlayerand OpenGL textures.It allows video playback on Android without relying on ffpyplayer or gstreamer, using the native Android APIs.
Changes
VideoAndroidprovider.MediaPlayer.Notes