{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/kivy/issues/5321","repository_url":"https://api.github.com/repos/kivy/kivy","labels_url":"https://api.github.com/repos/kivy/kivy/issues/5321/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy/issues/5321/comments","events_url":"https://api.github.com/repos/kivy/kivy/issues/5321/events","html_url":"https://github.com/kivy/kivy/issues/5321","id":248993359,"number":5321,"title":"Problem with streaming H264 on Raspberry","user":{"login":"fui86","id":20559734,"avatar_url":"https://avatars3.githubusercontent.com/u/20559734?v=4","gravatar_id":"","url":"https://api.github.com/users/fui86","html_url":"https://github.com/fui86","followers_url":"https://api.github.com/users/fui86/followers","following_url":"https://api.github.com/users/fui86/following{/other_user}","gists_url":"https://api.github.com/users/fui86/gists{/gist_id}","starred_url":"https://api.github.com/users/fui86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fui86/subscriptions","organizations_url":"https://api.github.com/users/fui86/orgs","repos_url":"https://api.github.com/users/fui86/repos","events_url":"https://api.github.com/users/fui86/events{/privacy}","received_events_url":"https://api.github.com/users/fui86/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-09T10:59:39Z","updated_at":"2017-08-18T16:44:23Z","closed_at":null,"body":"### Versions\r\n\r\n* Python: 3.6\r\n* OS: Jessie\r\n* Kivy: Last\r\n\r\n\r\n### Description\r\nGood Morning, \r\n\r\ni’ve to receive and create a streaming video H264 from and to my Raspberry using Kivy interface.\r\n\r\nActually I’ve tried with videoplayer widget but still not working.\r\n\r\n \r\n\r\nCan you help to solve this problem?\r\n\r\nI’ve tried to play .avi and .mp4 but the problem remain.\r\n\r\n \r\n\r\nThank you for reply.\r\n\r\n\r\n\r\n### Code and Logs\r\n\r\nI’ve these errors:\r\n\r\n[INFO   ] [Logger      ] Record log in /root/.kivy/logs/kivy_17-08-09_9.txt\r\n\r\n[INFO   ] [Kivy        ] v1.10.1.dev0, git-4b77ede, 20170807\r\n\r\n[INFO   ] [Python      ] v2.7.9 (default, Sep 17 2016, 20:26:04)\r\n\r\n[GCC 4.9.2]\r\n\r\n[INFO   ] [Factory     ] 194 symbols loaded\r\n\r\n[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)\r\n\r\n[INFO   ] [Text        ] Provider: sdl2\r\n\r\n[INFO   ] [VideoGstplayer] Using Gstreamer 1.4.4.0\r\n\r\n[INFO   ] [Video       ] Provider: gstplayer\r\n\r\n[INFO   ] [Window      ] Provider: egl_rpi\r\n\r\n[INFO   ] [GL          ] Using the \"OpenGL ES 2\" graphics system\r\n\r\n[INFO   ] [GL          ] Backend used <gl>\r\n\r\n[INFO   ] [GL          ] OpenGL version <OpenGL ES 2.0>\r\n\r\n[INFO   ] [GL          ] OpenGL vendor <Broadcom>\r\n\r\n[INFO   ] [GL          ] OpenGL renderer <VideoCore IV HW>\r\n\r\n[INFO   ] [GL          ] OpenGL parsed version: 2, 0\r\n\r\n[INFO   ] [GL          ] Shading version <OpenGL ES GLSL ES 1.00>\r\n\r\n[INFO   ] [GL          ] Texture max size <2048>\r\n\r\n[INFO   ] [GL          ] Texture max units <8>\r\n\r\n[INFO   ] [Shader      ] fragment shader: <Compiled>\r\n\r\n[INFO   ] [Shader      ] vertex shader: <Compiled>\r\n\r\n[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked\r\n\r\n[ERROR  ] [Image       ] Error reading file despacito.png\r\n\r\n[INFO   ] [OSC         ] using <multiprocessing> for socket\r\n\r\n[INFO   ] [ProbeSysfs  ] device match: /dev/input/event1\r\n\r\n[INFO   ] [HIDInput    ] Read event from </dev/input/event1>\r\n\r\n[INFO   ] [ProbeSysfs  ] device match: /dev/input/event0\r\n\r\n[INFO   ] [HIDInput    ] Read event from </dev/input/event0>\r\n\r\n[INFO   ] [Base        ] Start application main loop\r\n\r\n[INFO   ] [HIDMotionEvent] using <UVC Camera (046d:0808)>\r\n\r\n[INFO   ] [HIDMotionEvent] using <CHICONY USB NetVista Full Width Keyboard>\r\n\r\n[ERROR  ] [Image       ] Error loading texture despacito.avi\r\n\r\n[INFO   ] [GL          ] NPOT texture support is available\r\n\r\n[ERROR  ] [VideoGstplayer] GStreamer encountered a general supporting library error.\r\n\r\n[ERROR  ] [VideoGstplayer] GStreamer encountered a general supporting library error.\r\n\r\n[ERROR  ] [VideoGstplayer] Internal data stream error."},"comment":{"url":"https://api.github.com/repos/kivy/kivy/issues/comments/323403498","html_url":"https://github.com/kivy/kivy/issues/5321#issuecomment-323403498","issue_url":"https://api.github.com/repos/kivy/kivy/issues/5321","id":323403498,"user":{"login":"fui86","id":20559734,"avatar_url":"https://avatars3.githubusercontent.com/u/20559734?v=4","gravatar_id":"","url":"https://api.github.com/users/fui86","html_url":"https://github.com/fui86","followers_url":"https://api.github.com/users/fui86/followers","following_url":"https://api.github.com/users/fui86/following{/other_user}","gists_url":"https://api.github.com/users/fui86/gists{/gist_id}","starred_url":"https://api.github.com/users/fui86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fui86/subscriptions","organizations_url":"https://api.github.com/users/fui86/orgs","repos_url":"https://api.github.com/users/fui86/repos","events_url":"https://api.github.com/users/fui86/events{/privacy}","received_events_url":"https://api.github.com/users/fui86/received_events","type":"User","site_admin":false},"created_at":"2017-08-18T16:44:23Z","updated_at":"2017-08-18T16:44:23Z","body":"The code is this:\r\nimport kivy\r\nkivy.require('1.2.0')\r\n\r\nfrom sys import argv\r\nfrom os.path import dirname, join\r\nfrom kivy.app import App\r\nfrom kivy.uix.videoplayer import VideoPlayer\r\n\r\n# check what formats are supported for your targeted devices\r\n# for example try h264 video and acc audo for android using an mp4\r\n# container\r\n\r\n\r\nclass VideoPlayerApp(App):\r\n\r\n    def build(self):\r\n        if len(argv) > 1:\r\n            filename = argv[1]\r\n        else:\r\n            curdir = dirname(__file__)\r\n            filename = join(curdir, 'cityCC0.mpg')\r\n        return VideoPlayer(source=filename, state='play')\r\n\r\n\r\nif __name__ == '__main__':\r\n    VideoPlayerApp().run()\r\n\r\nIt's the widget inside examples of Kivy.\r\nI'm playing file inside the directory, but i've tried also with a streaming http but i've the same problem."}}
{"actor":{"display_login":"fui86"}}