no working native video sinks on osx?

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

no working native video sinks on osx?

Antoine Martin
Hi,

Following the thread:
Re: [gst-devel] osxvideosink: how to get the window id?

I tried all the native video sinks than can be built on osx and could
not get a single one of them to work:

$ gst-launch videotestsrc ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Bus error

$ gst-launch videotestsrc ! osxvideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Bus error

$ gst-launch videotestsrc ! sdlvideosink
Setting pipeline to PAUSED ...
2011-04-23 17:51:02.105 gst-launch-0.10[39376:80f] ***
_NSAutoreleaseNoPool(): Object 0x4e63cb0 of class NSCFNumber
autoreleased with no pool in place - just leaking
Stack: (0x2493f4f 0x23a0432 0x59cacad 0x1cb28b8 0x1cb1239 0x1cc16d6
0x5a2711b 0x5a25321 0x5a25066 0x5a24a15 0x5a24554 0x5a22550 0x4fb894a
0x4fabdef 0x4f765e0 0x4f76768 0x4f06a2f 0x16ea17 0x16ebd0 0x4f08b91
0x15dab0 0x15d951 0x15d520 0x140990 0x14225c 0x186d0d 0x15dab0 0x15d951
0x15d520 0x8c99 0x69ce)
(...)
2011-04-23 17:51:02.387 gst-launch-0.10[39376:2d03] Stack: (
    17899499,
(...)
    4263954
)
Trace/BPT trap

How is one supposed to display video natively on osx?

The ximagesink does work but this is not what I am looking for as it
requires an X11 server (non native).
Also FYI: the xvimagesink fails with a cryptic port error:
get_xvimagesink_get_xv_support():
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
No port available

Thanks
Antoine
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: no working native video sinks on osx?

michael smith-6-3
On Sat, Apr 23, 2011 at 1:13 PM, Antoine Martin <[hidden email]> wrote:
> Hi,
>
> Following the thread:
> Re: [gst-devel] osxvideosink: how to get the window id?
>
> I tried all the native video sinks than can be built on osx and could
> not get a single one of them to work:

osxvideosink does work, but only from a cocoa application. It does not
work from gst-launch. That's the recommended general-purpose video
sink on osx.

Mike
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
smo
Reply | Threaded
Open this post in threaded view
|

Re: no working native video sinks on osx?

smo
hi

so it s totally impossible to play a video with playbin or gst-launch (or another way) in a pygtk apps without x11 on osx ?

thanks


Michael Smith a écrit :
On Sat, Apr 23, 2011 at 1:13 PM, Antoine Martin [hidden email] wrote:
  
Hi,

Following the thread:
Re: [gst-devel] osxvideosink: how to get the window id?

I tried all the native video sinks than can be built on osx and could
not get a single one of them to work:
    

osxvideosink does work, but only from a cocoa application. It does not
work from gst-launch. That's the recommended general-purpose video
sink on osx.

Mike
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
  


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: no working native video sinks on osx?

Tonu Jaansoo
Hi!

install using macports:
sudo port install gst-plugins-gl
and try glimagesink 

Tõnu.

On Apr 26, 2011, at 10:46 PM, Sylvain LAGUILLAUMIE wrote:

hi

so it s totally impossible to play a video with playbin or gst-launch (or another way) in a pygtk apps without x11 on osx ?

thanks


Michael Smith a écrit :
On Sat, Apr 23, 2011 at 1:13 PM, Antoine Martin [hidden email] wrote:
  
Hi,

Following the thread:
Re: [gst-devel] osxvideosink: how to get the window id?

I tried all the native video sinks than can be built on osx and could
not get a single one of them to work:
    

osxvideosink does work, but only from a cocoa application. It does not
work from gst-launch. That's the recommended general-purpose video
sink on osx.

Mike
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: no working native video sinks on osx?

michael smith-6-3
In reply to this post by smo
I'm not familiar with pygtk on OSX at all, so I couldn't say for sure.
However, I'd expect that it runs the cocoa event loop somehow
underneath everything, so that you could do this. You just can't use
gst-launch from the command line.

I might be wrong, of course.

Mike


On Tue, Apr 26, 2011 at 12:46 PM, Sylvain LAGUILLAUMIE <[hidden email]> wrote:

> hi
>
> so it s totally impossible to play a video with playbin or gst-launch (or
> another way) in a pygtk apps without x11 on osx ?
>
> thanks
>
>
> Michael Smith a écrit :
>
> On Sat, Apr 23, 2011 at 1:13 PM, Antoine Martin <[hidden email]>
> wrote:
>
>
> Hi,
>
> Following the thread:
> Re: [gst-devel] osxvideosink: how to get the window id?
>
> I tried all the native video sinks than can be built on osx and could
> not get a single one of them to work:
>
>
> osxvideosink does work, but only from a cocoa application. It does not
> work from gst-launch. That's the recommended general-purpose video
> sink on osx.
>
> Mike
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
smo
Reply | Threaded
Open this post in threaded view
|

Re: no working native video sinks on osx?

smo
In reply to this post by Tonu Jaansoo
hi

thanks for the reply

i don t know if this works for you but, if i try the glimagesink i have :

ERROR:gstgldisplay.c:2603:gst_gl_display_thread_init_upload_fbo: assertion failed: (glCheckFramebufferStatusEXT (GL_FRAMEBUFFER_EXT) == GL_FRAMEBUFFER_COMPLETE_EXT)
Abort trap


and the app crash

thanks

Le 26 avr. 2011 à 21:54, Tonu Jaansoo a écrit :

Hi!

install using macports:
sudo port install gst-plugins-gl
and try glimagesink 

Tõnu.

On Apr 26, 2011, at 10:46 PM, Sylvain LAGUILLAUMIE wrote:

hi

so it s totally impossible to play a video with playbin or gst-launch (or another way) in a pygtk apps without x11 on osx ?

thanks


Michael Smith a écrit :
On Sat, Apr 23, 2011 at 1:13 PM, Antoine Martin [hidden email] wrote:
  
Hi,

Following the thread:
Re: [gst-devel] osxvideosink: how to get the window id?

I tried all the native video sinks than can be built on osx and could
not get a single one of them to work:
    

osxvideosink does work, but only from a cocoa application. It does not
work from gst-launch. That's the recommended general-purpose video
sink on osx.

Mike
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel