Hi,
···
On Monday, March 11, 2013 7:01:25 PM UTC-5, Ray Hanks wrote:
Hi, All
I’m working on a project to create a custom media player which should supports the streaming media. I just followed the example of MediaCtrl and the program can support local media files by now. But I still didn’t know how to support the streaming media by using MediaCtrl. Did any one ever work on this issue? As far as I’m concerned, the native backends do support it. Btw, I also have mplayer installed. Would this help? Thanks!
Best,
Hanks
As Tim already pointed out, the MediaCtrl probably won’t work for you. However, there is an mplayerCtrl and according to mplayer’s docs (3.4. Streaming from network or pipes), it does support streaming.
Here’s where you can get the MplayerCtrl: MplayerCtrl · PyPI
And I wrote a quick and dirty tutorial using it on Windows here: wxPython: Creating a Simple Media Player - Mouse Vs Python
You can probably use that information to get it working on Linux. I know the control works on Linux as I know the developer tests on that OS.
- Mike