pyeMedia

HAs anybody played with this video/audio lib? I am using Active Python
2.5 and wxPython 2.8.7.1

I had a very hard time to find a Pyemedia windows binary to match.

However none of the examples seem to work (or better they don’t do
anything and stop without leaving any trace or error log).

Any suggestions?

Cheers

···

**
Erik Vandamme
54 Hilltop Road - WAMBERAL NSW 2260 Australia
Skype - erik_vandamme
02 43843613 - 0406 042750**

erik1vandamme@gmail.com

Thanks David,

I cant foind a windows binary and all the doco i find talks about
wxWidgets, not wxPython??

Cheers

David Woods wrote:

···
**
Erik Vandamme
54 Hilltop Road - WAMBERAL NSW 2260 Australia
Skype - erik_vandamme
02 43843613 - 0406 042750**

erik1vandamme@gmail.com


Eric,
I played with PyMedia a year or so ago, but gave it up for wxMediaCtrl, which met my video needs better. That was obviously several wx versions ago. I also found PyMedia to be too slow to do some audio extraction I needed.
David
----- Original Message -----
From: Erik Vandamme Date: Wednesday, February 20, 2008 5:07 pm
Subject: [wxPython-users] pyeMedia
To: wxPython User-List

HAs anybody played with this video/audio lib? I am using Active Python
2.5 and wxPython 2.8.7.1
I had a very hard time to find a Pyemedia windows binary to match. However none of the examples seem to work (or better they don't do
anything and stop without leaving any trace or error log).
Any suggestions?
Cheers
-- Erik Vandamme
54 Hilltop Road - WAMBERAL NSW 2260 Australia
Skype - erik_vandamme
02 43843613 - 0406 042750
---------------------------------------------------------------------
To unsubscribe, e-mail: For additional commands, e-mail:
---------------------------------------------------------------------
To unsubscribe, e-mail: For additional commands, e-mail:

erik1vandamme@gmail.comwxPython-users@lists.wxwidgets.orgerik1vandamme@gmail.comwxPython-users-unsubscribe@lists.wxwidgets.orgwxPython-users-help@lists.wxwidgets.orgwxPython-users-unsubscribe@lists.wxwidgets.orgwxPython-users-help@lists.wxwidgets.org

David,
to continue…
I borrowed/stole this code from somewhere and tried to run it in Boa (I
dont have any other shell with a run command. My PyShell crashes) I
dont even understand the indentation error message
* File “wxmediatest.py”, line 5
def init(self,parent,title):
^
IndentationError: expected an indented block
* import wx

import wx.media

class MyFrame(wx.Frame):

def __init__(self,parent,title):

  wx.Frame.__init__(self, parent, -1, title, pos=(150,150),

size=(640, 480),

style=wx.MAXIMIZE_BOX|wx.SYSTEM_MENU|wx.CAPTION|wx
.CLOSE_BOX|wx.CLIP_CHILDREN)

  self.Bind(wx.EVT_CLOSE,self.OnCloseWindow)

  panel = wx.Panel(self,size=(350,200))

  video = wx.media.MediaCtrl(panel, -1,

fileName=r"C:\Python25\ErikApps\mountainbike.wmv",

pos=wx.Point(100,50),size=wx.Size(320,240))

  video.ShowPlayerControls(flags =

wx.media.MEDIACTRLPLAYERCONTROLS_STEP)

  video.Play()

  

def OnCloseWindow(self,event):

  self.Destroy()

class MyApp(wx.App):

def OnInit(self):

    frame = MyFrame(None,'Form1')

    frame.Show(True)

return True

app=MyApp(redirect=True)

app.MainLoop()

David Woods wrote:

···
**
Erik Vandamme
54 Hilltop Road - WAMBERAL NSW 2260 Australia
Skype - erik_vandamme
02 43843613 - 0406 042750**

erik1vandamme@gmail.com


Eric,
I played with PyMedia a year or so ago, but gave it up for wxMediaCtrl, which met my video needs better. That was obviously several wx versions ago. I also found PyMedia to be too slow to do some audio extraction I needed.
David
----- Original Message -----
From: Erik Vandamme Date: Wednesday, February 20, 2008 5:07 pm
Subject: [wxPython-users] pyeMedia
To: wxPython User-List

HAs anybody played with this video/audio lib? I am using Active Python
2.5 and wxPython 2.8.7.1
I had a very hard time to find a Pyemedia windows binary to match. However none of the examples seem to work (or better they don't do
anything and stop without leaving any trace or error log).
Any suggestions?
Cheers
-- Erik Vandamme
54 Hilltop Road - WAMBERAL NSW 2260 Australia
Skype - erik_vandamme
02 43843613 - 0406 042750
---------------------------------------------------------------------
To unsubscribe, e-mail: For additional commands, e-mail:
---------------------------------------------------------------------
To unsubscribe, e-mail: For additional commands, e-mail:

erik1vandamme@gmail.comwxPython-users@lists.wxwidgets.orgerik1vandamme@gmail.comwxPython-users-unsubscribe@lists.wxwidgets.orgwxPython-users-help@lists.wxwidgets.orgwxPython-users-unsubscribe@lists.wxwidgets.orgwxPython-users-help@lists.wxwidgets.org