Running OpenGL pileline

Potoman lepotoman at msn.com
Fri Feb 12 15:45:49 UTC 2016


Hey !

I try to run a basic pipeline using opengl like that :

gst-launch-1.0 gltestsrc ! glimagesink

My application crash and the last message on my console is :

--------------------------------

d next READY
0:00:02.866710376  6308   02309080 INFO              GST_STATES
gstelement.c:2328:gst_element_continue_state:<glimagesink0> completed state
change to READY
0:00:02.871179926  6308   02309080 INFO              GST_STATES
gstelement.c:2233:_priv_gst_element_state_changed:<glimagesink0> notifying
about state-changed N
ULL to READY (VOID_PENDING pending)
0:00:02.876150252  6308   02309080 INFO              GST_STATES
gstbin.c:2673:gst_bin_change_state_func:<pipeline0> child 'glimagesink0'
changed state to 2(READ
Y) successfully
0:00:02.882575816  6308   02309080 INFO              GST_STATES
gstbin.c:2230:gst_bin_element_set_state:<gltestsrc0> current NULL pending
VOID_PENDING, desired
next READY
0:00:02.888251575  6308   02309080 INFO              GST_STATES
gstelement.c:2328:gst_element_continue_state:<gltestsrc0> completed state
change to READY
0:00:02.891369726  6308   02309080 INFO              GST_STATES
gstelement.c:2233:_priv_gst_element_state_changed:<gltestsrc0> notifying
about state-changed NUL
L to READY (VOID_PENDING pending)
0:00:02.895837767  6308   02309080 INFO              GST_STATES
gstbin.c:2673:gst_bin_change_state_func:<pipeline0> child 'gltestsrc0'
changed state to 2(READY)
 successfully
0:00:02.901544919  6308   02309080 INFO              GST_STATES
gstelement.c:2303:gst_element_continue_state:<pipeline0> committing state
from NULL to READY, pe
nding PAUSED, next PAUSED
0:00:02.906556297  6308   02309080 INFO              GST_STATES
gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying
about state-changed NULL
 to READY (PAUSED pending)
0:00:02.910615327  6308   02309080 INFO              GST_STATES
gstelement.c:2310:gst_element_continue_state:<pipeline0> continue state
change READY to PAUSED,
final PAUSED
0:00:02.917362063  6308   02309080 INFO              GST_STATES
gstbin.c:2230:gst_bin_element_set_state:<glimagesink0> current READY pending
VOID_PENDING, desir
ed next PAUSED
0:00:02.922452225  6308   02309080 INFO             GST_CONTEXT
gstglutils.c:565:context_pad_query:<glimagesink0:sink> context pad peer
query failed
0:00:02.925383830  6308   02309080 INFO             GST_CONTEXT
gstglutils.c:624:_gst_gl_display_context_query:<glimagesink0> posting need
context message
0:00:02.929176021  6308   02309080 INFO               gldisplay
gstgldisplay.c:144:gst_gl_display_new: creating a display, user
choice:(NULL) (platform: (NULL))

0:00:02.934855704  6308   02309080 WARN               gldisplay
gstgldisplay.c:167:gst_gl_display_new: Could not create display. user
specified (NULL) (platform
: (NULL)), creating dummy
0:00:02.941078120  6308   02309080 INFO             GST_CONTEXT
gstglutils.c:702:gst_gl_display_context_propagate:<glimagesink0> posting
have context (097FF5B8)
 message with display (098388E0)
0:00:02.945510241  6308   02309080 INFO              GST_STATES
gstbin.c:2679:gst_bin_change_state_func:<pipeline0> child 'glimagesink0' is
changing state async
hronously to PAUSED
0:00:02.951356245  6308   02309080 INFO              GST_STATES
gstbin.c:2230:gst_bin_element_set_state:<gltestsrc0> current READY pending
VOID_PENDING, desired
 next PAUSED
0:00:02.956090522  6308   02309080 INFO             GST_CONTEXT
gstglutils.c:609:_gst_gl_display_context_query:<gltestsrc0> found context
(097FF618) in downstre
am query
0:00:02.960803367  6308   02309080 INFO                 basesrc
gstbasesrc.c:1328:gst_base_src_do_seek:<gltestsrc0> seeking: time segment
start=0:00:00.00000000
0, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1,000000,
applied_rate=1,000000, flags=0x00, time=0:00:00.000000000,
base=0:00:00.000000000, position
 0:00:00.000000000, duration 99:99:99.999999999
0:00:02.970890720  6308   02309080 INFO                    task
gsttask.c:432:gst_task_set_lock: setting stream lock 098F407C on task
098F6028
0:00:02.973794856  6308   02309080 INFO                GST_PADS
gstpad.c:5521:gst_pad_start_task:<gltestsrc0:src> created task 098F6028
0:00:02.976803132  6308   02309080 INFO              GST_STATES
gstelement.c:2328:gst_element_continue_state:<gltestsrc0> completed state
change to PAUSED
0:00:02.980133486  6308   02309080 INFO              GST_STATES
gstelement.c:2233:_priv_gst_element_state_changed:<gltestsrc0> notifying
about state-changed REA
DY to PAUSED (VOID_PENDING pending)
0:00:02.980178764  6308   09839190 INFO        GST_ELEMENT_PADS
gstelement.c:892:gst_element_get_static_pad: no such pad 'sink' in element
"gltestsrc0"
0:00:02.989544083  6308   02309080 INFO              GST_STATES
gstbin.c:2673:gst_bin_change_state_func:<pipeline0> child 'gltestsrc0'
changed state to 3(PAUSED
) successfully
0:00P:i0p2e.l9i8n9e5 4i9s2 1P5R EROL L6I3N0G8 ...
 09839190 GoFtI XcMoEn t e xt f r o m   e l e m e n t   'dgelfiamualgte
sgisntku0t'i:l sg.sct:.3g6l4.3G:LgDsits_pplaady_=ccroenatteex_ts,t
rgesatm._gild._GiLnDt
iesrpnlaaly:=<(gGlstteGsLtDsirscp0l:asyr)c">\(Gs tCGrLeDaitsipnlga yr\a)n\d
ogml dsitsrpelaamy-0i"d;,
consider implementing a deterministic way of creating a stream-id
0:00:03.003543765  6308   09839190 INFO               GST_EVENT
gstevent.c:678:gst_event_new_caps: creating caps event
video/x-raw(memory:GLMemory), format=(str
ing)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1
0:00:03.008773384  6308   09839190 INFO               glcontext
gstglcontext.c:262:gst_gl_context_new: creating a context, user
choice:(null)
0:00:03.011768680  6308   09839190 INFO                glwindow
gstglwindow.c:158:gst_gl_window_new: creating a window, user choice:(null)
0:00:03.026494321  6308   098392F8 INFO               glcontext
gstglcontext.c:754:gst_gl_context_create_thread: Attempting to create opengl
context. user chose
n api(s) (any), compiled api support (opengl opengl3)
0:00:03.118776792  6308   098392F8 INFO               glcontext
gstglcontext.c:763:gst_gl_context_create_thread: created context
0:00:03.122866308  6308   098392F8 INFO               glcontext
gstglcontext.c:778:gst_gl_context_create_thread: available GL APIs: opengl
0:00:03.145577796  6308   098392F8 INFO               glcontext
gstglcontext.c:612:_create_context_info: GL_VERSION: 3.3.0 - Build
8.15.10.2752
0:00:03.150738592  6308   098392F8 INFO               glcontext
gstglcontext.c:614:_create_context_info: GL_SHADING_LANGUAGE_VERSION: 3.30 -
Intel Build 8.15.10
.2752
0:00:03.155747555  6308   098392F8 INFO               glcontext
gstglcontext.c:616:_create_context_info: GL_VENDOR: Intel
0:00:03.158440394  6308   098392F8 INFO               glcontext
gstglcontext.c:618:_create_context_info: GL_RENDERER: Intel(R) HD Graphics
4000
0:00:04.216323897  6308   098392F8 INFO                glwindow
gstglwindow_win32.c:296:gst_gl_window_win32_run: begin message loop
0:00:04.220010740  6308   09839190 INFO               glcontext
gstglcontext.c:590:gst_gl_context_create: gl thread created

--------------------------------


So I try to set some environment variable like :

GST_GL_PLATFORM or GST_GL_WINDOW but unsuccessfull.

I'm new to opengl library but I have made some simple tutoriel on it so I
have little experience in it.

Maybe I made something wrong...

What I should do to launch successfully this pipeline ?

Thanks.





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Running-OpenGL-pileline-tp4675820.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list