[gst-devel] gst-python and GstXOverlay
Martin Soto
soto at informatik.uni-kl.de
Tue Nov 9 04:49:02 CET 2004
Hi Johan,
thanks a lot for the quick answer.
On Tue, 2004-11-09 at 12:42, Johan Dahlin wrote:
> I'm not exactly sure what needs to be done to make it work properly.
>
> In my small video test application:
> http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-
> python/examples/gstplay/videoplayer.py?rev=1.3&view=auto
Thanks for the pointer, I had checked the examples in gst-python but
missed the important bit :-/ I'll test it at home today or (more likely)
tomorrow and tell you if it helps me.
> I'm using after realize + and idle to make it happen "a bit later",
> which seems to work reliably on my machine, but it's a gross hack.
I also tried introducing a delay, but it didn't work. Maybe I didn't
choose the right place for it.
> Btw, are you planning to release your dvd player?
Yes, I am. For what it's worth, I'll hopefully upload some code to SF
during the weekend, but I cannot guarantee that it'll be usable to
anyone. The problem with the player is that I started developing it with
the DXR3 card in mind, because back then it was my only way to play DVDs
(my computer was too slow to do it in software). As I developed it, it
became more and more dependent on my personal setup, so it was only
useful to someone running Linux in a machine with a lirc compatible
infrared receiver and a DXR3 card hooked up to a TV set and an external
AC3 capable receiver :-P. This, and the fact that innumerable tweaks
were needed to make the DXR3 card more or less work (current drivers can
barely play video, but subtitles often make the card hang, at least in
my experience) prevented me from releasing any code.
A couple of weeks ago, I got a new, much faster computer with a normal
TV-out, and am now working on converting everything to work in "pure
software" as well as cleaning up the code. During the last week, I've
been commiting some of my local patches to GStreamer. The biggest one is
the new "Fair" scheduler, that is necessary to make things run smoothly.
With it, I'm achieving under 30% load in my Athlon 64, vs. 70 to 100%
with other schedulers, provided a lot of tweaking of the queue timeouts.
By the way, I'd appreciate people to give it a try if they can. With
current CVS, selecting "fairgthread" as scheduler should do the trick.
Additionally, the patch to gstqueue that I sent yesterday to the list is
necessary, as well. Also a couple of fixes to
mpegparse/mpegdemux/dvddemux will probably have to go in, but I'm
waiting for Ronald to provide me with some info about what he's trying
to do with said elements.
So provided, I can get all those patches in soon enough, and also
provided I can figure out how to do decent video display on a window
(I'd like at least a fullscreen mode with decent aspect ratio handling)
a player will be available in a few days time.
Cheers,
M. S.
--
Martin Soto <soto at informatik.uni-kl.de>
Universität Kaiserslautern
More information about the gstreamer-devel
mailing list