Running OpenGL pileline
Potoman
lepotoman at msn.com
Fri Feb 12 21:16:41 UTC 2016
Ok, I've test on my home pc, windows 10, gstreamer 1.6.1. And the results is
totally different... It's work !
So my first test, I've done it on Windows 7 with gstreamer 1.4.3.
Here the log :
0:00:03.788656831 7164 02619080 WARN gldisplay
gstgldisplay.c:217:gst_gl_display_new: Could not create display. user
specified (NULL) (platform: (NULL)), creating dummy
0:00:03.794095887 7164 02619080 INFO GST_CONTEXT
gstglutils.c:657:gst_gl_display_context_propagate:<sink> posting have
context (1061A258) message with display (0C09A2D8)
0:00:03.799571087 7164 02619080 INFO GST_CONTEXT
gstglutils.c:469:pad_query:<sink:sink> pad peer query failed
0:00:03.803198909 7164 02619080 INFO GST_CONTEXT
gstglutils.c:528:_gst_context_query:<sink> posting need context message
0:00:03.807435830 7164 02619080 INFO GST_STATES
gstelement.c:2330:gst_element_continue_state:<sink> completed state change
to READY
0:00:03.811614742 7164 02619080 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<sink> notifying about
state-changed NULL to READY (VOID_PENDING pending)
0:00:03.817082803 7164 02619080 INFO GST_STATES
gstbin.c:2707:gst_bin_change_state_func:<glimagesinkbin0> child 'sink'
changed state to 2(READY) successfully
0:00:03.822703473 7164 02619080 INFO GST_STATES
gstbin.c:2243:gst_bin_element_set_state:<glcolorconvertelement0> current
NULL pending VOID_PENDING, desired next READY
0:00:03.827976978 7164 02619080 INFO GST_CONTEXT
gstglutils.c:513:_gst_context_query:<glcolorconvertelement0> found context
(1061A168) in downstream query
0:00:03.833188458 7164 02619080 INFO GST_CONTEXT
gstglutils.c:469:pad_query:<glcolorconvertelement0:src> pad peer query
failed
0:00:03.837241534 7164 02619080 INFO GST_CONTEXT
gstglutils.c:469:pad_query:<glcolorconvertelement0:sink> pad peer query
failed
0:00:03.841674349 7164 02619080 INFO GST_CONTEXT
gstglutils.c:528:_gst_context_query:<glcolorconvertelement0> posting need
context message
0:00:03.846285208 7164 02619080 INFO GST_STATES
gstelement.c:2330:gst_element_continue_state:<glcolorconvertelement0>
completed state change to READY
0:00:03.850973711 7164 02619080 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<glcolorconvertelement0>
notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:03.856879966 7164 02619080 INFO GST_STATES
gstbin.c:2707:gst_bin_change_state_func:<glimagesinkbin0> child
'glcolorconvertelement0' changed state to 2(READY) successfully
0:00:03.862756770 7164 02619080 INFO GST_STATES
gstbin.c:2243:gst_bin_element_set_state:<gluploadelement0> current NULL
pending VOID_PENDING, desired next READY
0:00:03.868066866 7164 02619080 INFO GST_CONTEXT
gstglutils.c:513:_gst_context_query:<gluploadelement0> found context
(0BF75D30) in downstream query
0:00:03.873807571 7164 02619080 INFO GST_CONTEXT
gstglutils.c:469:pad_query:<gluploadelement0:src> pad peer query failed
0:00:03.877748198 7164 02619080 INFO GST_CONTEXT
gstglutils.c:469:pad_query:<gluploadelement0:sink> pad peer query failed
0:00:03.882009662 7164 02619080 INFO GST_CONTEXT
gstglutils.c:528:_gst_context_query:<gluploadelement0> posting need context
message
0:00:03.886108699 7164 02619080 INFO GST_STATES
gstelement.c:2330:gst_element_continue_state:<gluploadelement0> completed
state change to READY
0:00:03.890965875 7164 02619080 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<gluploadelement0>
notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:03.896771729 7164 02619080 INFO GST_STATES
gstbin.c:2707:gst_bin_change_state_func:<glimagesinkbin0> child
'gluploadelement0' changed state to 2(READY) successfully
0:00:03.902163931 7164 02619080 INFO GST_STATES
gstelement.c:2330:gst_element_continue_state:<glimagesinkbin0> completed
state change to READY
0:00:03.906656987 7164 02619080 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<glimagesinkbin0>
notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:03.912589569 7164 02619080 INFO GST_STATES
gstbin.c:2707:gst_bin_change_state_func:<pipeline0> child 'glimagesinkbin0'
changed state to 2(READY) successfully
0:00:03.918416842 7164 02619080 INFO GST_STATES
gstbin.c:2243:gst_bin_element_set_state:<gltestsrc0> current NULL pending
VOID_PENDING, desired next READY
0:00:03.923714444 7164 02619080 INFO GST_CONTEXT
gstglutils.c:513:_gst_context_query:<gltestsrc0> found context (0BF75D00) in
downstream query
0:00:03.928081217 7164 02619080 INFO GST_CONTEXT
gstglutils.c:469:pad_query:<gltestsrc0:src> pad peer query failed
0:00:03.932201673 7164 02619080 INFO GST_CONTEXT
gstglutils.c:528:_gst_context_query:<gltestsrc0> posting need context
message
0:00:03.936185138 7164 02619080 INFO GST_STATES
gstelement.c:2330:gst_element_continue_state:<gltestsrc0> completed state
change to READY
0:00:03.941151639 7164 02619080 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<gltestsrc0> notifying
about state-changed NULL to READY (VOID_PENDING pending)
0:00:03.946393909 7164 02619080 INFO GST_STATES
gstbin.c:2707:gst_bin_change_state_func:<pipeline0> child 'gltestsrc0'
changed state to 2(READY) successfully
0:00:03.951216726 7164 02619080 INFO GST_STATES
gstelement.c:2305:gst_element_continue_state:<pipeline0> committing state
from NULL to READY, pending PAUSED, next PAUSED
0:00:03.956666045 7164 02619080 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<pipeline0> notifying
about state-changed NULL to READY (PAUSED pending)
0:00:03.962860116 7164 02619080 INFO GST_STATES
gstelement.c:2312:gst_element_continue_state:<pipeline0> continue state
change READY to PAUSED, final PAUSED
0:00:03.967891767 7164 02619080 INFO GST_STATES
gstbin.c:2243:gst_bin_element_set_state:<glimagesinkbin0> current READY
pending VOID_PENDING, desired next PAUSED
0:00:03.973449965 7164 02619080 INFO GST_STATES
gstbin.c:2243:gst_bin_element_set_state:<sink> current READY pending
VOID_PENDING, desired next PAUSED
0:00:03.978017094 7164 02619080 INFO glcontext
gstglcontext.c:311:gst_gl_context_new: creating a context for display
<gldisplay0>, user choice:(null)
0:00:03.982648033 7164 02619080 INFO glwindow
gstglwindow.c:274:gst_gl_window_new: creating a window, user choice:(null)
0:00:03.998028571 7164 0C09B058 INFO glcontext
gstglcontext.c:1293:gst_gl_context_create_thread:<glcontextwgl0> Attempting
to create opengl context. user chosen api(s) (any), compiled api support
(opengl opengl3) display api (opengl)
0:00:04.027655338 7164 0C09B058 INFO glcontext
gstglcontext.c:1304:gst_gl_context_create_thread:<glcontextwgl0> created
context
0:00:04.032881990 7164 0C09B058 INFO glcontext
gstglcontext.c:1320:gst_gl_context_create_thread:<glcontextwgl0> available
GL APIs: opengl
0:00:04.062680108 7164 0C09B058 INFO glcontext
gstglcontext.c:1134:_create_context_info:<glcontextwgl0> GL_VERSION: 3.1.0 -
Build 9.17.10.4229
0:00:04.068599304 7164 0C09B058 INFO glcontext
gstglcontext.c:1137:_create_context_info:<glcontextwgl0>
GL_SHADING_LANGUAGE_VERSION: 1.40 - Intel Build 9.17.10.4229
0:00:04.074376599 7164 0C09B058 INFO glcontext
gstglcontext.c:1139:_create_context_info:<glcontextwgl0> GL_VENDOR: Intel
0:00:04.078806737 7164 0C09B058 INFO glcontext
gstglcontext.c:1141:_create_context_info:<glcontextwgl0> GL_RENDERER:
Intel(R) HD Graphics 3000
0:00:05.419964355 7164 02619080 INFO glcontext
gstglcontext.c:952:gst_gl_context_create:<glcontextwgl0> gl thread created
0:00:05.466968524 7164 0C09B058 FIXME glshader
gstglshader.c:543:gst_gl_shader_compile: vertex shader info log:
No errors.
0:00:05.471860952 7164 0C09B058 FIXME glshader
gstglshader.c:583:gst_gl_shader_compile: vertex shader info log:
No errors.
0:00:05.477617721 7164 0C09B058 FIXME glshader
gstglshader.c:607:gst_gl_shader_compile: shader link log:
No errors.
0:00:05.482373604 7164 02619080 INFO GST_STATES
gstbin.c:2713:gst_bin_change_state_func:<glimagesinkbin0> child 'sink' is
changing state asynchronously to PAUSED
0:00:05.488564105 7164 02619080 INFO GST_STATES
gstbin.c:2243:gst_bin_element_set_state:<glcolorconvertelement0> current
READY pending VOID_PENDING, desired next PAUSED
0:00:05.494486424 7164 02619080 INFO GST_STATES
gstelement.c:2330:gst_element_continue_state:<glcolorconvertelement0>
completed state change to PAUSED
0:00:05.499812139 7164 02619080 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<glcolorconvertelement0>
notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:05.506017812 7164 02619080 INFO GST_STATES
gstbin.c:2707:gst_bin_change_state_func:<glimagesinkbin0> child
'glcolorconvertelement0' changed state to 3(PAUSED) successfully
0:00:05.512229732 7164 02619080 INFO GST_STATES
gstbin.c:2243:gst_bin_element_set_state:<gluploadelement0> current READY
pending VOID_PENDING, desired next PAUSED
0:00:05.517981146 7164 02619080 INFO GST_STATES
gstelement.c:2330:gst_element_continue_state:<gluploadelement0> completed
state change to PAUSED
0:00:05.523269823 7164 02619080 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<gluploadelement0>
notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:05.529931094 7164 02619080 INFO GST_STATES
gstbin.c:2707:gst_bin_change_state_func:<glimagesinkbin0> child
'gluploadelement0' changed state to 3(PAUSED) successfully
0:00:05.535366133 7164 02619080 INFO GST_STATES
gstbin.c:2713:gst_bin_change_state_func:<pipeline0> child 'glimagesinkbin0'
is changing state asynchronously to PAUSED
0:00:05.540608403 7164 02619080 INFO GST_STATES
gstbin.c:2243:gst_bin_element_set_state:<gltestsrc0> current READY pending
VOID_PENDING, desired next PAUSED
0:00:05.546063523 7164 02619080 INFO basesrc
gstbasesrc.c:1339:gst_base_src_do_seek:<gltestsrc0> seeking: time segment
start=0:00:00.000000000, 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:05.559933137 7164 02619080 INFO task
gsttask.c:450:gst_task_set_lock: setting stream lock 10618074 on task
0C171030
0:00:05.563936682 7164 02619080 INFO GST_PADS
gstpad.c:5847:gst_pad_start_task:<gltestsrc0:src> created task 0C171030
0:00:05.567801897 7164 02619080 INFO GST_STATES
gstelement.c:2330:gst_element_continue_state:<gltestsrc0> completed state
change to PAUSED
0:00:05.572018292 7164 02619080 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<gltestsrc0> notifying
about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:05.572073178 7164 0C09B1C0 INFO GST_ELEMENT_PADS
gstelement.c:894:gst_element_get_static_pad: no such pad 'sink' in element
"gltestsrc0"
0:00:05.582668828 7164 02619080 INFO GST_STATES
gstbin.c:2707:gst_bin_change_state_func:<pipeline0> child 'gltestsrc0'
changed state to 3(PAUSED) successfully
0:00:05.5826Pipeline is PREROLLING ...
72397 Got context from element 'sink': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplay\)\ 71g6l4display0";
0C09B1C0 FIXME default
gstutils.c:3766:gst_pad_create_stream_id_internal:<gltestsrc0:src> Creating
random stream-id, consider implementing a deterministic way of creating a
stream-id
0:00:05.599122094 7164 0C09B1C0 INFO GST_EVENT
gstevent.c:679:gst_event_new_caps: creating caps event
video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320,
height=(int)240, framerate=(fraction)30/1
0:00:05.605994429 7164 0C09B1C0 INFO GST_EVENT
gstevent.c:679:gst_event_new_caps: creating caps event
video/x-raw(memory:GLMemory, meta:GstVideoOverlayComposition),
width=(int)320, height=(int)240, framerate=(fraction)30/1,
format=(string)RGBA
0:00:05.614835516 7164 0C09B1C0 INFO basetransform
gstbasetransform.c:1367:gst_base_transform_setcaps:<glcolorconvertelement0>
reuse caps
0:00:05.618938124 7164 0C09B1C0 INFO GST_EVENT
gstevent.c:679:gst_event_new_caps: creating caps event
video/x-raw(memory:GLMemory, meta:GstVideoOverlayComposition),
width=(int)320, height=(int)240, framerate=(fraction)30/1,
format=(string)RGBA
0:00:05.634408799 7164 0C09B1C0 INFO GST_EVENT
gstevent.c:760:gst_event_new_segment: creating segment event time segment
start=0:00:00.000000000, 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:05.648110186 7164 0C09B1C0 INFO basesrc
gstbasesrc.c:2838:gst_base_src_loop:<gltestsrc0> marking pending DISCONT
0:00:05.654825450 7164 0C09B058 FIXME glshader
gstglshader.c:543:gst_gl_shader_compile: vertex shader info log:
No errors.
0:00:05.659284145 7164 0C09B058 FIXME glshader
gstglshader.c:583:gst_gl_shader_compile: vertex shader info log:
No errors.
0:00:05.664385854 7164 0C09B058 FIXME glshader
gstglshader.c:607:gst_gl_shader_compile: shader link log:
No errors.
0:00:05.678796741 7164 0C09B1C0 INFO GST_STATES
gstbin.c:3181:bin_handle_async_done:<glimagesinkbin0> committing state from
READY to PAUSED, old pending PAUSED
0:00:05.684356278 7164 0C09B1C0 INFO GST_STATES
gstbin.c:3201:bin_handle_async_done:<glimagesinkbin0> completed state
change, pending VOID
0:00:05.688650763 7164 0C09B1C0 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<glimagesinkbin0>
notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:05.694902397 7164 0C09B1C0 INFO GST_STATES
gstbin.c:3181:bin_handle_async_done:<pipeline0> committing state from READY
to PAUSED, old pending PAUSED
0:00:05.701257556 7164 0C09B1C0 INFO GST_STATES
gstbin.c:3201:bin_handle_async_done:<pipeline0> completed state change,
pending VOID
0:00:05.705356593 7164 0C09B1C0 INFO GST_STATES
gstelement.c:2235:_priv_gst_element_state_changed:<pipeline0> notifying
about state-changed READY to PAUSED (VOID_PENDING pending)
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
So know I have two way :
- First is to update my gstreamer version on my work station but it's could
be complicated, and it's possible that that's doesn't work;
- Two : continue to investigate to know what's append.
What's from you the best way to take ?
Afterthat, I notice something in the log that's could be interesting.
When it's doesn't work, I have this log :
INFO glcontext gstglcontext.c:262:gst_gl_context_new: creating
a context, user choice:(null)
INFO glwindow gstglwindow.c:158:gst_gl_window_new: creating a
window, user choice:(null)
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)
INFO glcontext
gstglcontext.c:763:gst_gl_context_create_thread: created context
INFO glcontext
gstglcontext.c:778:gst_gl_context_create_thread: available GL APIs: opengl
INFO glcontext gstglcontext.c:612:_create_context_info:
GL_VERSION: 3.3.0 - Build 8.15.10.2752
INFO glcontext gstglcontext.c:614:_create_context_info:
GL_SHADING_LANGUAGE_VERSION: 3.30 - Intel Build 8.15.10
.2752
INFO glcontext gstglcontext.c:616:_create_context_info:
GL_VENDOR: Intel
INFO glcontext gstglcontext.c:618:_create_context_info:
GL_RENDERER: Intel(R) HD Graphics 4000
*INFO glwindow
gstglwindow_win32.c:296:gst_gl_window_win32_run: begin message loop*
INFO glcontext gstglcontext.c:590:gst_gl_context_create: gl
thread created
And when it work, I don't have the gst_gl_window_win32_run...
It's strange... I going to install gstreamer 1.4.3 on my personnal computer
to know if I have the same behavior.
++
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Running-OpenGL-pileline-tp4675820p4675832.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list