arturoc / ofxGStreamer

openFrameworks addon to use gstreamer under osx and windows. This addon has no code and instead uses the addon_config.mk file to add the needed files from the core + the flags needed to compile using gstreamer
56 stars 28 forks source link

win7 platform does not work. #1

Closed yty closed 10 years ago

yty commented 10 years ago
    player.setPlayer(ofPtr<ofGstVideoPlayer>(new ofGstVideoPlayer));
    player.loadMovie("fingers.mov");

[ error ] ofGstUtils: startPipeline(): unable to get pipeline paused state [warning] ofGstUtils: getDurationNanos(): couldn't query time duration [ error ] ofGstVideoPlayer: allocate(): cannot get pipeline caps

I'm using the latest version of of 0.80 gstreamer-1.0-devel-x86-1.2.2.msi + vs2012 + win7

arturoc commented 10 years ago

weird, i've tested this on windows 8 but should work the same since it doesn't depend on the windows version. can you enable gstreamer debug an see if you find something more explanatory from the logs?

from a console type:

set GST_DEBUG=4

and then run the application from that console, you get a really long debug trace so if you can go through it and see if you can find the cause? if not you can output that trace to a file with:

./application 2> gstreamer.log

yty commented 10 years ago

cmd.exe

C:\windows\system32>set GST_DEBUG=4

C:\windows\system32>

sorry,I can not find gstreamer.log. What is the. / Application 2>?

yty commented 10 years ago

copied from the console, the content can not be complete ...

r)014d400dffe10016674d400d92540a0fd808800001f400007593478a155001000468ee3c80, wi
dth=(int)320, height=(int)240, framerate=(fraction)30099/1000, pixel-aspect-rati
o=(fraction)1/1
0:00:00.658110826  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:646
:gst_element_add_pad:<qtdemux0> adding pad 'video_0'
0:00:00.658781742  5344   09ACEAD0 INFO     GST_ELEMENT_FACTORY gstelementfactor
y.c:365:gst_element_factory_create: creating element "multiqueue"
0:00:00.659493417  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad qtdemux0:sink
0:00:00.660168145  5344   09ACEAD0 INFO              GST_STATES gstelement.c:230
3:gst_element_continue_state:<multiqueue0> committing state from NULL to READY,
pending PAUSED, next PAUSED
0:00:00.660834369  5344   09ACEAD0 INFO              GST_STATES gstelement.c:223
3:_priv_gst_element_state_changed:<multiqueue0> notifying about state-changed NU
LL to READY (PAUSED pending)
0:00:00.661387699  5344   09ACEAD0 INFO              GST_STATES gstelement.c:231
0:gst_element_continue_state:<multiqueue0> continue state change READY to PAUSED
, final PAUSED
0:00:00.661940736  5344   09ACEAD0 INFO              GST_STATES gstelement.c:232
8:gst_element_continue_state:<multiqueue0> completed state change to PAUSED
0:00:00.662572065  5344   09ACEAD0 INFO              GST_STATES gstelement.c:223
3:_priv_gst_element_state_changed:<multiqueue0> notifying about state-changed RE
ADY to PAUSED (VOID_PENDING pending)
0:00:00.663159996  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link qtdemux0:video_0 and decodepad1:proxypad2
0:00:00.663667875  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked qtdemux0:video_0 and decodepad1:proxypad2, successful
0:00:00.664175167  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.664846377  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad directsoundsink0:sink
0:00:00.665396774  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad app_sink:sink
0:00:00.665952743  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstpad.c:1840:gs
t_pad_unlink: unlinking qtdemux0:video_0(09AD3050) and decodepad1:proxypad2(09AB
E680)
0:00:00.666574982  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstpad.c:1894:gs
t_pad_unlink: unlinked qtdemux0:video_0 and decodepad1:proxypad2
0:00:00.667177868  5344   09ACEAD0 INFO                    task gsttask.c:431:gs
t_task_set_lock: setting stream lock 09AD332C on task 09AC6588
0:00:00.667686334  5344   09ACEAD0 INFO                GST_PADS gstpad.c:5365:gs
t_pad_start_task:<'':src_0> created task 09AC6588
0:00:00.668277490  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:646
:gst_element_add_pad:<multiqueue0> adding pad 'src_0'
0:00:00.668930226  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:646
:gst_element_add_pad:<multiqueue0> adding pad 'sink_0'
0:00:00.669448074  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link qtdemux0:video_0 and multiqueue0:sink_0
0:00:00.670015186  5344   09ACEAD0 INFO                GST_PADS gstpad.c:3626:gs
t_pad_peer_query:<multiqueue0:src_0> pad has no peer
0:00:00.670535674  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked qtdemux0:video_0 and multiqueue0:sink_0, successful
0:00:00.671050590  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.671561401  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link multiqueue0:src_0 and decodepad1:proxypad2
0:00:00.672066641  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked multiqueue0:src_0 and decodepad1:proxypad2, successful
0:00:00.672575106  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.673090316  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstpad.c:1840:gs
t_pad_unlink: unlinking multiqueue0:src_0(09AD32E0) and decodepad1:proxypad2(09A
BE680)
0:00:00.673638367  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstpad.c:1894:gs
t_pad_unlink: unlinked multiqueue0:src_0 and decodepad1:proxypad2
0:00:00.674175276  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link multiqueue0:src_0 and decodepad1:proxypad2
0:00:00.674847365  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked multiqueue0:src_0 and decodepad1:proxypad2, successful
0:00:00.675358176  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.675865468  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstpad.c:1840:gs
t_pad_unlink: unlinking multiqueue0:src_0(09AD32E0) and decodepad1:proxypad2(09A
BE680)
0:00:00.676430820  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstpad.c:1894:gs
t_pad_unlink: unlinked multiqueue0:src_0 and decodepad1:proxypad2
0:00:00.677130473  5344   09ACEAD0 INFO     GST_ELEMENT_FACTORY gstelementfactor
y.c:365:gst_element_factory_create: creating element "h264parse"
0:00:00.677655946  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:646
:gst_element_add_pad:<GstBaseParse@09AE94B8> adding pad 'sink'
0:00:00.678191975  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:646
:gst_element_add_pad:<GstBaseParse@09AE94B8> adding pad 'src'
0:00:00.678847936  5344   09ACEAD0 INFO               baseparse gstbaseparse.c:3
555:gst_base_parse_set_pts_interpolation:<GstH264Parse@09AE94B8> PTS interpolati
on: no
0:00:00.679425604  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link multiqueue0:src_0 and h264parse0:sink
0:00:00.679937295  5344   09ACEAD0 INFO                GST_PADS gstpad.c:3626:gs
t_pad_peer_query:<h264parse0:src> pad has no peer
0:00:00.680574782  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked multiqueue0:src_0 and h264parse0:sink, successful
0:00:00.681083247  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.681575878  5344   09ACEAD0 INFO              GST_STATES gstelement.c:232
8:gst_element_continue_state:<h264parse0> completed state change to READY
0:00:00.682067922  5344   09ACEAD0 INFO              GST_STATES gstelement.c:223
3:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed NUL
L to READY (VOID_PENDING pending)
0:00:00.682953484  5344   09ACEAD0 INFO                GST_PADS gstpad.c:3626:gs
t_pad_peer_query:<h264parse0:src> pad has no peer
0:00:00.683505935  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad h264parse0:src
0:00:00.684011467  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link h264parse0:src and decodepad1:proxypad2
0:00:00.684774458  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked h264parse0:src and decodepad1:proxypad2, successful
0:00:00.685275300  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.685772915  5344   09ACEAD0 INFO               GST_EVENT gstpad.c:5033:gs
t_pad_send_event_unchecked:<h264parse0:src> Received event on flushing pad. Disc
arding
0:00:00.686358207  5344   09ACEAD0 INFO     GST_ELEMENT_FACTORY gstelementfactor
y.c:365:gst_element_factory_create: creating element "capsfilter"
0:00:00.687107710  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:646
:gst_element_add_pad:<GstBaseTransform@09A28600> adding pad 'sink'
0:00:00.687637581  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:646
:gst_element_add_pad:<GstBaseTransform@09A28600> adding pad 'src'
0:00:00.688151911  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.688667413  5344   09ACEAD0 INFO              GST_STATES gstelement.c:230
3:gst_element_continue_state:<capsfilter0> committing state from NULL to READY,
pending PAUSED, next PAUSED
0:00:00.689208721  5344   09ACEAD0 INFO              GST_STATES gstelement.c:223
3:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed NU
LL to READY (PAUSED pending)
0:00:00.689753253  5344   09ACEAD0 INFO              GST_STATES gstelement.c:231
0:gst_element_continue_state:<capsfilter0> continue state change READY to PAUSED
, final PAUSED
0:00:00.690301598  5344   09ACEAD0 INFO              GST_STATES gstelement.c:232
8:gst_element_continue_state:<capsfilter0> completed state change to PAUSED
0:00:00.690832642  5344   09ACEAD0 INFO              GST_STATES gstelement.c:223
3:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed RE
ADY to PAUSED (VOID_PENDING pending)
0:00:00.691388318  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstpad.c:1840:gs
t_pad_unlink: unlinking h264parse0:src(09AD3570) and decodepad1:proxypad2(09ABE6
80)
0:00:00.691906166  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstpad.c:1894:gs
t_pad_unlink: unlinked h264parse0:src and decodepad1:proxypad2
0:00:00.692409940  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad capsfilter0:sink
0:00:00.693048894  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link h264parse0:src and capsfilter0:sink
0:00:00.693562344  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked h264parse0:src and capsfilter0:sink, successful
0:00:00.694095734  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.694887168  5344   09ACEAD0 INFO               GST_EVENT gstpad.c:5033:gs
t_pad_send_event_unchecked:<h264parse0:src> Received event on flushing pad. Disc
arding
0:00:00.695498851  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad capsfilter0:src
0:00:00.696035760  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link capsfilter0:src and decodepad1:proxypad2
0:00:00.696767375  5344   09ACEAD0 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked capsfilter0:src and decodepad1:proxypad2, successful
0:00:00.697266164  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.697759967  5344   09ACEAD0 INFO               GST_EVENT gstpad.c:5033:gs
t_pad_send_event_unchecked:<h264parse0:src> Received event on flushing pad. Disc
arding
0:00:00.698403613  5344   09ACEAD0 INFO              GST_STATES gstelement.c:232
8:gst_element_continue_state:<h264parse0> completed state change to PAUSED
0:00:00.699056935  5344   09ACEAD0 INFO              GST_STATES gstelement.c:223
3:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed REA
DY to PAUSED (VOID_PENDING pending)
0:00:00.699672723  5344   09ACEAD0 INFO               GST_EVENT gstevent.c:709:g
st_event_new_segment: creating segment event time segment start=0:00:00.00000000
0, stop=0:00:07.275989235, rate=1.000000, applied_rate=1.000000, flags=0x00, tim
e=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duratio
n 99:99:99.999999999
0:00:00.700351263  5344   09ACEAD0 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad app_sink:sink
0:00:00.701055901  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad app_sink:sink
0:00:00.701629463  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad app_sink:sink
0:00:00.702218274  5344   09ACEC38 INFO               baseparse gstbaseparse.c:3
536:gst_base_parse_set_passthrough:<h264parse0> passthrough: yes
0:00:00.702868371  5344   09ACEC38 INFO               h264parse gsth264parse.c:1
248:gst_h264_parse_update_src_caps:<h264parse0> framerate changed 60198/2000
0:00:00.703416422  5344   09ACEC38 INFO               h264parse gsth264parse.c:1
260:gst_h264_parse_update_src_caps:<h264parse0> aspect ratio idc changed 1
0:00:00.703967700  5344   09ACEC38 INFO               h264parse gsth264parse.c:1
304:gst_h264_parse_update_src_caps:<h264parse0> setting framerate in caps
0:00:00.704528653  5344   09ACEC38 INFO               baseparse gstbaseparse.c:3
595:gst_base_parse_set_latency:<h264parse0> min/max latency 0:00:00.033223695, 0
:00:00.033223695
0:00:00.705129487  5344   09ACEC38 INFO               GST_EVENT gstevent.c:628:g
st_event_new_caps: creating caps event video/x-h264, stream-format=(string)avc,
alignment=(string)au, level=(string)1.3, profile=(string)main, codec_data=(buffe
r)014d400dffe10016674d400d92540a0fd808800001f400007593478a155001000468ee3c80, wi
dth=(int)320, height=(int)240, framerate=(fraction)30099/1000, pixel-aspect-rati
o=(fraction)1/1, parsed=(boolean)true
0:00:00.705837350  5344   09ACEC38 INFO                GST_PADS gstpad.c:3626:gs
t_pad_peer_query:<'':decodepad1> pad has no peer
0:00:00.706361943  5344   09ACEC38 INFO                GST_PADS gstpad.c:3626:gs
t_pad_peer_query:<'':decodepad1> pad has no peer
0:00:00.706937558  5344   09ACEC38 INFO           basetransform gstbasetransform
.c:1335:gst_base_transform_setcaps:<capsfilter0> reuse caps
0:00:00.707507016  5344   09ACEC38 INFO               GST_EVENT gstevent.c:628:g
st_event_new_caps: creating caps event video/x-h264, stream-format=(string)avc,
alignment=(string)au, level=(string)1.3, profile=(string)main, codec_data=(buffe
r)014d400dffe10016674d400d92540a0fd808800001f400007593478a155001000468ee3c80, wi
dth=(int)320, height=(int)240, framerate=(fraction)30099/1000, pixel-aspect-rati
o=(fraction)1/1, parsed=(boolean)true
0:00:00.708201977  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstpad.c:1840:gs
t_pad_unlink: unlinking capsfilter0:src(09AD3800) and decodepad1:proxypad2(09ABE
680)
0:00:00.708744164  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstpad.c:1894:gs
t_pad_unlink: unlinked capsfilter0:src and decodepad1:proxypad2
0:00:00.709254095  5344   09ACEC38 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link capsfilter0:src and decodepad1:proxypad2
0:00:00.709757869  5344   09ACEC38 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked capsfilter0:src and decodepad1:proxypad2, successful
0:00:00.710282755  5344   09ACEC38 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.710976543  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad directsoundsink0:sink
0:00:00.711521662  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad app_sink:sink
0:00:00.712076752  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstpad.c:1840:gs
t_pad_unlink: unlinking capsfilter0:src(09AD3800) and decodepad1:proxypad2(09ABE
680)
0:00:00.712670841  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstpad.c:1894:gs
t_pad_unlink: unlinked capsfilter0:src and decodepad1:proxypad2
0:00:00.713179013  5344   09ACEC38 INFO                GST_PADS gstpad.c:2083:gs
t_pad_link_prepare: trying to link capsfilter0:src and decodepad1:proxypad2
0:00:00.713683372  5344   09ACEC38 INFO                GST_PADS gstpad.c:2285:gs
t_pad_link_full: linked capsfilter0:src and decodepad1:proxypad2, successful
0:00:00.714191838  5344   09ACEC38 INFO               GST_EVENT gstevent.c:1313:
gst_event_new_reconfigure: creating reconfigure event
0:00:00.714746047  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstpad.c:1840:gs
t_pad_unlink: unlinking capsfilter0:src(09AD3800) and decodepad1:proxypad2(09ABE
680)
0:00:00.715363302  5344   09ACEC38 INFO        GST_ELEMENT_PADS gstpad.c:1894:gs
t_pad_unlink: unlinked capsfilter0:src and decodepad1:proxypad2
0:00:00.716072924  5344   09ACEC38 WARN            uridecodebin gsturidecodebin.
c:930:unknown_type_cb:<uridecodebin0> warning: No decoder available for type 'vi
deo/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)1.3,
profile=(string)main, codec_data=(buffer)014d400dffe10016674d400d92540a0fd808800
001f400007593478a155001000468ee3c80, width=(int)320, height=(int)240, framerate=
(fraction)30099/1000, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true'.
0:00:00.716798381  5344   09ACEC38 INFO        GST_ERROR_SYSTEM gstelement.c:183
5:gst_element_message_full:<uridecodebin0> posting message: No decoder available
 for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=
(string)1.3, profile=(string)main, codec_data=(buffer)014d400dffe10016674d400d92
540a0fd808800001f400007593478a155001000468ee3c80, width=(int)320, height=(int)24
0, framerate=(fraction)30099/1000, pixel-aspect-ratio=(fraction)1/1, parsed=(boo
lean)true'.
0:00:00.717526771  5344   09ACEC38 INFO        GST_ERROR_SYSTEM gstelement.c:185
8:gst_element_message_full:<uridecodebin0> posted warning message: No decoder av
ailable for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au,
 level=(string)1.3, profile=(string)main, codec_data=(buffer)014d400dffe10016674
d400d92540a0fd808800001f400007593478a155001000468ee3c80, width=(int)320, height=
(int)240, framerate=(fraction)30099/1000, pixel-aspect-ratio=(fraction)1/1, pars
ed=(boolean)true'.
0:00:00.718256040  5344   09ACEC38 WARN               decodebin gstdecodebin2.c:
3926:gst_decode_bin_expose:<decodebin0> No suitable plugins found
0:00:00.718770077  5344   09ACEC38 WARN               decodebin gstdecodebin2.c:
3928:gst_decode_bin_expose:<decodebin0> error: no suitable plugins found
0:00:00.719342174  5344   09ACEC38 INFO        GST_ERROR_SYSTEM gstelement.c:183
5:gst_element_message_full:<decodebin0> posting message: Your GStreamer installa
tion is missing a plug-in.
0:00:00.719898729 [ 5344 e   09ACEC38 rINFO    ro    GST_ERROR_SYSTEM gstelement
.c:1858:gst_element_message_full:<decodebin0>r posted error message: Your GStrea
mer installation is missing a plug-in.
 0:00:00.720613923 ]  5344o   09ACEC38 fGWARN    s           decodebin gstdecode
bin2.c:3926:gst_decode_bin_expose:<decodebin0>tU No suitable plugins found
t0:00:00.721302726 i 5344ls   09ACEC38 :WARN     s           decodebin gstdecode
bin2.c:3928:gst_decode_bin_expose:<decodebin0>t error: no suitable plugins found

ar0:00:00.721997687 t 5344Pi   09ACEC38 pINFO    el    GST_ERROR_SYSTEM gsteleme
nt.c:1835:gst_element_message_full:<decodebin0>i posting message: Your GStreamer
 installation is missing a plug-in.
n0:00:00.722672415 e( 5344)   09ACEC38 : INFO    u    GST_ERROR_SYSTEM gstelemen
t.c:1858:gst_element_message_full:<decodebin0>na posted error message: Your GStr
eamer installation is missing a plug-in.
b0:00:00.723370895 l 5344e    09ACEC38 tWARN    o            decodebin gstdecode
bin2.c:2562:pad_added_cb:<decodebin0>g Couldn't expose group
et0:00:00.724096059  p 5344i   09ACEC38 peINFO    l       basetransform gstbaset
ransform.c:1335:gst_base_transform_setcaps:<capsfilter0>in reuse caps
e0:00:00.724771374  p 5344a   09ACEAD0 usWARN    e             qtdemux qtdemux.c
:4402:gst_qtdemux_loop:<qtdemux0>d  error: streaming stopped, reason not-linked
st0:00:00.725451673 a 5344te   09ACEAD0
INFO        GST_ERROR_SYSTEM gstelement.c:1835:gst_element_message_full:<qtdemux
0> posting message: GStreamer encountered a general stream error.
0:00:00.725797687  5344   02414000 FIXME                    bin gstbin.c:4008:gs
t_bin_query: implement duration caching in GstBin again
0:00:00.726057491  5344   09ACEAD0 INFO        GST_ERROR_SYSTEM gstelement.c:185
8:gst_element_message_full:<qtdemux0> posted error message: GStreamer encountere
d a general stream error.
0:00:00.726553934  5344   02414000 FIXME                    bin gstbin.c:4008:gs
t_bin_query: implement duration caching in GstBin again
0:00:00.727089670 [ 5344wa   09ACEAD0 rINFO    ni                task gsttask.c:
300:gst_task_func:<qtdemux0:sink>n Task going to paused
g] ofGstUtils: getDurationNanos(): couldn't query time duration
0:00:00.731841796  5344   02414000 INFO        GST_ELEMENT_PADS gstelement.c:897
:gst_element_get_static_pad: found pad app_sink:sink
[ error ] ofGstVideoPlayer: allocate(): cannot get pipeline caps
arturoc commented 10 years ago

are you using the latest OF from master? i fixed a problem in windows where it won't find the plugins and seems what it's going on here. but the fix was port 0.8.0

sethismyfriend commented 10 years ago

for the windows testing we have been doing, we have been using Arturo's branch of OF: bugfix-QT-ForwardDeclaration. As I understand things Arturo is still in the process of porting the examples on ofGSTRTP for windows and testing them with myself and others.

Seth


Seth Hunter PhD, MIT Media Lab - Research Scientist at Intel Labs website http://www.perspectum.com | inspirationhttp://arplay.tumblr.com/|

life http://flickr.com/photos/sethismyfriend/

On Mon, Feb 10, 2014 at 6:37 AM, arturo notifications@github.com wrote:

are you using the latest OF from master? i fixed a problem in windows where it won't find the plugins and seems what it's going on here. but the fix was port 0.8.0

Reply to this email directly or view it on GitHubhttps://github.com/arturoc/ofxGStreamer/issues/1#issuecomment-34637906 .

yty commented 10 years ago

@arturoc

I'm using the latest from master.

#ifdef TARGET_WIN32
        string gst_path = g_getenv("GSTREAMER_1_0_ROOT_X86");
        putenv(("GST_PLUGIN_PATH_1_0=" + ofFilePath::join(gst_path, "lib\\gstreamer-1.0") + ";.").c_str());
#endif

I use the set GST_DEBUG = 3

playbin gstplaybin2.c:15 67:gst_playbin_uri_is_valid: uri 'file:///E:/GitHub Files/openFrameworks /apps/myApps/ofxGstVideoExample1/bin/data/fingers.mov' not valid

0:00:00.259115770  7220   08492300 WARN                 playbin gstplaybin2.c:15
67:gst_playbin_uri_is_valid:<player> uri 'file:///E:/GitHub Files/openFrameworks
/apps/myApps/ofxGstVideoExample1/bin/data/fingers.mov' not valid, character #17
0:00:00.260574317  7220   08492300 WARN                 playbin gstplaybin2.c:15
87:gst_play_bin_set_uri:<player> not entirely correct file URI 'file:///E:/GitHu
b Files/openFrameworks/apps/myApps/ofxGstVideoExample1/bin/data/fingers.mov' - m
ake sure to escape spaces and non-ASCII characters properly and specify an absol
ute path. Use gst_filename_to_uri() to convert filenames to URIs
0:00:00.304978764  7220   08519AD0 WARN                 qtdemux qtdemux.c:5256:q
tdemux_parse_container:<qtdemux0> length too long (720896 > 15)
0:00:00.306822034  7220   08519AD0 WARN                 qtdemux qtdemux_types.c:
196:qtdemux_type_get: unknown QuickTime node type ゛ut
0:00:00.308357994  7220   08519AD0 WARN                 qtdemux qtdemux.c:5256:q
tdemux_parse_container:<qtdemux0> length too long (720896 > 15)
0:00:00.309577262  7220   08519AD0 WARN                 qtdemux qtdemux.c:5256:q
tdemux_parse_container:<qtdemux0> length too long (720896 > 15)
0:00:00.311893225  7220   08519C38 WARN            uridecodebin gsturidecodebin.
c:930:unknown_type_cb:<uridecodebin0> warning: No decoder available for type 'vi
deo/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)1.3,
profile=(string)main, codec_data=(buffer)014d400dffe10016674d400d92540a0fd808800
001f400007593478a155001000468ee3c80, width=(int)320, height=(int)240, framerate=
(fraction)30099/1000, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true'.
0:00:00.313122756  7220   08519C38 WARN               decodebin gstdecodebin2.c:
3926:gst_decode_bin_expose:<decodebin0> No suitable plugins found
0:00:00.314203324  7220   08519C38 WARN               decodebin gstdecodebin2.c:
3928:gst_decode_bin_expose:<decodebin0> error: no suitable plugins found
0:00:00.315368636 [  7220e   08519C38 rrWARN    o           decodebin gstdecodeb
in2.c:3926:gst_decode_bin_expose:<decodebin0>r  No suitable plugins found
]0:00:00.316585265   7220of   08519C38 GWARN    st           decodebin gstdecode
bin2.c:3928:gst_decode_bin_expose:<decodebin0>U error: no suitable plugins found

t0:00:00.317894555 il 7220s   08519C38 :WARN     s           decodebin gstdecode
bin2.c:2562:pad_added_cb:<decodebin0>t Couldn't expose group
ar0:00:00.319148425 t 7220Pi   08519AD0 pWARN    el             qtdemux qtdemux.
c:4402:gst_qtdemux_loop:<qtdemux0>i error: streaming stopped, reason not-linked
ne(): unable to get pipeline paused state
0:00:00.322986273  7220   08492300 FIXME                    bin gstbin.c:4008:gs
t_bin_query: implement duration caching in GstBin again
0:00:00.324084728  7220   08492300 FIXME                    bin gstbin.c:4008:gs
t_bin_query: implement duration caching in GstBin again
[warning] ofGstUtils: getDurationNanos(): couldn't query time duration
[ error ] ofGstVideoPlayer: allocate(): cannot get pipeline caps
arturoc commented 10 years ago

yes it seenms it wasn't recognizing paths with spaces in them very well , i just made a change in master that should fix it. the branch that seth points out is needed for some other addons we are working on but you shouldn't needed to use gstvideoplayer

On 02/11/2014 02:39 AM, yty wrote:

@arturoc https://github.com/arturoc

I'm using the latest from master.

|#ifdef TARGET_WIN32 string gst_path = g_getenv("GSTREAMER_1_0_ROOT_X86"); putenv(("GST_PLUGIN_PATH_1_0=" + ofFilePath::join(gst_path, "lib\gstreamer-1.0") + ";.").c_str());

endif

|

I use the set GST_DEBUG = 3

playbin gstplaybin2.c:15 67:gst_playbin_uri_is_valid: uri 'file:///E:/GitHub Files/openFrameworks /apps/myApps/ofxGstVideoExample1/bin/data/fingers.mov' not valid

|0:00:00.259115770 7220 08492300 WARN playbin gstplaybin2.c:15 67:gst_playbin_uri_is_valid: uri 'file:///E:/GitHub Files/openFrameworks /apps/myApps/ofxGstVideoExample1/bin/data/fingers.mov' not valid, character #17 0:00:00.260574317 7220 08492300 WARN playbin gstplaybin2.c:15 87:gst_play_bin_set_uri: not entirely correct file URI 'file:///E:/GitHu b Files/openFrameworks/apps/myApps/ofxGstVideoExample1/bin/data/fingers.mov' - m ake sure to escape spaces and non-ASCII characters properly and specify an absol ute path. Use gst_filename_to_uri() to convert filenames to URIs 0:00:00.304978764 7220 08519AD0 WARN qtdemux qtdemux.c:5256:q tdemux_parse_container: length too long (720896 > 15) 0:00:00.306822034 7220 08519AD0 WARN qtdemux qtdemux_types.c: 196:qtdemux_type_get: unknown QuickTime node type ゛ut 0:00:00.308357994 7220 08519AD0 WARN qtdemux qtdemux.c:5256:q tdemux_parse_container: length too long (720896 > 15) 0:00:00.309577262 7220 08519AD0 WARN qtdemux qtdemux.c:5256:q tdemux_parse_container: length too long (720896 > 15) 0:00:00.311893225 7220 08519C38 WARN uridecodebin gsturidecodebin. c:930:unknown_type_cb: warning: No decoder available for type 'vi deo/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)1.3, profile=(string)main, codec_data=(buffer)014d400dffe10016674d400d92540a0fd808800 001f400007593478a155001000468ee3c80, width=(int)320, height=(int)240, framerate= (fraction)30099/1000, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true'. 0:00:00.313122756 7220 08519C38 WARN decodebin gstdecodebin2.c: 3926:gst_decode_bin_expose: No suitable plugins found 0:00:00.314203324 7220 08519C38 WARN decodebin gstdecodebin2.c: 3928:gst_decode_bin_expose: error: no suitable plugins found 0:00:00.315368636 [ 7220e 08519C38 rrWARN o decodebin gstdecodeb in2.c:3926:gst_decode_bin_expose:r No suitable plugins found ]0:00:00.316585265 7220of 08519C38 GWARN st decodebin gstdecode bin2.c:3928:gst_decode_bin_expose:U error: no suitable plugins found

t0:00:00.317894555 il 7220s 08519C38 :WARN s decodebin gstdecode bin2.c:2562:pad_added_cb:t Couldn't expose group ar0:00:00.319148425 t 7220Pi 08519AD0 pWARN el qtdemux qtdemux. c:4402:gst_qtdemux_loop:i error: streaming stopped, reason not-linked ne(): unable to get pipeline paused state 0:00:00.322986273 7220 08492300 FIXME bin gstbin.c:4008:gs t_bin_query: implement duration caching in GstBin again 0:00:00.324084728 7220 08492300 FIXME bin gstbin.c:4008:gs t_bin_query: implement duration caching in GstBin again [warning] ofGstUtils: getDurationNanos(): couldn't query time duration [ error ] ofGstVideoPlayer: allocate(): cannot get pipeline caps |

— Reply to this email directly or view it on GitHub https://github.com/arturoc/ofxGStreamer/issues/1#issuecomment-34718672.

yty commented 10 years ago

@arturoc

hi, I updated of, to repair the file path problem, but there are still problems.

name = gst_filename_to_uri(ofToDataPath(name).c_str(),&err);

3928:gst_decode_bin_expose: error: no suitable plugins found

E:\GitHubFiles\openFrameworks\apps\myApps\ofxGstVideoExample1\bin>ofxGstVideoExa
mple_debug.exe
0:00:00.341503401  8108   08E2CAD0 WARN                 qtdemux qtdemux.c:5256:q
tdemux_parse_container:<qtdemux0> length too long (720896 > 15)
0:00:00.342347034  8108   08E2CAD0 WARN                 qtdemux qtdemux_types.c:
196:qtdemux_type_get: unknown QuickTime node type ゛ut
0:00:00.343149614  8108   08E2CAD0 WARN                 qtdemux qtdemux.c:5256:q
tdemux_parse_container:<qtdemux0> length too long (720896 > 15)
0:00:00.343647231  8108   08E2CAD0 WARN                 qtdemux qtdemux.c:5256:q
tdemux_parse_container:<qtdemux0> length too long (720896 > 15)
0:00:00.345263826  8108   08E2CC38 WARN            uridecodebin gsturidecodebin.
c:930:unknown_type_cb:<uridecodebin0> warning: No decoder available for type 'vi
deo/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)1.3,
profile=(string)main, codec_data=(buffer)014d400dffe10016674d400d92540a0fd808800
001f400007593478a155001000468ee3c80, width=(int)320, height=(int)240, framerate=
(fraction)30099/1000, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true'.
0:00:00.346015677  8108   08E2CC38 WARN               decodebin gstdecodebin2.c:
3926:gst_decode_bin_expose:<decodebin0> No suitable plugins found
0:00:00.347573332  8108   08E2CC38 WARN               decodebin gstdecodebin2.c:
3928:gst_decode_bin_expose:<decodebin0> error: no suitable plugins found
0:00:00.348828664 [  8108e   08E2CC38 rrWARN    o           decodebin gstdecodeb
in2.c:3926:gst_decode_bin_expose:<decodebin0>r  No suitable plugins found
]0:00:00.350112440   8108of   08E2CC38 GWARN    st           decodebin gstdecode
bin2.c:3928:gst_decode_bin_expose:<decodebin0>U error: no suitable plugins found

t0:00:00.351673028 il 8108s   08E2CC38 : WARN    s           decodebin gstdecode
bin2.c:2562:pad_added_cb:<decodebin0>ta Couldn't expose group
r0:00:00.353183180 tP 8108i   08E2CAD0 peWARN    l             qtdemux qtdemux.c
:4402:gst_qtdemux_loop:<qtdemux0>in error: streaming stopped, reason not-linked
e(): unable to get pipeline paused state
0:00:00.357456470  8108   08D9EEE0 FIXME                    bin gstbin.c:4008:gs
t_bin_query: implement duration caching in GstBin again
0:00:00.358651983  8108   08D9EEE0 FIXME                    bin gstbin.c:4008:gs
t_bin_query: implement duration caching in GstBin again
[warning] ofGstUtils: getDurationNanos(): couldn't query time duration
[ error ] ofGstVideoPlayer: allocate(): cannot get pipeline caps
arturoc commented 10 years ago

mmh, that's weird i'm able to use h264 installing those files only, have you installed also gstreamer-1.0-x86-1.2.2.msi or only the devel package?

arturoc commented 10 years ago

did you manage to solve it? we found out yesterday that you need to install the complete packages in windows or it won't install some plugins like the h264 decoder, i'm going to add a note in the readme