在Python中播放MMS流 [英] Playing MMS streams within Python
问题描述
我正在编写XM桌面应用程序(如果有人感兴趣,我计划在完成后在github上发布源代码)无论如何,我所知不多的部分是如何在Python中播放媒体(我m使用PyQt作为前端).基本上,我需要播放一个mms://网址.我想知道是否有一个图书馆可以完成这项工作或某些事情,真的,我只需要有人指出正确的方向即可.
我知道这是可能的,因为SMplayer(使用Qt的MPlayer的Python实现)可与MMS配合使用,如果情况变得更糟,我可能不得不在它们的来源上达到顶峰.
您可以查看
所有这些都可以播放媒体文件.
I'm writing a XM desktop application (I plan on releasing the source on github when I'm finished if anyone is interested) Anyway, the one part I know very little about is how to play media within Python (I'm using PyQt for the frontend). Basically, I have a mms:// url that I need to play. I was wondering if there is a library that could accomplish this or something, really I just need someone to point me in the right direction.
I know its possible, because SMplayer (Python implementation of MPlayer that uses Qt) works with MMS, I may have to take a peak at they're source if worse comes to worse.
You can have a look at
Here is a code snippet of doing a similar thing with wxPython.
All of these can play media files.
这篇关于在Python中播放MMS流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!