Play TCP Video Stream on Android

463 views
Skip to first unread message

Arturo G

unread,
Jul 10, 2014, 10:12:22 PM7/10/14
to kivy-...@googlegroups.com
I have a tcp video stream encoded in h264, the stream is sent from a linux machine (a raspberry pi) using netcat (nc) and I can watch the stream on windows using netcat (nc.exe) and mplayer using the following command:

nc.exe 192.168.1.123 5001 | mplayer.exe -fps 30 -demuxer h264es -

Is there a way to open the same stream from kivy on android?


Roger Smith

unread,
Jul 13, 2014, 11:16:55 PM7/13/14
to kivy-...@googlegroups.com
Have you given gst-python a try (Python Gstreamer Library)? I've never dealt with it before but perhaps you could use that to handle the stream and pass the output to the source attribute of a Video/VideoPlayer. Then (assuming you use Buildozer to build your apk) you can add the gst-python module to your spec file.
Reply all
Reply to author
Forward
0 new messages