videoplayer.py example error

789 views
Skip to first unread message

Brent Picasso

unread,
Apr 25, 2017, 2:49:30 AM4/25/17
to Kivy users support
videoplayer.py is not working on my ubuntu 16.04 system. When launching I get:

python videoplayer.py 
[INFO   ] [Logger      ] Record log in /home/brent/.kivy/logs/kivy_17-04-24_25.txt
[INFO   ] [Kivy        ] v1.9.2.dev0, git-75cf7bf, 20170425
[INFO   ] [Python      ] v2.7.12 (default, Nov 19 2016, 06:48:10) 
[GCC 5.4.0 20160609]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Video       ] Provider: null(['video_ffmpeg', 'video_ffpyplayer'] ignored)
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used <gl>
[INFO   ] [GL          ] OpenGL version <3.0 Mesa 12.0.6>
[INFO   ] [GL          ] OpenGL vendor <Intel Open Source Technology Center>
[INFO   ] [GL          ] OpenGL renderer <Mesa DRI Intel(R) Ivybridge Mobile >
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <1.30>
[INFO   ] [GL          ] Texture max size <8192>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Base        ] Start application main loop
[ERROR  ] [Image       ] Error loading texture cityCC0.mpg

kivy 1.9.2 was installed from master. I think it might be related to the version of gstreamer installed - does it still depend on gstreamer 0.1 or have we switched to 1.0? 

this plays the demo video correctly, FWIW:

> gst-play-1.0 cityCC0.mpg 


Thank you,
-Brent


Brent Picasso

unread,
Apr 25, 2017, 11:13:45 AM4/25/17
to Kivy users support
Looks like my ubuntu 16.04 installs gstreamer 1.0 by default. 

* I don't see install instructions for ubuntu 16.04 here:
https://kivy.org/docs/installation/installation.html

* from the Ubuntu 14 / 15 instructions it seems that it requires gstreamer 0.1, yet OSX instructions are calling for gstreamer 1.0

I'd be happy to help improve the documentation for 16.04 - just need some clarification on what it's depending on. 

Thanks!

Brent Picasso

unread,
Apr 25, 2017, 2:23:13 PM4/25/17
to Kivy users support
More! 

on a 2nd machine I successfully ran the videoplayer.py demo on kivy 1.9.1.  installed kivy 1.9.2 from source - videoplayer failed with the same error.  Fell back to 1.9.1 and it started working again. 

Any feedback on what 1.9.2 requires for gstreamer?

-Brent


On Monday, April 24, 2017 at 11:49:30 PM UTC-7, Brent Picasso wrote:

Brent Picasso

unread,
Apr 27, 2017, 12:59:05 AM4/27/17
to Kivy users support
Well, uninstall and re-install things enough times and it magically starts working <shrug> . Happy to get things resolved!

-Brent

On Monday, April 24, 2017 at 11:49:30 PM UTC-7, Brent Picasso wrote:

ZenCODE

unread,
Apr 29, 2017, 2:43:41 AM4/29/17
to Kivy users support
Yeah,, kind of resolved. Without understanding why or how, it's still a black box... but glad you're sorted...:-)
Reply all
Reply to author
Forward
0 new messages