<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks, I'm giving VLC a try and it seems to be working okay.
Probably a question for the VLC forums (I'll copy a post there in a
minute...), but I don't understand why I can't get autocropping to
work. I'm using """self.Instance = vlc.Instance("--no-audio",
"--play-and-pause", "--autocrop") """ within my program, and I've
tried using the same arguments on the command line but no joy.
Should I be adding any other arguments to include this filter? I'm
using the precompiled version of vlc.py which came with the Qt
bindings; under Windows 7, PyQt4 and Python 3.2.<br>
<br>
MPlayer was also working well embedded into a QWidget, only the
background was destroyed in resizing when paused or stopped as
described in my earlier posting below. I attempted also to take
screenshots using QPixmap.grabWindow() and .grabWidget() but these
only return an empty image. I'd still like to understand this
behaviour if anyone has any ideas. Thanks.<br>
<br>
Best regards,<br>
Timothy Grove<br>
<br>
On 04/09/2011 13:45, Jo Jürgens wrote:
<blockquote
cite="mid:CAAOciAhqD+P0sqL1KfDb13Wro+ciEWqxnX6vo4TzrRLF54ZScw@mail.gmail.com"
type="cite">If you can use VLC instead of Mplayer, there are
Python/Qt bindings for it that seem to work fine
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://wiki.videolan.org/Python_bindings"
target="_blank">http://wiki.videolan.org/Python_bindings</a><br>
<br>
<div class="gmail_quote">
On Sun, Aug 28, 2011 at 4:27 PM, Timothy W. Grove <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:tim_grove@sil.org" target="_blank">tim_grove@sil.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I've been successful in embedding the MPlayer video player
into a QWidget thanks to the PyMPlayer application (<a
moz-do-not-send="true"
href="http://code.google.com/p/python-mplayer/"
target="_blank">http://code.google.com/p/python-mplayer/</a>).
Resizing the QWidget resizes a movie just fine while the
movie is playing, but once a movie is paused or stopped, no
resizing of the displayed frame occurrs and even worse, if
the window size is decreased so that it covers the movie,
that area of the movie frame is erased. I'm wondering if
someone could suggest what issues 'might' be involved here?
Thanks for any ideas!<br>
<br>
Best regards,<br>
Tim<br>
_______________________________________________<br>
PyQt mailing list <a moz-do-not-send="true"
href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a moz-do-not-send="true"
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt"
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>