Repository: kivy/kivy

Issue:
VideoPlayer not playing video on android phone
Tested with kivy 1.8 and 1.9 and the video will not play on my android galaxy nexus, plays fine on my dekstop machine.

The videoplayer shows the preview and a spinner but never plays anything and nothing is logged via adb logcat.

maybe related to issue #2632 i guess but i tested the example player in the kivy widget example folder and built it to my phone add avi to the buildozer spec file.

```
import kivy
kivy.require('1.2.0')

from sys import argv
from os.path import dirname, join
from kivy.app import App
from kivy.uix.videoplayer import VideoPlayer


class VideoPlayerApp(App):

    def build(self):
        if len(argv) > 1:
            filename = argv[1]
        else:
            curdir = dirname(__file__)
            filename = join(curdir, 'softboy.avi')
        return VideoPlayer(source=filename, state='play')


if __name__ == '__main__':
    VideoPlayerApp().run()
```

I/libSDL  (16247): Physical screen resolution is 1196x720
I/python  (16247): Initialize Python for Android
I/python  (16247): ['/data/data/org.test.testvideo/files/lib/python2.7/site-packages', '/data/data/org.test.testvideo/files/lib/site-python']
I/python  (16247): Android path ['/data/data/org.test.testvideo/files/lib/python27.zip', '/data/data/org.test.testvideo/files/lib/python2.7', '/data/data/org.test.testvideo/files/lib/python2.7/lib-dynload', '/data/data/org.test.testvideo/files/lib/python2.7/site-packages', '/data/data/org.test.testvideo/files', '/data/data/org.test.testvideo/files/_applibs']
I/python  (16247): Android kivy bootstrap done. __name__ is **main**
I/python  (16247): Run user program, change dir and execute main.py
I/python  (16247): [INFO              ] Kivy v1.8.0
I/python  (16247): [INFO              ] [Logger      ] Record log in /data/data/org.test.testvideo/files/.kivy/logs/kivy_14-11-06_1.txt
I/python  (16247): [INFO              ] [Factory     ] 157 symbols loaded
I/python  (16247): [DEBUG             ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones
I/python  (16247): [DEBUG             ] [Cache       ] register <kv.image> with limit=None, timeout=60s
I/python  (16247): [DEBUG             ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones
I/python  (16247):  /data/data/org.test.testvideo/files/lib/python2.7/site-packages/kivy/core/image/img_pygame.py:12: RuntimeWarning: import cdrom: No module named cdrom
I/python  (16247):  (ImportError: No module named cdrom)
I/python  (16247): [INFO              ] [Image       ] Providers: img_tex, img_dds, img_pygame, img_gif (img_pil ignored)
I/python  (16247): [DEBUG             ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s
I/python  (16247): [DEBUG             ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600s
D/dalvikvm(  369): JIT code cache reset in 5 ms (1048516 bytes 155/0)
I/python  (16247): [INFO              ] [Text        ] Provider: pygame
D/dalvikvm(  369): GC_EXPLICIT freed 3232K, 33% free 30012K/44568K, paused 5ms+22ms, total 188ms
I/python  (16247): [DEBUG             ] [Cache       ] register <kv.loader> with limit=500, timeout=60s
I/python  (16247): [INFO              ] [Loader      ] using a thread pool of 2 workers
I/python  (16247): [DEBUG             ] [Video       ] Ignored <pygst> (import error)
I/python  (16247): [DEBUG             ] [Video       ] Ignored <ffmpeg> (import error)
I/python  (16247): [DEBUG             ] [Video       ] Ignored <pyglet> (import error)
I/python  (16247): [INFO              ] [Video       ] Provider: null(['video_pygst', 'video_ffmpeg', 'video_pyglet'] ignored)
I/python  (16247): [DEBUG             ] [App         ] Loading kv <./videoplayer.kv>
I/python  (16247): [DEBUG             ] [App         ] kv <./videoplayer.kv> not found
I/python  (16247): [DEBUG             ] [Window      ] Ignored <egl_rpi> (import error)
I/python  (16247): [INFO              ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
I/python  (16247): [DEBUG             ] [WinPygame   ] Set window to fullscreen mode
I/libSDL  (16247): SDL_SetVideoMode(): application requested mode 1196x720
I/python  (16247): [DEBUG             ] [Window      ] Display driver android
I/python  (16247): [DEBUG             ] [Window      ] Actual window size: 1196x720
I/python  (16247): [INFO              ] [GL          ] OpenGL version <OpenGL ES 2.0 build 1.8.GOOGLENEXUS.ED945322@2198402>
I/python  (16247): [INFO              ] [GL          ] OpenGL vendor <Imagination Technologies>
I/python  (16247): [INFO              ] [GL          ] OpenGL renderer <PowerVR SGX 540>
I/python  (16247): [INFO              ] [GL          ] OpenGL parsed version: 2, 0
I/python  (16247): [INFO              ] [GL          ] Texture max size <2048>
I/python  (16247): [INFO              ] [GL          ] Texture max units <8>
I/python  (16247): [DEBUG             ] [Shader      ] Fragment compiled successfully
I/python  (16247): [DEBUG             ] [Shader      ] Vertex compiled successfully
I/python  (16247): [DEBUG             ] [ImagePygame ] Load </data/data/org.test.testvideo/files/lib/python2.7/site-packages/kivy/data/glsl/default.png>
I/python  (16247): [INFO              ] [Support     ] Android install hooks
I/python  (16247): [INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
I/python  (16247): [DEBUG             ] [Atlas       ] Load </data/data/org.test.testvideo/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme.atlas>
I/python  (16247): [DEBUG             ] [Atlas       ] Need to load 1 images
I/python  (16247): [DEBUG             ] [Atlas       ] Load </data/data/org.test.testvideo/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
I/python  (16247): [DEBUG             ] [ImagePygame ] Load </data/data/org.test.testvideo/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
I/python  (16247): [DEBUG             ] [ImagePygame ] Load <softboy.png>
I/python  (16247): [INFO              ] [GL          ] NPOT texture support is available
I/python  (16247): [INFO              ] [OSC         ] using <thread> for socket
I/python  (16247): [DEBUG             ] [Base        ] Create provider from android
I/python  (16247): [INFO              ] [Base        ] Start application main loop
I/python  (16247): [INFO              ] [Android     ] found 17 joystick
I/python  (16247): [INFO              ] [Android     ] create joystick <0>
I/python  (16247): [INFO              ] [Android     ] discard joystick <0> cause no button
I/python  (16247): [INFO              ] [Android     ] create joystick <1>
I/python  (16247): [INFO              ] [Android     ] create joystick <2>
I/python  (16247): [INFO              ] [Android     ] create joystick <3>
I/python  (16247): [INFO              ] [Android     ] create joystick <4>
I/python  (16247): [INFO              ] [Android     ] create joystick <5>
I/python  (16247): [INFO              ] [Android     ] create joystick <6>
I/python  (16247): [INFO              ] [Android     ] create joystick <7>
I/python  (16247): [INFO              ] [Android     ] create joystick <8>
I/python  (16247): [INFO              ] [Android     ] create joystick <9>
I/python  (16247): [INFO              ] [Android     ] create joystick <10>
I/python  (16247): [INFO              ] [Android     ] create joystick <11>
I/python  (16247): [INFO              ] [Android     ] create joystick <12>
I/python  (16247): [INFO              ] [Android     ] create joystick <13>
I/python  (16247): [INFO              ] [Android     ] create joystick <14>
I/python  (16247): [INFO              ] [Android     ] create joystick <15>
I/python  (16247): [INFO              ] [Android     ] create joystick <16>
I/ActivityManager(  369): Process com.android.chrome (pid 16020) has died.
I/python  (16247): [DEBUG             ] [ImageGIF    ] Load </data/data/org.test.testvideo/files/lib/python2.7/site-packages/kivy/data/../data/images/image-loading.gif>



Discussion:
Found out i needed to add ffmpeg to buildozer requirements how ever even after this the video would not play.

Here is an updated log file with ffmpeg added in buildozer.

still stuck on this any ideas ?

I/python  (28325): [DEBUG             ] [ImagePygame ] Load <resources/images/general/smile.png>
I/python  (28325): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/cat.jpeg>
I/python  (28325): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/cow.jpeg>
I/python  (28325): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/sheep.jpeg>
I/python  (28325): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/horse.jpeg>
I/python  (28325): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/food/cake.jpeg>
I/python  (28325): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/food/strawberry.png>
I/python  (28325): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/duck.jpeg>
I/python  (28325): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/dog.jpeg>
I/python  (28325): FFMPEG: Audio ask for 44100 2
I/python  (28325): FFMPEG: Audio ask got 44100 2
I/python  (28325): [INFO              ] [Android     ] Must go into sleep mode, check the app
I/python  (28325): [INFO              ] [Android     ] App doesn't support pause mode, stop.
I/python  (28325): [INFO              ] [Base        ] Leaving application in progress...
I/python  (28325): Python for android ended.
V/python  (29415): metadata fullscreen is1
I/python  (29415): Starting audio thread
I/python  (29415): Initialize Python for Android
I/python  (29415): ['/data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages', '/data/data/org.test.understandinglanguageapp/files/lib/site-python']
I/python  (29415): Android path ['/data/data/org.test.understandinglanguageapp/files/lib/python27.zip', '/data/data/org.test.understandinglanguageapp/files/lib/python2.7', '/data/data/org.test.understandinglanguageapp/files/lib/python2.7/lib-dynload', '/data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages', '/data/data/org.test.understandinglanguageapp/files', '/data/data/org.test.understandinglanguageapp/files/_applibs']
I/python  (29415): Android kivy bootstrap done. __name__ is **main**
I/python  (29415): Run user program, change dir and execute main.py
I/python  (29415): [INFO              ] Kivy v1.8.0
I/python  (29415): Purge log fired. Analysing...
I/python  (29415): Purge finished !
I/python  (29415): [INFO              ] [Logger      ] Record log in /data/data/org.test.understandinglanguageapp/files/.kivy/logs/kivy_14-11-25_3.txt
I/python  (29415): [INFO              ] [Factory     ] 157 symbols loaded
I/python  (29415): [DEBUG             ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones
I/python  (29415): [DEBUG             ] [Cache       ] register <kv.image> with limit=None, timeout=60s
I/python  (29415): [DEBUG             ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones
I/python  (29415):  /data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/core/image/img_pygame.py:12: RuntimeWarning: import cdrom: No module named cdrom
I/python  (29415):  (ImportError: No module named cdrom)
I/python  (29415): [INFO              ] [Image       ] Providers: img_tex, img_dds, img_pygame, img_gif (img_pil ignored)
I/python  (29415): [DEBUG             ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s
I/python  (29415): [DEBUG             ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600s
I/python  (29415): [DEBUG             ] [Window      ] Ignored <egl_rpi> (import error)
I/python  (29415): [INFO              ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
I/python  (29415): [DEBUG             ] [WinPygame   ] Set window to fullscreen mode
I/python  (29415): [DEBUG             ] [Window      ] Display driver android
I/python  (29415): [DEBUG             ] [Window      ] Actual window size: 1196x720
I/python  (29415): [INFO              ] [GL          ] OpenGL version <OpenGL ES 2.0 build 1.8.GOOGLENEXUS.ED945322@2198402>
I/python  (29415): [INFO              ] [GL          ] OpenGL vendor <Imagination Technologies>
I/python  (29415): [INFO              ] [GL          ] OpenGL renderer <PowerVR SGX 540>
I/python  (29415): [INFO              ] [GL          ] OpenGL parsed version: 2, 0
I/python  (29415): [INFO              ] [GL          ] Texture max size <2048>
I/python  (29415): [INFO              ] [GL          ] Texture max units <8>
I/python  (29415): [DEBUG             ] [Shader      ] Fragment compiled successfully
I/python  (29415): [DEBUG             ] [Shader      ] Vertex compiled successfully
I/python  (29415): [DEBUG             ] [ImagePygame ] Load </data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/data/glsl/default.png>
I/python  (29415): [INFO              ] [Support     ] Android install hooks
I/python  (29415): [INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
I/python  (29415): [INFO              ] [Text        ] Provider: pygame
I/python  (29415): [DEBUG             ] [Cache       ] register <kv.loader> with limit=500, timeout=60s
I/python  (29415): [INFO              ] [Loader      ] using a thread pool of 2 workers
I/python  (29415): [DEBUG             ] [Video       ] Ignored <pygst> (import error)
I/python  (29415): [INFO              ] [Video       ] Provider: ffmpeg(['video_pygst'] ignored)
I/python  (29415): [DEBUG             ] [App         ] Loading kv </data/data/org.test.understandinglanguageapp/files/understandinglanguage.kv>
I/python  (29415): [DEBUG             ] [ImagePygame ] Load <resources/images/general/welcome.png>
I/python  (29415): [INFO              ] [GL          ] NPOT texture support is available
I/python  (29415): [INFO              ] [OSC         ] using <thread> for socket
I/python  (29415): [DEBUG             ] [Base        ] Create provider from android
I/python  (29415): [INFO              ] [Base        ] Start application main loop
I/python  (29415): [INFO              ] [Android     ] found 17 joystick
I/python  (29415): [INFO              ] [Android     ] create joystick <0>
I/python  (29415): [INFO              ] [Android     ] discard joystick <0> cause no button
I/python  (29415): [INFO              ] [Android     ] create joystick <1>
I/python  (29415): [INFO              ] [Android     ] create joystick <2>
I/python  (29415): [INFO              ] [Android     ] create joystick <3>
I/python  (29415): [INFO              ] [Android     ] create joystick <4>
I/python  (29415): [INFO              ] [Android     ] create joystick <5>
I/python  (29415): [INFO              ] [Android     ] create joystick <6>
I/python  (29415): [INFO              ] [Android     ] create joystick <7>
I/python  (29415): [INFO              ] [Android     ] create joystick <8>
I/python  (29415): [INFO              ] [Android     ] create joystick <9>
I/python  (29415): [INFO              ] [Android     ] create joystick <10>
I/python  (29415): [INFO              ] [Android     ] create joystick <11>
I/python  (29415): [INFO              ] [Android     ] create joystick <12>
I/python  (29415): [INFO              ] [Android     ] create joystick <13>
I/python  (29415): [INFO              ] [Android     ] create joystick <14>
I/python  (29415): [INFO              ] [Android     ] create joystick <15>
I/python  (29415): [INFO              ] [Android     ] create joystick <16>
I/python  (29415): [DEBUG             ] [Atlas       ] Load </data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme.atlas>
I/python  (29415): [DEBUG             ] [Atlas       ] Need to load 1 images
I/python  (29415): [DEBUG             ] [Atlas       ] Load </data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
I/python  (29415): [DEBUG             ] [ImagePygame ] Load </data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
V/python  (30089): metadata fullscreen is1
I/python  (30089): Starting audio thread
I/python  (30089): Initialize Python for Android
I/python  (30089): ['/data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages', '/data/data/org.test.understandinglanguageapp/files/lib/site-python']
I/python  (30089): Android path ['/data/data/org.test.understandinglanguageapp/files/lib/python27.zip', '/data/data/org.test.understandinglanguageapp/files/lib/python2.7', '/data/data/org.test.understandinglanguageapp/files/lib/python2.7/lib-dynload', '/data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages', '/data/data/org.test.understandinglanguageapp/files', '/data/data/org.test.understandinglanguageapp/files/_applibs']
I/python  (30089): Android kivy bootstrap done. __name__ is **main**
I/python  (30089): Run user program, change dir and execute main.py
I/python  (30089): [INFO              ] Kivy v1.8.0
I/python  (30089): Purge log fired. Analysing...
I/python  (30089): Purge finished !
I/python  (30089): [INFO              ] [Logger      ] Record log in /data/data/org.test.understandinglanguageapp/files/.kivy/logs/kivy_14-11-25_4.txt
I/python  (30089): [INFO              ] [Factory     ] 157 symbols loaded
I/python  (30089): [DEBUG             ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones
I/python  (30089): [DEBUG             ] [Cache       ] register <kv.image> with limit=None, timeout=60s
I/python  (30089): [DEBUG             ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones
I/python  (30089):  /data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/core/image/img_pygame.py:12: RuntimeWarning: import cdrom: No module named cdrom
I/python  (30089):  (ImportError: No module named cdrom)
I/python  (30089): [INFO              ] [Image       ] Providers: img_tex, img_dds, img_pygame, img_gif (img_pil ignored)
I/python  (30089): [DEBUG             ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s
I/python  (30089): [DEBUG             ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600s
I/python  (30089): [DEBUG             ] [Window      ] Ignored <egl_rpi> (import error)
I/python  (30089): [INFO              ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
I/python  (30089): [DEBUG             ] [WinPygame   ] Set window to fullscreen mode
I/python  (30089): [DEBUG             ] [Window      ] Display driver android
I/python  (30089): [DEBUG             ] [Window      ] Actual window size: 1196x720
I/python  (30089): [INFO              ] [GL          ] OpenGL version <OpenGL ES 2.0 build 1.8.GOOGLENEXUS.ED945322@2198402>
I/python  (30089): [INFO              ] [GL          ] OpenGL vendor <Imagination Technologies>
I/python  (30089): [INFO              ] [GL          ] OpenGL renderer <PowerVR SGX 540>
I/python  (30089): [INFO              ] [GL          ] OpenGL parsed version: 2, 0
I/python  (30089): [INFO              ] [GL          ] Texture max size <2048>
I/python  (30089): [INFO              ] [GL          ] Texture max units <8>
I/python  (30089): [DEBUG             ] [Shader      ] Fragment compiled successfully
I/python  (30089): [DEBUG             ] [Shader      ] Vertex compiled successfully
I/python  (30089): [DEBUG             ] [ImagePygame ] Load </data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/data/glsl/default.png>
I/python  (30089): [INFO              ] [Support     ] Android install hooks
I/python  (30089): [INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
I/python  (30089): [INFO              ] [Text        ] Provider: pygame
I/python  (30089): [DEBUG             ] [Cache       ] register <kv.loader> with limit=500, timeout=60s
I/python  (30089): [INFO              ] [Loader      ] using a thread pool of 2 workers
I/python  (30089): [DEBUG             ] [Video       ] Ignored <pygst> (import error)
I/python  (30089): [INFO              ] [Video       ] Provider: ffmpeg(['video_pygst'] ignored)
I/python  (30089): [DEBUG             ] [App         ] Loading kv </data/data/org.test.understandinglanguageapp/files/understandinglanguage.kv>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/general/welcome.png>
I/python  (30089): [INFO              ] [GL          ] NPOT texture support is available
I/python  (30089): [INFO              ] [OSC         ] using <thread> for socket
I/python  (30089): [DEBUG             ] [Base        ] Create provider from android
I/python  (30089): [INFO              ] [Base        ] Start application main loop
I/python  (30089): [INFO              ] [Android     ] found 17 joystick
I/python  (30089): [INFO              ] [Android     ] create joystick <0>
I/python  (30089): [INFO              ] [Android     ] discard joystick <0> cause no button
I/python  (30089): [INFO              ] [Android     ] create joystick <1>
I/python  (30089): [INFO              ] [Android     ] create joystick <2>
I/python  (30089): [INFO              ] [Android     ] create joystick <3>
I/python  (30089): [INFO              ] [Android     ] create joystick <4>
I/python  (30089): [INFO              ] [Android     ] create joystick <5>
I/python  (30089): [INFO              ] [Android     ] create joystick <6>
I/python  (30089): [INFO              ] [Android     ] create joystick <7>
I/python  (30089): [INFO              ] [Android     ] create joystick <8>
I/python  (30089): [INFO              ] [Android     ] create joystick <9>
I/python  (30089): [INFO              ] [Android     ] create joystick <10>
I/python  (30089): [INFO              ] [Android     ] create joystick <11>
I/python  (30089): [INFO              ] [Android     ] create joystick <12>
I/python  (30089): [INFO              ] [Android     ] create joystick <13>
I/python  (30089): [INFO              ] [Android     ] create joystick <14>
I/python  (30089): [INFO              ] [Android     ] create joystick <15>
I/python  (30089): [INFO              ] [Android     ] create joystick <16>
I/python  (30089): [DEBUG             ] [Atlas       ] Load </data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme.atlas>
I/python  (30089): [DEBUG             ] [Atlas       ] Need to load 1 images
I/python  (30089): [DEBUG             ] [Atlas       ] Load </data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load </data/data/org.test.understandinglanguageapp/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/general/1.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/general/2.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/general/3.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/general/4.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/general/5.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/general/back.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/food/apple.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/food/orange.jpg>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/food/pizza.jpeg>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/food/banana.jpeg>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/general/smile.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/cat.jpeg>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/cow.jpeg>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/sheep.jpeg>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/horse.jpeg>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/food/cake.jpeg>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/food/strawberry.png>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/duck.jpeg>
I/python  (30089): [DEBUG             ] [ImagePygame ] Load <resources/images/default/nouns/animals/dog.jpeg>
I/python  (30089): FFMPEG: Audio ask for 44100 2
I/python  (30089): FFMPEG: Audio ask got 44100 2

On android, the ffmpeg recipe is built only for an mp4 container, h264 video codec and aac audio codec. If your video doesn't meet theses requirements, you coudl try to change them with a great tool: Handbrake :)

cool, if thats the case perhaps we should convert the softboy.avi video to use the most compatible format i will look into it and perhaps put in a pull request if it works.


Resolving patch:
diff --git a/examples/widgets/rstexample.py b/examples/widgets/rstexample.py
--- a/examples/widgets/rstexample.py
+++ b/examples/widgets/rstexample.py
@@ -8,7 +8,7 @@
 And video widget
 ----------------
 
-.. video:: softboy.avi
+.. video:: softboy.mpg
 
 
 Inline Markup
diff --git a/examples/widgets/tabbed_panel_showcase.py b/examples/widgets/tabbed_panel_showcase.py
--- a/examples/widgets/tabbed_panel_showcase.py
+++ b/examples/widgets/tabbed_panel_showcase.py
@@ -212,7 +212,7 @@ class CloseableHeader(TabbedPanelHeader):
             id: tab_3_content
             pos:self.parent.pos
             size: self.parent.size
-            source: 'softboy.avi'
+            source: 'softboy.mpg'
     TabbedPanelHeader:
         id: def_tab
         content:default_content.__self__
diff --git a/examples/widgets/videoplayer.py b/examples/widgets/videoplayer.py
--- a/examples/widgets/videoplayer.py
+++ b/examples/widgets/videoplayer.py
@@ -6,6 +6,9 @@
 from kivy.app import App
 from kivy.uix.videoplayer import VideoPlayer
 
+#check what formats are supported for your targetted devices
+#for example try h264 video and acc audo for android using an mp4
+#container
 
 class VideoPlayerApp(App):
 
@@ -14,7 +17,7 @@ def build(self):
             filename = argv[1]
         else:
             curdir = dirname(__file__)
-            filename = join(curdir, 'softboy.avi')
+            filename = join(curdir, 'softboy.mpg')
         return VideoPlayer(source=filename, state='play')
 
 


Test patch: