osxvideosink

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

osxvideosink

p.ohanlon
I’ve been trying to play video with gstreamer on the mac (OSX10.5.6) -
I’ve been trying the latest macport(1.7.0) versions (good-0.10.14 &
base-0.10.22) but I don’t see anything when I just try the simple
test:

gst-launch videotestsrc ! osxvideosink

It seems to say things are ok “Setting pipeline to PLAYING …” but I
don’t see anything on my screen?? It does work if I use the X11
version: "gst-launch videotestsrc ! ximagesink". I've tried running
with GST_DEBUG enabled but don't see any revealing error messages
either.....

I guess I'm doing something stupid but I can't see what...

Any suggestions very welcome!

Thanks,

Piers

------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: osxvideosink

michael smith-6-3
On Wed, Apr 1, 2009 at 4:16 PM, P O'Hanlon <[hidden email]> wrote:
> I’ve been trying to play video with gstreamer on the mac (OSX10.5.6) -
> I’ve been trying the latest macport(1.7.0) versions (good-0.10.14 &
> base-0.10.22) but I don’t see anything when I just try the simple
> test:
>
> gst-launch videotestsrc ! osxvideosink

Some older versions of osxvideosink sort of worked when you did this.

Because of how cocoa works, though, this caused MAJOR problems in real
applications that were using osxvideosink. So, in the current
releases, osxvideosink can no longer be used without a hosting
application setting up a view for it to draw into. Sorry about that.

Mike

------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: osxvideosink

Piers O'Hanlon
Michael,

Thanks for getting back to me.

I had suspected that this might be the case - so I tried some of the
Python examples from here:
http://pygstdocs.berlios.de/pygst-tutorial/introduction.html
But none of the video examples worked and I also tried a WX version of
these but that didn't work either. Are there any [python or otherwise]
examples of using the new osxvideosink on OSX?

Many thanks,

Piers

2009/4/2 Michael Smith <[hidden email]>:

> On Wed, Apr 1, 2009 at 4:16 PM, P O'Hanlon <[hidden email]> wrote:
>> I’ve been trying to play video with gstreamer on the mac (OSX10.5.6) -
>> I’ve been trying the latest macport(1.7.0) versions (good-0.10.14 &
>> base-0.10.22) but I don’t see anything when I just try the simple
>> test:
>>
>> gst-launch videotestsrc ! osxvideosink
>
> Some older versions of osxvideosink sort of worked when you did this.
>
> Because of how cocoa works, though, this caused MAJOR problems in real
> applications that were using osxvideosink. So, in the current
> releases, osxvideosink can no longer be used without a hosting
> application setting up a view for it to draw into. Sorry about that.
>
> Mike
>

------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel