gstreamer caps negotiation fail when using USB sound card

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

gstreamer caps negotiation fail when using USB sound card

brad2012
hi all,

When I try to play wav audio to usb sound card,
it is fail,
the command I used :
gst-launch-0.10 -v filesrc location=/bin/audio_src_48k_le.wav !
wavparse ! audioconvert !audio/x-raw-int,
rate=48000,channels=2,width=16,endianness=4321 ! alsasink
device="hw:0,0"

the error is :
streaming task paused, reason not-linked (-1)
Below is the log I captured from debug level 5,
does anyone have idea how to fix the issue?
==================================================================================

0:32:12.150000000  1142   0x4234f0 LOG                  default
gsttypefindhelper.c:550:gst_type_find_help
er_for_buffer:<wavparse0> Returning 0x4980e0 (probability = 86)
0:32:12.150000000  1142   0x4234f0 LOG                 wavparse
gstwavparse.c:1783:gst_wavparse_add_src_pa
d: typefind caps = 0x4980e0, P=86
0:32:12.150000000  1142   0x4234f0 DEBUG               wavparse
gstwavparse.c:1793:gst_wavparse_add_src_pa
d:<wavparse0> found caps 0x4980e0 for stream marked as raw PCM audio,
but ignoring for now
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:1639:gst_pad_set_getcaps_function
:<'':src> getcapsfunc set to gst_pad_get_fixed_caps_func
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:1452:gst_pad_set_query_type_funct
ion:<'':src> querytypefunc set to gst_wavparse_get_query_types
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:1433:gst_pad_set_query_function:<
'':src> queryfunc set to gst_wavparse_pad_query
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:1415:gst_pad_set_event_function:<
'':src> eventfunc for set to gst_wavparse_srcpad_event
0:32:12.150000000  1142   0x4234f0 DEBUG               wavparse
gstwavparse.c:247:gst_wavparse_create_sour
cepad:<wavparse0> srcpad created
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:710:gst_pad_set_active:<'':src> a
ctivating pad from none
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:910:gst_pad_activate_push:<'':src
> trying to set activated in push mode
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:930:gst_pad_activate_push:<'':src
> activating pad from none
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:632:pre_activate:<'':src> setting
 ACTIVATE_MODE 1, unset flushing
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:966:gst_pad_activate_push:<'':src
> activated in push mode
0:32:12.150000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2741:gst_pad_set_caps:<'':src> ca
ps 0x47a080 0x47a080
0:32:13.260000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<wavp
arse0> adding pad 'src'
0:32:13.260000000  1142   0x4234f0 DEBUG        GST_REFCOUNTING
gstobject.c:844:gst_object_set_parent:<'':
src> set parent (ref and sink)
0:32:13.260000000  1142   0x4234f0 INFO            GST_PIPELINE
./grammar.y:496:gst_parse_found_pad: tryin
g delayed linking wavparse0:(NULL) to audioconvert0:(NULL)
0:32:13.260000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
gstutils.c:1698:gst_element_link_pads_full
: trying to link element wavparse0:(any) to element audioconvert0:(any)
0:32:13.260000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1787:gst_element_link_pads_full
: looping through allowed src and dest pads
0:32:13.260000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1790:gst_element_link_pads_full
: trying src pad wavparse0:src
0:32:13.260000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1101:gst_element_get_compatible
_pad: finding pad in audioconvert0 compatible with wavparse0:src
0:32:13.260000000  1142   0x4234f0 LOG         GST_ELEMENT_PADS
gstutils.c:1130:gst_element_get_compatible
_pad: examining pad audioconvert0:sink
0:32:13.260000000  1142   0x4234f0 INFO                GST_PADS
gstutils.c:1032:gst_pad_check_link: trying
 to link wavparse0:src and audioconvert0:sink
0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<wav
parse0:src> get pad caps
0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<w
avparse0:src> get pad caps
0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<w
avparse0:src> dispatching to pad getcaps function
0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:2469:gst_pad_get_fixed_caps_fun
c: using pad caps 0x47a080 0x47a080
0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<w
avparse0:src> pad getcaps returned 0x47a080
0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<aud
ioconvert0:sink> get pad caps
0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> get pad caps
0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> dispatching to pad getcaps function
0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2396:gst_pad_peer_get_caps_reffed
:<audioconvert0:src> get peer caps
0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<als
asink0:sink> get pad caps
0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<a
lsasink0:sink> get pad caps
0:32:14.370000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<a
lsasink0:sink> dispatching to pad getcaps function
0:32:14.370000000  1142   0x4234f0 WARN                    alsa
gstalsa.c:124:gst_alsa_detect_formats:<als
asink0> skipping non-int format
0:32:14.370000000  1142   0x4234f0 LOG                     alsa
gstalsa.c:30:gst_alsa_detect_rates:<alsasi
nk0> probing sample rates ...
0:32:14.370000000  1142   0x4234f0 DEBUG                   alsa
gstalsa.c:49:gst_alsa_detect_rates:<alsasi
nk0> Min. rate = 48000 (48000)
0:32:14.370000000  1142   0x4234f0 DEBUG                   alsa
gstalsa.c:50:gst_alsa_detect_rates:<alsasi
nk0> Max. rate = 48000 (48000)
0:32:14.370000000  1142   0x4234f0 LOG                     alsa
gstalsa.c:265:gst_alsa_detect_channels:<al
sasink0> probing channels ...
0:32:14.380000000  1142   0x4234f0 DEBUG                   alsa
gstalsa.c:309:gst_alsa_detect_channels:<al
sasink0> Min. channels = 2 (2)
0:32:14.380000000  1142   0x4234f0 DEBUG                   alsa
gstalsa.c:310:gst_alsa_detect_channels:<al
sasink0> Max. channels = 2 (2)
0:32:14.380000000  1142   0x4234f0 DEBUG                   alsa
gstalsa.c:388:gst_alsa_open_iec958_pcm:<al
sasink0> Generated device string "iec958:{AES0 0x02 AES1 0x82 AES2
0x00 AES3 0x02}"
conf.c:snd_config_update_r:3661, configs=/usr/share/alsa/alsa.conf
conf.c:snd_config_update_r:3686, name=/usr/share/alsa/alsa.conf
conf.c:snd_config_update_r:3700, lf->name=/usr/share/alsa/alsa.conf
conf.c:snd_config_update_r:3661, configs=/usr/share/alsa/alsa.conf
conf.c:snd_config_update_r:3686, name=/usr/share/alsa/alsa.conf
conf.c:snd_config_update_r:3700, lf->name=/usr/share/alsa/alsa.conf
0:32:14.390000000  1142   0x4234f0 WARN                    alsa
conf.c:4692:snd_config_expand: alsalib err
or: Unknown parameters {AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:32:14.390000000  1142   0x4234f0 WARN                    alsa
pcm.c:2217:snd_pcm_open_noupdate: alsalib
error: Unknown PCM iec958:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:32:14.390000000  1142   0x4234f0 DEBUG                   alsa
gstalsa.c:394:gst_alsa_open_iec958_pcm:<al
sasink0> failed opening IEC958 device: Invalid argument
0:32:14.390000000  1142   0x4234f0 INFO                    alsa
gstalsasink.c:327:gst_alsasink_getcaps:<al
sasink0> returning caps 0x498f60
0:32:14.390000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<a
lsasink0:sink> pad getcaps returned 0x498f60
0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:736:gst_base_transform_
getcaps:<audioconvert0:sink> peer caps  0x498f60
0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:740:gst_base_transform_
getcaps:<audioconvert0:sink> our template  0x46b120
0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:742:gst_base_transform_
getcaps:<audioconvert0:sink> intersected 0x498f00
0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:552:gst_base_transform_
transform_caps:<audioconvert0> transform caps (direction = 1)
0:32:14.390000000  1142   0x4234f0 LOG            basetransform
gstbasetransform.c:583:gst_base_transform_
transform_caps:<audioconvert0> merged: (0)
0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:597:gst_base_transform_
transform_caps:<audioconvert0> to: (0) 0x498ec0
0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:752:gst_base_transform_
getcaps:<audioconvert0:sink> transformed  0x498ec0
0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:759:gst_base_transform_
getcaps:<audioconvert0:sink> our template  0x451940
0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:762:gst_base_transform_
getcaps:<audioconvert0:sink> intersected 0x498e60
0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:778:gst_base_transform_
getcaps:<audioconvert0> returning  0x498e60
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> pad getcaps returned 0x498e60
0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1167:gst_element_get_compatible
_pad: incompatible pads
0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1173:gst_element_get_compatible
_pad: unreffing pads
0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1195:gst_element_get_compatible
_pad:<audioconvert0> Could not find a compatible unlinked always pad
to link to wavparse0:src, now checkin
g request pads
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<wav
parse0:src> get pad caps
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<w
avparse0:src> get pad caps
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<w
avparse0:src> dispatching to pad getcaps function
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:2469:gst_pad_get_fixed_caps_fun
c: using pad caps 0x47a080 0x47a080
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<w
avparse0:src> pad getcaps returned 0x47a080
0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:894:gst_element_get_compatible_
pad_template: Looking for a suitable pad template in audioconvert0 out
of 2 templates...
0:32:15.500000000  1142   0x4234f0 LOG                 GST_CAPS
gstutils.c:905:gst_element_get_compatible_
pad_template: checking pad template src
0:32:15.500000000  1142   0x4234f0 LOG                 GST_CAPS
gstutils.c:905:gst_element_get_compatible_
pad_template: checking pad template sink
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:910:gst_element_get_compatible_
pad_template: compatible direction: found sink pad template "sink"
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:913:gst_element_get_compatible_
pad_template: intersecting 0x4981a0
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:915:gst_element_get_compatible_
pad_template: ..and 0x451940
0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:921:gst_element_get_compatible_
pad_template: caps are compatible
0:32:16.610000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:933:gst_element_get_compatible_
pad_template: Returning new pad template 0x464570
0:32:16.610000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
gstelement.c:975:gst_element_get_static_pa
d: found pad audioconvert0:sink
0:32:16.610000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1210:gst_element_get_compatible
_pad: found existing request pad audioconvert0:sink
0:32:16.610000000  1142   0x4234f0 INFO                GST_PADS
gstutils.c:1596:prepare_link_maybe_ghostin
g: wavparse0 and audioconvert0 in same bin, no need for ghost pads
0:32:16.610000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:185:gst_message_init: new mes
sage 0x464b28
0:32:16.610000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:274:gst_message_new_custom: s
ource sink: creating new message 0x464b28 structure-change
0:32:16.610000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:308:gst_bus_post:<bus0> [msg 0x46
4b28] posting on bus, type structure-change, 0x499250 from source 0x465190
0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:3164:gst_bin_handle_message_func:
<pipeline0> [msg 0x464b28] handling child sink message of type structure-change
0:32:16.610000000  1142   0x4234f0 LOG                      bin
gstbin.c:883:message_check: looking at mes
sage 0x4649c0: 0
0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:905:find_message:<pipeline0> no m
essage found matching types 00001000
0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:912:find_message:<pipeline0>   st
ructure-change
0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:952:bin_replace_message:<pipeline
0> got new message 0x464b28, structure-change from sink
0:32:16.610000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:334:gst_bus_post:<bus0> [msg 0x46
4b28] dropped
0:32:16.610000000  1142   0x4234f0 INFO                GST_PADS
gstpad.c:1978:gst_pad_link_prepare: trying
 to link wavparse0:src and audioconvert0:sink
0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<w
avparse0:src> get pad caps
0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<w
avparse0:src> dispatching to pad getcaps function
0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:2469:gst_pad_get_fixed_caps_fun
c: using pad caps 0x47a080 0x47a080
0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<w
avparse0:src> pad getcaps returned 0x47a080
0:32:16.620000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> get pad caps
0:32:16.620000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> dispatching to pad getcaps function
0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2396:gst_pad_peer_get_caps_reffed
:<audioconvert0:src> get peer caps
0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<als
asink0:sink> get pad caps
0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<a
lsasink0:sink> get pad caps
0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<a
lsasink0:sink> dispatching to pad getcaps function
0:32:17.720000000  1142   0x4234f0 LOG                     alsa
gstalsasink.c:312:gst_alsasink_getcaps:<al
sasink0> Returning cached caps
0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<a
lsasink0:sink> pad getcaps returned 0x498f60
0:32:17.720000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:729:gst_base_transform_
getcaps:<audioconvert0> Returning cached transformed caps (index = 1)
0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> pad getcaps returned 0x498e60
0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:1878:gst_pad_link_check_compatibl
e_unlocked:<wavparse0:src> src caps 0x47a080
0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:1880:gst_pad_link_check_compatibl
e_unlocked:<audioconvert0:sink> sink caps 0x498e60
0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:1898:gst_pad_link_check_compatibl
e_unlocked: caps are notcompatible
0:32:17.720000000  1142   0x4234f0 INFO                GST_PADS
gstpad.c:2034:gst_pad_link_prepare: caps a
re incompatible
0:32:17.730000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:185:gst_message_init: new mes
sage 0x464b70
0:32:17.730000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:274:gst_message_new_custom: s
ource sink: creating new message 0x464b70 structure-change
0:32:17.730000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:308:gst_bus_post:<bus0> [msg 0x46
4b70] posting on bus, type structure-change, 0x499268 from source 0x465190
0:32:17.730000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:3164:gst_bin_handle_message_func:
<pipeline0> [msg 0x464b70] handling child sink message of type structure-change
0:32:17.730000000  1142   0x4234f0 LOG                      bin
gstbin.c:883:message_check: looking at mes
sage 0x464b28: 1
0:32:17.730000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:980:bin_remove_messages:<audiocon
vert0:sink> deleting message 0x464b28 of types 0x00001000
0:32:17.730000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:195:gst_message_finalize: fin
alize message 0x464b28, structure-change from sink
0:32:17.730000000  1142   0x4234f0 LOG                      bin
gstbin.c:883:message_check: looking at mes
sage 0x4649c0: 0
0:32:17.730000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:986:bin_remove_messages:<alsasink
0> not deleting message 0x4649c0 of type 0x00100000
0:32:18.830000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:195:gst_message_finalize: fin
alize message 0x464b70, structure-change from sink
0:32:18.830000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:334:gst_bus_post:<bus0> [msg 0x46
4b70] dropped
0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1790:gst_element_link_pads_full
: trying src pad wavparse0:sink
0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1842:gst_element_link_pads_full
: trying dest pad audioconvert0:src
0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1842:gst_element_link_pads_full
: trying dest pad audioconvert0:sink
0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1101:gst_element_get_compatible
_pad: finding pad in wavparse0 compatible with audioconvert0:sink
0:32:18.840000000  1142   0x4234f0 LOG         GST_ELEMENT_PADS
gstutils.c:1130:gst_element_get_compatible
_pad: examining pad wavparse0:src
0:32:18.840000000  1142   0x4234f0 INFO                GST_PADS
gstutils.c:1032:gst_pad_check_link: trying
 to link wavparse0:src and audioconvert0:sink
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<aud
ioconvert0:sink> get pad caps
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> get pad caps
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> dispatching to pad getcaps function
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2396:gst_pad_peer_get_caps_reffed
:<audioconvert0:src> get peer caps
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<als
asink0:sink> get pad caps
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<a
lsasink0:sink> get pad caps
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<a
lsasink0:sink> dispatching to pad getcaps function
0:32:18.840000000  1142   0x4234f0 LOG                     alsa
gstalsasink.c:312:gst_alsasink_getcaps:<al
sasink0> Returning cached caps
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<a
lsasink0:sink> pad getcaps returned 0x498f60
0:32:18.840000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:729:gst_base_transform_
getcaps:<audioconvert0> Returning cached transformed caps (index = 1)
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> pad getcaps returned 0x498e60
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<wav
parse0:src> get pad caps
0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<w
avparse0:src> get pad caps
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<w
avparse0:src> dispatching to pad getcaps function
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:2469:gst_pad_get_fixed_caps_fun
c: using pad caps 0x47a080 0x47a080
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<w
avparse0:src> pad getcaps returned 0x47a080
0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1167:gst_element_get_compatible
_pad: incompatible pads
0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1173:gst_element_get_compatible
_pad: unreffing pads
0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1195:gst_element_get_compatible
_pad:<wavparse0> Could not find a compatible unlinked always pad to
link to audioconvert0:sink, now checki
ng request pads
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<aud
ioconvert0:sink> get pad caps
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> get pad caps
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> dispatching to pad getcaps function
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2396:gst_pad_peer_get_caps_reffed
:<audioconvert0:src> get peer caps
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2336:gst_pad_get_caps_reffed:<als
asink0:sink> get pad caps
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2246:gst_pad_get_caps_unlocked:<a
lsasink0:sink> get pad caps
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2250:gst_pad_get_caps_unlocked:<a
lsasink0:sink> dispatching to pad getcaps function
0:32:19.950000000  1142   0x4234f0 LOG                     alsa
gstalsasink.c:312:gst_alsasink_getcaps:<al
sasink0> Returning cached caps
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<a
lsasink0:sink> pad getcaps returned 0x498f60
0:32:19.950000000  1142   0x4234f0 DEBUG          basetransform
gstbasetransform.c:729:gst_base_transform_
getcaps:<audioconvert0> Returning cached transformed caps (index = 1)
0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
gstpad.c:2263:gst_pad_get_caps_unlocked:<a
udioconvert0:sink> pad getcaps returned 0x498e60
0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:894:gst_element_get_compatible_
pad_template: Looking for a suitable pad template in wavparse0 out of
2 templates...
0:32:19.950000000  1142   0x4234f0 LOG                 GST_CAPS
gstutils.c:905:gst_element_get_compatible_
pad_template: checking pad template wavparse_sink
0:32:19.950000000  1142   0x4234f0 LOG                 GST_CAPS
gstutils.c:905:gst_element_get_compatible_
pad_template: checking pad template wavparse_src
0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:910:gst_element_get_compatible_
pad_template: compatible direction: found src pad template "wavparse_src"
0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:913:gst_element_get_compatible_
pad_template: intersecting 0x4980a0
0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:915:gst_element_get_compatible_
pad_template: ..and 0x451880
0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
gstutils.c:921:gst_element_get_compatible_
pad_template: caps are not compatible
0:32:21.060000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:935:gst_element_get_compatible_
pad_template: No compatible pad template found
0:32:21.060000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
gstutils.c:1216:gst_element_get_compatible
_pad:<wavparse0> Could not find a compatible pad to link to audioconvert0:sink
0:32:21.060000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1884:gst_element_link_pads_full
: we might have request pads on both sides, checking...
0:32:21.060000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
gstutils.c:1927:gst_element_link_pads_full
: no link possible from wavparse0 to audioconvert0
0:32:21.060000000  1142   0x4234f0 INFO                 default
gstutils.c:2037:gst_element_link_pads_filt
ered: Could not link pads: wavparse0:(null) - audioconvert0:(null)
0:32:21.060000000  1142   0x4234f0 DEBUG               wavparse
gstwavparse.c:1814:gst_wavparse_add_src_pa
d:<wavparse0> Send start segment event on newpad
0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
gstpad.c:5214:gst_pad_push_event:<wavparse
0:src> event: newsegment
0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
gstpad.c:5255:gst_pad_push_event:<wavparse
0:src> event had no source, setting pad as event source
0:32:21.060000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:5295:gst_pad_push_event:<wavparse
0:src> Dropping event because pad is not linked
0:32:21.060000000  1142   0x4234f0 LOG                GST_EVENT
gstevent.c:225:gst_event_finalize: freeing
 event 0x41b128 type newsegment
0:32:21.060000000  1142   0x4234f0 DEBUG              GST_EVENT
gstevent.c:269:gst_event_new: creating new
 event 0x41b160 tag 118
0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
gstpad.c:5214:gst_pad_push_event:<wavparse
0:src> event: tag
0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
gstpad.c:5255:gst_pad_push_event:<wavparse
0:src> event had no source, setting pad as event source
0:32:21.070000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:5295:gst_pad_push_event:<wavparse
0:src> Dropping event because pad is not linked
0:32:21.070000000  1142   0x4234f0 LOG                GST_EVENT
gstevent.c:225:gst_event_finalize: freeing
 event 0x41b160 type tag
0:32:21.070000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:185:gst_message_init: new mes
sage 0x489050
0:32:21.070000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:274:gst_message_new_custom: s
ource wavparse0: creating new message 0x489050 tag
0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:308:gst_bus_post:<bus0> [msg 0x48
9050] posting on bus, type tag, 0x47b080 from source 0x46c0c0
0:32:22.170000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:3164:gst_bin_handle_message_func:
<pipeline0> [msg 0x489050] handling child wavparse0 message of type tag
0:32:22.170000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:3441:gst_bin_handle_message_func:
<pipeline0> posting message upward
0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:308:gst_bus_post:<bus1> [msg 0x48
9050] posting on bus, type tag, 0x47b080 from source 0x46c0c0
0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:338:gst_bus_post:<bus1> [msg 0x48
9050] pushing on async queue
0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:343:gst_bus_post:<bus1> [msg 0x48
9050] pushed on async queue
0:32:22.170000000  1137   0x420a00 LOG                  GST_BUS
gstbus.c:495:gst_bus_timed_pop_filtered:<b
us1> have 1 messages
0:32:22.170000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:500:gst_bus_timed_pop_filtered:<b
us1> got message 0x489050, tag from wavparse0, type mask is 4294967295
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:762:gst_bus_source_dispatch:<bus1
> source 0x463ea0 calling dispatch with 0x489050
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:969:poll_func: mainloop 0x47cff0
quit
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1
> source 0x463ea0 handler returns 1
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:1079:gst_bus_poll: mainloop stopp
ed 0x47cff0
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:1324:gst_bus_remove_signal_watch:
<bus1> removing signal watch 12
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:788:gst_bus_source_finalize:<bus1
> finalize source 0x463ea0
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:259:gst_bus_set_main_context:<bus
1> setting main context to (nil), GLib default context: 0x477f38
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:1092:gst_bus_poll:<bus1> finished
 poll with message 0x489050
0:32:22.180000000  1137   0x420a00 LOG              GST_MESSAGE
gstmessage.c:195:gst_message_finalize: fin
alize message 0x489050, tag from wavparse0
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:867:gst_bus_add_watch_full_unlock
ed:<bus1> New source 0x47c5f8 with id 13
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:1077:gst_bus_poll: running mainlo
op 0x47c3b0
0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:259:gst_bus_set_main_context:<bus
1> setting main context to 0x477f38, GLib default context: 0x477f38
0:32:22.180000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:334:gst_bus_post:<bus0> [msg 0x48
9050] dropped
0:32:23.290000000  1142   0x4234f0 DEBUG               wavparse
gstwavparse.c:1981:gst_wavparse_stream_dat
a:<wavparse0> marking DISCONT
0:32:23.290000000  1142   0x4234f0 LOG                 wavparse
gstwavparse.c:1995:gst_wavparse_stream_dat
a:<wavparse0> Got buffer. timestamp:0:00:00.000000000 ,
duration:0:00:00.040000000, size:7680
0:32:23.290000000  1142   0x4234f0 LOG                 GST_PADS
gstpad.c:4728:gst_pad_push:<wavparse0:src>
 Taking slow path
0:32:23.290000000  1142   0x4234f0 LOG               GST_BUFFER
gstbuffer.c:203:gst_buffer_finalize: final
ize 0x489a20
0:32:23.290000000  1142   0x4234f0 LOG           GST_SCHEDULING
gstpad.c:4563:gst_pad_push_data:<wavparse0
:src> pushing, but it was not linked
0:32:23.290000000  1142   0x4234f0 INFO                wavparse
gstwavparse.c:2039:gst_wavparse_stream_dat
a:<wavparse0> Error pushing on srcpad wavparse0:src, reason
not-linked, is linked? = 0

** (gst-launch-0.10:1142): WARNING **: gstwavparse.c, gst_wavparse_loop,2074
0:32:23.290000000  1142   0x4234f0 DEBUG               wavparse
gstwavparse.c:2088:gst_wavparse_loop:<wavp
arse0> pausing task, reason not-linked
0:32:23.290000000  1142   0x4234f0 DEBUG               GST_PADS
gstpad.c:5646:gst_pad_pause_task:<wavparse
0:sink> pause task
0:32:23.290000000  1142   0x4234f0 DEBUG                   task
gsttask.c:698:gst_task_set_state:<wavparse
0:sink> Changing task 0x486800 to state 2
0:32:23.290000000  1142   0x4234f0 WARN                wavparse
gstwavparse.c:2122:gst_wavparse_loop:<wavp
arse0> error: Internal data flow error.
0:32:23.290000000  1142   0x4234f0 WARN                wavparse
gstwavparse.c:2122:gst_wavparse_loop:<wavp
arse0> error: streaming task paused, reason not-linked (-1)
0:32:23.290000000  1142   0x4234f0 DEBUG            GST_MESSAGE
gstelement.c:1933:gst_element_message_full
:<wavparse0> start
0:32:23.290000000  1142   0x4234f0 INFO        GST_ERROR_SYSTEM
gstelement.c:1964:gst_element_message_full
:<wavparse0> posting message: Internal data flow error.
0:32:23.290000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:185:gst_message_init: new mes
sage 0x489098
0:32:23.290000000  1142   0x4234f0 LOG              GST_MESSAGE
gstmessage.c:274:gst_message_new_custom: s
ource wavparse0: creating new message 0x489098 error
0:32:23.290000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:308:gst_bus_post:<bus0> [msg 0x48
9098] posting on bus, type error, 0x4992b0 from source 0x46c0c0
0:32:23.290000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:3164:gst_bin_handle_message_func:
<pipeline0> [msg 0x489098] handling child wavparse0 message of type error
0:32:23.290000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:3171:gst_bin_handle_message_func:
<pipeline0> got ERROR message, unlocking state change
0:32:23.290000000  1142   0x4234f0 DEBUG                    bin
gstbin.c:3441:gst_bin_handle_message_func:
<pipeline0> posting message upward
0:32:23.290000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:308:gst_bus_post:<bus1> [msg 0x48
9098] posting on bus, type error, 0x4992b0 from source 0x46c0c0
0:32:24.400000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:338:gst_bus_post:<bus1> [msg 0x48
9098] pushing on async queue
0:32:24.400000000  1142   0x4234f0 DEBUG                GST_BUS
gstbus.c:343:gst_bus_post:<bus1> [msg 0x48
9098] pushed on async queue
0:32:24.400000000  1137   0x420a00 LOG                  GST_BUS
gstbus.c:495:gst_bus_timed_pop_filtered:<b
us1> have 1 messages
0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:500:gst_bus_timed_pop_filtered:<b
us1> got message 0x489098, error from wavparse0, type mask is 4294967295
0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:762:gst_bus_source_dispatch:<bus1
> source 0x47c5f8 calling dispatch with 0x489098
0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:969:poll_func: mainloop 0x47c3b0
quit
0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:767:gst_bus_source_dispatch:<bus1
> source 0x47c5f8 handler returns 1
0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:1079:gst_bus_poll: mainloop stopp
ed 0x47c3b0
0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:1324:gst_bus_remove_signal_watch:
<bus1> removing signal watch 13
0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:788:gst_bus_source_finalize:<bus1
> finalize source 0x47c5f8
0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:259:gst_bus_set_main_context:<bus
1> setting main context to (nil), GLib default context: 0x477f38
0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
gstbus.c:1092:gst_bus_poll:<bus1> finished
 poll with message 0x489098
ERROR: from element /GstPipeline:pipeline0/GstWavParse:wavparse0:
Internal data flow error.
Additional debug info:
gstwavparse.c(2122): gst_wavparse_loop ():
/GstPipeline:pipeline0/GstWavParse:wavparse0:
streaming task paused, reason not-linked (-1)
0:32:24.400000000  1137   0x420a00 LOG              GST_MESSAGE
gstmessage.c:195:gst_message_finalize: fin
alize message 0x489098, error from wavparse0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:32:24.400000000  1137   0x420a00 DEBUG             GST_STATES
gstelement.c:2638:gst_element_set_state_fu
nc:<pipeline0> set_state to NULL
0:32:24.400000000  1137   0x420a00 DEBUG
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

gstreamer caps negotiation fail when using USB sound card

brad2012
hi Stefan,

Could you kindly give some hints about the nego fail issue?
the log below I summary the fail progress,
I was confused about "caps are notcompatible".
it obviously has got "wavparse_src" and "audioconvert sink" .
And I also trying to link wavparse0:src and audioconvert0:sink.
Why it get incompatible pads during negotiation?
I just set many "get pad caps", it is not clear about what happen in
negotiation progess.
========================================================

# gst-launch-0.10 --gst-debug-no-color --gst-debug-level=5 filesrc location=/var
/tmp/usb/sda1/audio_src/1503-9_48K.wav ! wavparse ! audioconvert ! audio/x-raw-i
nt, rate=48000,channels=2,width=16,endianness=1234 ! alsasink device="hw:0,0"

 GST_PADS gstpad.c:1639:gst_pad_set_getcaps_function:<'':src>
getcapsfunc set to gst_pad_get_fixed_caps_func
 GST_PADS gstpad.c:1452:gst_pad_set_query_type_function:<'':src>
querytypefunc set to gst_wavparse_get_query_types
 GST_PADS gstpad.c:1433:gst_pad_set_query_function:<'':src> queryfunc
set to gst_wavparse_pad_query
 GST_PADS gstpad.c:1415:gst_pad_set_event_function:<'':src> eventfunc
for set to gst_wavparse_srcpad_event
 wavparse gstwavparse.c:281:gst_wavparse_create_sourcepad:<wavparse0>
srcpad created
 GST_PADS gstpad.c:710:gst_pad_set_active:<'':src> activating pad from none
 GST_PADS gstpad.c:910:gst_pad_activate_push:<'':src> trying to set
activated in push mode
 GST_PADS gstpad.c:930:gst_pad_activate_push:<'':src> activating pad from none
 GST_PADS gstpad.c:632:pre_activate:<'':src> setting ACTIVATE_MODE 1,
unset flushing
 GST_PADS gstpad.c:966:gst_pad_activate_push:<'':src> activated in push mode
 GST_CAPS gstpad.c:2741:gst_pad_set_caps:<'':src> caps 0x47c5c0 0x47c5c0
 GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:<wavparse0>
adding pad 'src'
 GST_REFCOUNTING gstobject.c:844:gst_object_set_parent:<'':src> set
parent (ref and sink)
 GST_PIPELINE ./grammar.y:496:gst_parse_found_pad: trying delayed
linking wavparse0:(NULL) to audioconvert0:(NULL)
 GST_ELEMENT_PADS gstutils.c:1698:gst_element_link_pads_full: trying
to link element wavparse0:(any) to element audioconvert0:(any)
 GST_ELEMENT_PADS gstutils.c:1787:gst_element_link_pads_full: looping
through allowed src and dest pads
 GST_ELEMENT_PADS gstutils.c:1790:gst_element_link_pads_full: trying
src pad wavparse0:src
 GST_ELEMENT_PADS gstutils.c:1101:gst_element_get_compatible_pad:
finding pad in audioconvert0 compatible with wavparse0:src
 GST_ELEMENT_PADS gstutils.c:1130:gst_element_get_compatible_pad:
examining pad audioconvert0:sink
  GST_PADS gstutils.c:1032:gst_pad_check_link: trying to link
wavparse0:src and audioconvert0:sink
  GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<wavparse0:src> get pad caps
  GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<wavparse0:src> get pad caps
  GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<wavparse0:src>
dispatching to pad getcaps function
  GST_CAPS gstutils.c:2469:gst_pad_get_fixed_caps_func: using pad caps
0x47c5c0 0x47c5c0
  GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<wavparse0:src> pad
getcaps returned 0x47c5c0
  GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<audioconvert0:sink>
get pad caps
  GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<audioconvert0:sink>
get pad caps
  GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<audioconvert0:sink>
dispatching to pad getcaps function
  GST_CAPS gstpad.c:2396:gst_pad_peer_get_caps_reffed:<audioconvert0:src>
get peer caps
  GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<capsfilter0:sink> get pad caps
  GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<capsfilter0:sink>
get pad caps
  GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<capsfilter0:sink>
dispatching to pad getcaps function
  GST_CAPS gstpad.c:2396:gst_pad_peer_get_caps_reffed:<capsfilter0:src>
get peer caps
  GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<alsasink0:sink> get pad caps
  GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<alsasink0:sink> get pad caps
  GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<alsasink0:sink>
dispatching to pad getcaps function
  alsa gstalsa.c:124:gst_alsa_detect_formats:<alsasink0> skipping non-int format
  alsa gstalsa.c:124:gst_alsa_detect_formats:<alsasink0> skipping non-int format
  alsa gstalsa.c:124:gst_alsa_detect_formats:<alsasink0> skipping non-int format
  alsa gstalsa.c:124:gst_alsa_detect_formats:<alsasink0> skipping non-int format
  alsa gstalsa.c:30:gst_alsa_detect_rates:<alsasink0> probing sample rates ...
  alsa gstalsa.c:49:gst_alsa_detect_rates:<alsasink0> Min. rate = 48000 (48000)
  alsa gstalsa.c:50:gst_alsa_detect_rates:<alsasink0> Max. rate = 48000 (48000)
  alsa gstalsa.c:265:gst_alsa_detect_channels:<alsasink0> probing channels ...
  alsa gstalsa.c:309:gst_alsa_detect_channels:<alsasink0> Min. channels = 2 (2)
  alsa gstalsa.c:310:gst_alsa_detect_channels:<alsasink0> Max. channels = 2 (2)
  alsa gstalsa.c:389:gst_alsa_open_iec958_pcm:<alsasink0> Generated
device string "hw:0,0:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}"
  alsa conf.c:4604:parse_args: alsalib error: Parameter DEV must be an integer
  alsa conf.c:4709:snd_config_expand: alsalib error: Parse arguments
error: Invalid argument
  alsa pcm.c:2217:snd_pcm_open_noupdate: alsalib error: Unknown PCM
hw:0,0:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
  alsa gstalsa.c:395:gst_alsa_open_iec958_pcm:<alsasink0> failed
opening IEC958 device: Invalid argument
  alsa gstalsasink.c:341:gst_alsasink_getcaps:<alsasink0> returning
caps 0x49cee0
  GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<alsasink0:sink>
pad getcaps returned 0x49cee0
  basetransform
gstbasetransform.c:736:gst_base_transform_getcaps:<capsfilter0:sink>
peer caps  0x49cee0
  basetransform
gstbasetransform.c:740:gst_base_transform_getcaps:<capsfilter0:sink>
our template  0x47da40
  basetransform
gstbasetransform.c:742:gst_base_transform_getcaps:<capsfilter0:sink>
intersected 0x49ce80
  basetransform
gstbasetransform.c:552:gst_base_transform_transform_caps:<capsfilter0>
transform caps (direction = 1)
  basetransform
gstbasetransform.c:583:gst_base_transform_transform_caps:<capsfilter0>
merged: (0)
  basetransform
gstbasetransform.c:597:gst_base_transform_transform_caps:<capsfilter0>
to: (0) 0x49ce40
  basetransform
gstbasetransform.c:752:gst_base_transform_getcaps:<capsfilter0:sink>
transformed  0x49ce40
  basetransform
gstbasetransform.c:759:gst_base_transform_getcaps:<capsfilter0:sink>
our template  0x47d960
  basetransform
gstbasetransform.c:762:gst_base_transform_getcaps:<capsfilter0:sink>
intersected 0x49cdc0
  basetransform
gstbasetransform.c:778:gst_base_transform_getcaps:<capsfilter0>
returning  0x49cdc0
  GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<capsfilter0:sink>
pad getcaps returned 0x49cdc0
  basetransform
gstbasetransform.c:736:gst_base_transform_getcaps:<audioconvert0:sink>
peer caps  0x49cdc0
  basetransform
gstbasetransform.c:740:gst_base_transform_getcaps:<audioconvert0:sink>
our template  0x46c4e0
  basetransform
gstbasetransform.c:742:gst_base_transform_getcaps:<audioconvert0:sink>
intersected 0x49cd20
  basetransform
gstbasetransform.c:552:gst_base_transform_transform_caps:<audioconvert0>
transform caps (direction = 1)
  basetransform
gstbasetransform.c:583:gst_base_transform_transform_caps:<audioconvert0>
merged: (0)
  basetransform
gstbasetransform.c:597:gst_base_transform_transform_caps:<audioconvert0>
to: (0) 0x49cce0
  basetransform
gstbasetransform.c:752:gst_base_transform_getcaps:<audioconvert0:sink>
transformed  0x49cce0
  basetransform
gstbasetransform.c:759:gst_base_transform_getcaps:<audioconvert0:sink>
our template  0x455300
  basetransform
gstbasetransform.c:762:gst_base_transform_getcaps:<audioconvert0:sink>
intersected 0x49cbc0
  basetransform
gstbasetransform.c:778:gst_base_transform_getcaps:<audioconvert0>
returning  0x49cbc0
  GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<audioconvert0:sink>
pad getcaps returned 0x49cbc0
  GST_ELEMENT_PADS gstutils.c:1167:gst_element_get_compatible_pad:
incompatible pads
  GST_ELEMENT_PADS gstutils.c:1173:gst_element_get_compatible_pad:
unreffing pads
 GST_ELEMENT_PADS
gstutils.c:1195:gst_element_get_compatible_pad:<audioconvert0> Could
not find a compatible unlinked always pad to link to wavparse0:src,
now checking request pads
 GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<wavparse0:src> get pad caps
 GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<wavparse0:src> get pad caps
 GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<wavparse0:src>
dispatching to pad getcaps function
 GST_CAPS gstutils.c:2469:gst_pad_get_fixed_caps_func: using pad caps
0x47c5c0 0x47c5c0
 GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<wavparse0:src> pad
getcaps returned 0x47c5c0
 GST_ELEMENT_PADS
gstutils.c:894:gst_element_get_compatible_pad_template: Looking for a
suitable pad template in audioconvert0 out of 2 templates...
 GST_CAPS gstutils.c:905:gst_element_get_compatible_pad_template:
checking pad template src
 GST_CAPS gstutils.c:905:gst_element_get_compatible_pad_template:
checking pad template sink
 GST_CAPS gstutils.c:910:gst_element_get_compatible_pad_template:
compatible direction: found sink pad template "sink"
 GST_CAPS gstutils.c:913:gst_element_get_compatible_pad_template:
intersecting 0x49cc00
 GST_CAPS gstutils.c:915:gst_element_get_compatible_pad_template: ..and 0x455300
 GST_CAPS gstutils.c:921:gst_element_get_compatible_pad_template: caps
are compatible
 GST_ELEMENT_PADS
gstutils.c:933:gst_element_get_compatible_pad_template: Returning new
pad template 0x465188
 GST_ELEMENT_PADS gstelement.c:975:gst_element_get_static_pad: found
pad audioconvert0:sink
 GST_ELEMENT_PADS gstutils.c:1210:gst_element_get_compatible_pad:
found existing request pad audioconvert0:sink
 GST_PADS gstutils.c:1596:prepare_link_maybe_ghosting: wavparse0 and
audioconvert0 in same bin, no need for ghost pads
 GST_MESSAGE gstmessage.c:185:gst_message_init: new message 0x465740
 GST_MESSAGE gstmessage.c:274:gst_message_new_custom: source sink:
creating new message 0x465740 structure-change
 GST_BUS gstbus.c:308:gst_bus_post:<bus0> [msg 0x465740] posting on
bus, type structure-change, 0x49c278 from source 0x4681a0
  bin gstbin.c:3225:gst_bin_handle_message_func:<pipeline0> [msg
0x465740] handling child sink message of type structure-change
  bin gstbin.c:883:message_check: looking at message 0x465470: 0
  bin gstbin.c:905:find_message:<pipeline0> no message found matching
types 00001000
  bin gstbin.c:912:find_message:<pipeline0>   structure-change
  bin gstbin.c:952:bin_replace_message:<pipeline0> got new message
0x465740, structure-change from sink
 GST_BUS gstbus.c:334:gst_bus_post:<bus0> [msg 0x465740] dropped
  GST_PADS gstpad.c:1978:gst_pad_link_prepare: trying to link
wavparse0:src and audioconvert0:sink
  GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<wavparse0:src> get pad caps
  GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<wavparse0:src>
dispatching to pad getcaps function
  GST_CAPS gstutils.c:2469:gst_pad_get_fixed_caps_func: using pad caps
0x47c5c0 0x47c5c0
  GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<wavparse0:src> pad
getcaps returned 0x47c5c0
  GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<audioconvert0:sink>
get pad caps
  GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<audioconvert0:sink>
dispatching to pad getcaps function
  GST_CAPS gstpad.c:2396:gst_pad_peer_get_caps_reffed:<audioconvert0:src>
get peer caps
  GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<capsfilter0:sink> get pad caps
  GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<capsfilter0:sink>
get pad caps
  GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<capsfilter0:sink>
dispatching to pad getcaps function
  GST_CAPS gstpad.c:2396:gst_pad_peer_get_caps_reffed:<capsfilter0:src>
get peer caps
  GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<alsasink0:sink> get pad caps
  GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<alsasink0:sink> get pad caps
  GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<alsasink0:sink>
dispatching to pad getcaps function
  alsa gstalsasink.c:326:gst_alsasink_getcaps:<alsasink0> Returning cached caps
  GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<alsasink0:sink>
pad getcaps returned 0x49cee0
  basetransform
gstbasetransform.c:729:gst_base_transform_getcaps:<capsfilter0>
Returning cached transformed caps (index = 1)
  GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<capsfilter0:sink>
pad getcaps returned 0x49cdc0
  basetransform
gstbasetransform.c:729:gst_base_transform_getcaps:<audioconvert0>
Returning cached transformed caps (index = 1)
  GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<audioconvert0:sink>
pad getcaps returned 0x49cbc0
  GST_CAPS gstpad.c:1878:gst_pad_link_check_compatible_unlocked:<wavparse0:src>
src caps 0x47c5c0
  GST_CAPS gstpad.c:1880:gst_pad_link_check_compatible_unlocked:<audioconvert0:sink>
sink caps 0x49cbc0
  GST_CAPS gstpad.c:1898:gst_pad_link_check_compatible_unlocked: caps
are notcompatible
  GST_PADS gstpad.c:2034:gst_pad_link_prepare: caps are incompatible
  GST_MESSAGE gstmessage.c:185:gst_message_init: new message 0x465788
  GST_MESSAGE gstmessage.c:274:gst_message_new_custom: source sink:
creating new message 0x465788 structure-change
  GST_BUS gstbus.c:308:gst_bus_post:<bus0> [msg 0x465788] posting on
bus, type structure-change, 0x49c290 from source 0x4681a0
  bin gstbin.c:3225:gst_bin_handle_message_func:<pipeline0> [msg
0x465788] handling child sink message of type structure-change
  bin gstbin.c:883:message_check: looking at message 0x465740: 1
  bin gstbin.c:980:bin_remove_messages:<audioconvert0:sink> deleting
message 0x465740 of types 0x00001000
  GST_MESSAGE gstmessage.c:195:gst_message_finalize: finalize message
0x465740, structure-change from sink
  bin gstbin.c:883:message_check: looking at message 0x465470: 0
  bin gstbin.c:986:bin_remove_messages:<alsasink0> not deleting
message 0x465470 of type 0x00100000
  GST_MESSAGE gstmessage.c:195:gst_message_finalize: finalize message
0x465788, structure-change from sink
 GST_BUS gstbus.c:334:gst_bus_post:<bus0> [msg 0x465788] dropped
  GST_ELEMENT_PADS gstutils.c:1790:gst_element_link_pads_full: trying
src pad wavparse0:sink
  GST_ELEMENT_PADS gstutils.c:1842:gst_element_link_pads_full: trying
dest pad audioconvert0:src
  GST_ELEMENT_PADS gstutils.c:1842:gst_element_link_pads_full: trying
dest pad audioconvert0:sink
  GST_ELEMENT_PADS gstutils.c:1101:gst_element_get_compatible_pad:
finding pad in wavparse0 compatible with audioconvert0:sink
ST_ELEMENT_PADS gstutils.c:1130:gst_element_get_compatible_pad:
examining pad wavparse0:src
 GST_PADS gstutils.c:1032:gst_pad_check_link: trying to link
wavparse0:src and audioconvert0:sink
 GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<audioconvert0:sink>
get pad caps
 GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<audioconvert0:sink>
get pad caps
 GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<audioconvert0:sink>
dispatching to pad getcaps function
 GST_CAPS gstpad.c:2396:gst_pad_peer_get_caps_reffed:<audioconvert0:src>
get peer caps
 GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<capsfilter0:sink> get pad caps
 GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<capsfilter0:sink>
get pad caps
 GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<capsfilter0:sink>
dispatching to pad getcaps function
 GST_CAPS gstpad.c:2396:gst_pad_peer_get_caps_reffed:<capsfilter0:src>
get peer caps
 GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<alsasink0:sink> get pad caps
 GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<alsasink0:sink> get pad caps
 GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<alsasink0:sink>
dispatching to pad getcaps function
 alsa gstalsasink.c:326:gst_alsasink_getcaps:<alsasink0> Returning cached caps
 GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<alsasink0:sink> pad
getcaps returned 0x49cee0
 basetransform gstbasetransform.c:729:gst_base_transform_getcaps:<capsfilter0>
Returning cached transformed caps (index = 1)
 GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<capsfilter0:sink>
pad getcaps returned 0x49cdc0
 basetransform gstbasetransform.c:729:gst_base_transform_getcaps:<audioconvert0>
Returning cached transformed caps (index = 1)
 GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<audioconvert0:sink>
pad getcaps returned 0x49cbc0
 GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<wavparse0:src> get pad caps
 GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<wavparse0:src> get pad caps
 GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<wavparse0:src>
dispatching to pad getcaps function
 GST_CAPS gstutils.c:2469:gst_pad_get_fixed_caps_func: using pad caps
0x47c5c0 0x47c5c0
 GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<wavparse0:src> pad
getcaps returned 0x47c5c0
 GST_ELEMENT_PADS gstutils.c:1167:gst_element_get_compatible_pad:
incompatible pads
 GST_ELEMENT_PADS gstutils.c:1173:gst_element_get_compatible_pad: unreffing pads
 GST_ELEMENT_PADS
gstutils.c:1195:gst_element_get_compatible_pad:<wavparse0> Could not
find a compatible unlinked always pad to link to audioconvert0:sink,
now checking request pads
 GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<audioconvert0:sink>
get pad caps
 GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<audioconvert0:sink>
get pad caps
 GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<audioconvert0:sink>
dispatching to pad getcaps function
 GST_CAPS gstpad.c:2396:gst_pad_peer_get_caps_reffed:<audioconvert0:src>
get peer caps
 GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<capsfilter0:sink> get pad caps
 GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<capsfilter0:sink>
get pad caps
 GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<capsfilter0:sink>
dispatching to pad getcaps function
 GST_CAPS gstpad.c:2396:gst_pad_peer_get_caps_reffed:<capsfilter0:src>
get peer caps
 GST_CAPS gstpad.c:2336:gst_pad_get_caps_reffed:<alsasink0:sink> get pad caps
 GST_CAPS gstpad.c:2246:gst_pad_get_caps_unlocked:<alsasink0:sink> get pad caps
 GST_CAPS gstpad.c:2250:gst_pad_get_caps_unlocked:<alsasink0:sink>
dispatching to pad getcaps function
 alsa gstalsasink.c:326:gst_alsasink_getcaps:<alsasink0> Returning cached caps
 GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<alsasink0:sink> pad
getcaps returned 0x49cee0
 basetransform gstbasetransform.c:729:gst_base_transform_getcaps:<capsfilter0>
Returning cached transformed caps (index = 1)
 GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<capsfilter0:sink>
pad getcaps returned 0x49cdc0
 basetransform gstbasetransform.c:729:gst_base_transform_getcaps:<audioconvert0>
Returning cached transformed caps (index = 1)
 GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<audioconvert0:sink>
pad getcaps returned 0x49cbc0
 GST_ELEMENT_PADS
gstutils.c:894:gst_element_get_compatible_pad_template: Looking for a
suitable pad template in wavparse0 out of 2 templates...
 GST_CAPS gstutils.c:905:gst_element_get_compatible_pad_template:
checking pad template wavparse_sink
 GST_CAPS gstutils.c:905:gst_element_get_compatible_pad_template:
checking pad template wavparse_src
 GST_CAPS gstutils.c:910:gst_element_get_compatible_pad_template:
compatible direction: found src pad template "wavparse_src"
 GST_CAPS gstutils.c:913:gst_element_get_compatible_pad_template:
intersecting 0x49ce40
 GST_CAPS gstutils.c:915:gst_element_get_compatible_pad_template: ..and 0x455120
 GST_CAPS gstutils.c:921:gst_element_get_compatible_pad_template: caps
are not compatible
 GST_ELEMENT_PADS
gstutils.c:935:gst_element_get_compatible_pad_template: No compatible
pad template found
 GST_ELEMENT_PADS
gstutils.c:1216:gst_element_get_compatible_pad:<wavparse0> Could not
find a compatible pad to link to audioconvert0:sink
 GST_ELEMENT_PADS gstutils.c:1884:gst_element_link_pads_full: we might
have request pads on both sides, checking...
 GST_ELEMENT_PADS gstutils.c:1927:gst_element_link_pads_full: no link
possible from wavparse0 to audioconvert0
 default gstutils.c:2037:gst_element_link_pads_filtered: Could not
link pads: wavparse0:(null) - audioconvert0:(null)


=========================================================


2012/8/2 Stefan Sauer <[hidden email]>:

> On 07/31/2012 02:03 PM, Soho Soho123 wrote:
>> hi all,
>>
>> When I try to play wav audio to usb sound card,
>> it is fail,
>> the command I used :
>> gst-launch-0.10 -v filesrc location=/bin/audio_src_48k_le.wav !
>> wavparse ! audioconvert !audio/x-raw-int,
>> rate=48000,channels=2,width=16,endianness=4321 ! alsasink
>> device="hw:0,0"
>>
>> the error is :
>> streaming task paused, reason not-linked (-1)
>> Below is the log I captured from debug level 5,
>> does anyone have idea how to fix the issue?
> The log is unreadable in this form. Figure out what part did not got
> linked and fix it:
> GST_DEBUG_DUMP_DOT_DIR=$PWD gst-launch ....
> convert the generated dot files: dot -Tpng xxx.dot -ograph.png
>
> My guess is hat alsasink refuses the format you secify in the caps filter.
>
> Stefan
>> ==================================================================================
>>
>> 0:32:12.150000000  1142   0x4234f0 LOG                  default
>> gsttypefindhelper.c:550:gst_type_find_help
>> er_for_buffer:<wavparse0> Returning 0x4980e0 (probability = 86)
>> 0:32:12.150000000  1142   0x4234f0 LOG                 wavparse
>> gstwavparse.c:1783:gst_wavparse_add_src_pa
>> d: typefind caps = 0x4980e0, P=86
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:1793:gst_wavparse_add_src_pa
>> d:<wavparse0> found caps 0x4980e0 for stream marked as raw PCM audio,
>> but ignoring for now
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:1639:gst_pad_set_getcaps_function
>> :<'':src> getcapsfunc set to gst_pad_get_fixed_caps_func
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:1452:gst_pad_set_query_type_funct
>> ion:<'':src> querytypefunc set to gst_wavparse_get_query_types
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:1433:gst_pad_set_query_function:<
>> '':src> queryfunc set to gst_wavparse_pad_query
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:1415:gst_pad_set_event_function:<
>> '':src> eventfunc for set to gst_wavparse_srcpad_event
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:247:gst_wavparse_create_sour
>> cepad:<wavparse0> srcpad created
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:710:gst_pad_set_active:<'':src> a
>> ctivating pad from none
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:910:gst_pad_activate_push:<'':src
>>> trying to set activated in push mode
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:930:gst_pad_activate_push:<'':src
>>> activating pad from none
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:632:pre_activate:<'':src> setting
>>  ACTIVATE_MODE 1, unset flushing
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:966:gst_pad_activate_push:<'':src
>>> activated in push mode
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2741:gst_pad_set_caps:<'':src> ca
>> ps 0x47a080 0x47a080
>> 0:32:13.260000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
>> gstelement.c:728:gst_element_add_pad:<wavp
>> arse0> adding pad 'src'
>> 0:32:13.260000000  1142   0x4234f0 DEBUG        GST_REFCOUNTING
>> gstobject.c:844:gst_object_set_parent:<'':
>> src> set parent (ref and sink)
>> 0:32:13.260000000  1142   0x4234f0 INFO            GST_PIPELINE
>> ./grammar.y:496:gst_parse_found_pad: tryin
>> g delayed linking wavparse0:(NULL) to audioconvert0:(NULL)
>> 0:32:13.260000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
>> gstutils.c:1698:gst_element_link_pads_full
>> : trying to link element wavparse0:(any) to element audioconvert0:(any)
>> 0:32:13.260000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1787:gst_element_link_pads_full
>> : looping through allowed src and dest pads
>> 0:32:13.260000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1790:gst_element_link_pads_full
>> : trying src pad wavparse0:src
>> 0:32:13.260000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1101:gst_element_get_compatible
>> _pad: finding pad in audioconvert0 compatible with wavparse0:src
>> 0:32:13.260000000  1142   0x4234f0 LOG         GST_ELEMENT_PADS
>> gstutils.c:1130:gst_element_get_compatible
>> _pad: examining pad audioconvert0:sink
>> 0:32:13.260000000  1142   0x4234f0 INFO                GST_PADS
>> gstutils.c:1032:gst_pad_check_link: trying
>>  to link wavparse0:src and audioconvert0:sink
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<wav
>> parse0:src> get pad caps
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<w
>> avparse0:src> get pad caps
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<w
>> avparse0:src> dispatching to pad getcaps function
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:2469:gst_pad_get_fixed_caps_fun
>> c: using pad caps 0x47a080 0x47a080
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<w
>> avparse0:src> pad getcaps returned 0x47a080
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<aud
>> ioconvert0:sink> get pad caps
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> get pad caps
>> 0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> dispatching to pad getcaps function
>> 0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2396:gst_pad_peer_get_caps_reffed
>> :<audioconvert0:src> get peer caps
>> 0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<als
>> asink0:sink> get pad caps
>> 0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> get pad caps
>> 0:32:14.370000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> dispatching to pad getcaps function
>> 0:32:14.370000000  1142   0x4234f0 WARN                    alsa
>> gstalsa.c:124:gst_alsa_detect_formats:<als
>> asink0> skipping non-int format
>> 0:32:14.370000000  1142   0x4234f0 LOG                     alsa
>> gstalsa.c:30:gst_alsa_detect_rates:<alsasi
>> nk0> probing sample rates ...
>> 0:32:14.370000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:49:gst_alsa_detect_rates:<alsasi
>> nk0> Min. rate = 48000 (48000)
>> 0:32:14.370000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:50:gst_alsa_detect_rates:<alsasi
>> nk0> Max. rate = 48000 (48000)
>> 0:32:14.370000000  1142   0x4234f0 LOG                     alsa
>> gstalsa.c:265:gst_alsa_detect_channels:<al
>> sasink0> probing channels ...
>> 0:32:14.380000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:309:gst_alsa_detect_channels:<al
>> sasink0> Min. channels = 2 (2)
>> 0:32:14.380000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:310:gst_alsa_detect_channels:<al
>> sasink0> Max. channels = 2 (2)
>> 0:32:14.380000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:388:gst_alsa_open_iec958_pcm:<al
>> sasink0> Generated device string "iec958:{AES0 0x02 AES1 0x82 AES2
>> 0x00 AES3 0x02}"
>> conf.c:snd_config_update_r:3661, configs=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3686, name=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3700, lf->name=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3661, configs=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3686, name=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3700, lf->name=/usr/share/alsa/alsa.conf
>> 0:32:14.390000000  1142   0x4234f0 WARN                    alsa
>> conf.c:4692:snd_config_expand: alsalib err
>> or: Unknown parameters {AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
>> 0:32:14.390000000  1142   0x4234f0 WARN                    alsa
>> pcm.c:2217:snd_pcm_open_noupdate: alsalib
>> error: Unknown PCM iec958:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
>> 0:32:14.390000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:394:gst_alsa_open_iec958_pcm:<al
>> sasink0> failed opening IEC958 device: Invalid argument
>> 0:32:14.390000000  1142   0x4234f0 INFO                    alsa
>> gstalsasink.c:327:gst_alsasink_getcaps:<al
>> sasink0> returning caps 0x498f60
>> 0:32:14.390000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> pad getcaps returned 0x498f60
>> 0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:736:gst_base_transform_
>> getcaps:<audioconvert0:sink> peer caps  0x498f60
>> 0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:740:gst_base_transform_
>> getcaps:<audioconvert0:sink> our template  0x46b120
>> 0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:742:gst_base_transform_
>> getcaps:<audioconvert0:sink> intersected 0x498f00
>> 0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:552:gst_base_transform_
>> transform_caps:<audioconvert0> transform caps (direction = 1)
>> 0:32:14.390000000  1142   0x4234f0 LOG            basetransform
>> gstbasetransform.c:583:gst_base_transform_
>> transform_caps:<audioconvert0> merged: (0)
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:597:gst_base_transform_
>> transform_caps:<audioconvert0> to: (0) 0x498ec0
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:752:gst_base_transform_
>> getcaps:<audioconvert0:sink> transformed  0x498ec0
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:759:gst_base_transform_
>> getcaps:<audioconvert0:sink> our template  0x451940
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:762:gst_base_transform_
>> getcaps:<audioconvert0:sink> intersected 0x498e60
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:778:gst_base_transform_
>> getcaps:<audioconvert0> returning  0x498e60
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> pad getcaps returned 0x498e60
>> 0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1167:gst_element_get_compatible
>> _pad: incompatible pads
>> 0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1173:gst_element_get_compatible
>> _pad: unreffing pads
>> 0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1195:gst_element_get_compatible
>> _pad:<audioconvert0> Could not find a compatible unlinked always pad
>> to link to wavparse0:src, now checkin
>> g request pads
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<wav
>> parse0:src> get pad caps
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<w
>> avparse0:src> get pad caps
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<w
>> avparse0:src> dispatching to pad getcaps function
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:2469:gst_pad_get_fixed_caps_fun
>> c: using pad caps 0x47a080 0x47a080
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<w
>> avparse0:src> pad getcaps returned 0x47a080
>> 0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:894:gst_element_get_compatible_
>> pad_template: Looking for a suitable pad template in audioconvert0 out
>> of 2 templates...
>> 0:32:15.500000000  1142   0x4234f0 LOG                 GST_CAPS
>> gstutils.c:905:gst_element_get_compatible_
>> pad_template: checking pad template src
>> 0:32:15.500000000  1142   0x4234f0 LOG                 GST_CAPS
>> gstutils.c:905:gst_element_get_compatible_
>> pad_template: checking pad template sink
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:910:gst_element_get_compatible_
>> pad_template: compatible direction: found sink pad template "sink"
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:913:gst_element_get_compatible_
>> pad_template: intersecting 0x4981a0
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:915:gst_element_get_compatible_
>> pad_template: ..and 0x451940
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:921:gst_element_get_compatible_
>> pad_template: caps are compatible
>> 0:32:16.610000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:933:gst_element_get_compatible_
>> pad_template: Returning new pad template 0x464570
>> 0:32:16.610000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
>> gstelement.c:975:gst_element_get_static_pa
>> d: found pad audioconvert0:sink
>> 0:32:16.610000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1210:gst_element_get_compatible
>> _pad: found existing request pad audioconvert0:sink
>> 0:32:16.610000000  1142   0x4234f0 INFO                GST_PADS
>> gstutils.c:1596:prepare_link_maybe_ghostin
>> g: wavparse0 and audioconvert0 in same bin, no need for ghost pads
>> 0:32:16.610000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:185:gst_message_init: new mes
>> sage 0x464b28
>> 0:32:16.610000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:274:gst_message_new_custom: s
>> ource sink: creating new message 0x464b28 structure-change
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus0> [msg 0x46
>> 4b28] posting on bus, type structure-change, 0x499250 from source 0x465190
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3164:gst_bin_handle_message_func:
>> <pipeline0> [msg 0x464b28] handling child sink message of type structure-change
>> 0:32:16.610000000  1142   0x4234f0 LOG                      bin
>> gstbin.c:883:message_check: looking at mes
>> sage 0x4649c0: 0
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:905:find_message:<pipeline0> no m
>> essage found matching types 00001000
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:912:find_message:<pipeline0>   st
>> ructure-change
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:952:bin_replace_message:<pipeline
>> 0> got new message 0x464b28, structure-change from sink
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:334:gst_bus_post:<bus0> [msg 0x46
>> 4b28] dropped
>> 0:32:16.610000000  1142   0x4234f0 INFO                GST_PADS
>> gstpad.c:1978:gst_pad_link_prepare: trying
>>  to link wavparse0:src and audioconvert0:sink
>> 0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<w
>> avparse0:src> get pad caps
>> 0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<w
>> avparse0:src> dispatching to pad getcaps function
>> 0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:2469:gst_pad_get_fixed_caps_fun
>> c: using pad caps 0x47a080 0x47a080
>> 0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<w
>> avparse0:src> pad getcaps returned 0x47a080
>> 0:32:16.620000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> get pad caps
>> 0:32:16.620000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> dispatching to pad getcaps function
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2396:gst_pad_peer_get_caps_reffed
>> :<audioconvert0:src> get peer caps
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<als
>> asink0:sink> get pad caps
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> get pad caps
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> dispatching to pad getcaps function
>> 0:32:17.720000000  1142   0x4234f0 LOG                     alsa
>> gstalsasink.c:312:gst_alsasink_getcaps:<al
>> sasink0> Returning cached caps
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> pad getcaps returned 0x498f60
>> 0:32:17.720000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:729:gst_base_transform_
>> getcaps:<audioconvert0> Returning cached transformed caps (index = 1)
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> pad getcaps returned 0x498e60
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:1878:gst_pad_link_check_compatibl
>> e_unlocked:<wavparse0:src> src caps 0x47a080
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:1880:gst_pad_link_check_compatibl
>> e_unlocked:<audioconvert0:sink> sink caps 0x498e60
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:1898:gst_pad_link_check_compatibl
>> e_unlocked: caps are notcompatible
>> 0:32:17.720000000  1142   0x4234f0 INFO                GST_PADS
>> gstpad.c:2034:gst_pad_link_prepare: caps a
>> re incompatible
>> 0:32:17.730000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:185:gst_message_init: new mes
>> sage 0x464b70
>> 0:32:17.730000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:274:gst_message_new_custom: s
>> ource sink: creating new message 0x464b70 structure-change
>> 0:32:17.730000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus0> [msg 0x46
>> 4b70] posting on bus, type structure-change, 0x499268 from source 0x465190
>> 0:32:17.730000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3164:gst_bin_handle_message_func:
>> <pipeline0> [msg 0x464b70] handling child sink message of type structure-change
>> 0:32:17.730000000  1142   0x4234f0 LOG                      bin
>> gstbin.c:883:message_check: looking at mes
>> sage 0x464b28: 1
>> 0:32:17.730000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:980:bin_remove_messages:<audiocon
>> vert0:sink> deleting message 0x464b28 of types 0x00001000
>> 0:32:17.730000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:195:gst_message_finalize: fin
>> alize message 0x464b28, structure-change from sink
>> 0:32:17.730000000  1142   0x4234f0 LOG                      bin
>> gstbin.c:883:message_check: looking at mes
>> sage 0x4649c0: 0
>> 0:32:17.730000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:986:bin_remove_messages:<alsasink
>> 0> not deleting message 0x4649c0 of type 0x00100000
>> 0:32:18.830000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:195:gst_message_finalize: fin
>> alize message 0x464b70, structure-change from sink
>> 0:32:18.830000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:334:gst_bus_post:<bus0> [msg 0x46
>> 4b70] dropped
>> 0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1790:gst_element_link_pads_full
>> : trying src pad wavparse0:sink
>> 0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1842:gst_element_link_pads_full
>> : trying dest pad audioconvert0:src
>> 0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1842:gst_element_link_pads_full
>> : trying dest pad audioconvert0:sink
>> 0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1101:gst_element_get_compatible
>> _pad: finding pad in wavparse0 compatible with audioconvert0:sink
>> 0:32:18.840000000  1142   0x4234f0 LOG         GST_ELEMENT_PADS
>> gstutils.c:1130:gst_element_get_compatible
>> _pad: examining pad wavparse0:src
>> 0:32:18.840000000  1142   0x4234f0 INFO                GST_PADS
>> gstutils.c:1032:gst_pad_check_link: trying
>>  to link wavparse0:src and audioconvert0:sink
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<aud
>> ioconvert0:sink> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> dispatching to pad getcaps function
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2396:gst_pad_peer_get_caps_reffed
>> :<audioconvert0:src> get peer caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<als
>> asink0:sink> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> dispatching to pad getcaps function
>> 0:32:18.840000000  1142   0x4234f0 LOG                     alsa
>> gstalsasink.c:312:gst_alsasink_getcaps:<al
>> sasink0> Returning cached caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> pad getcaps returned 0x498f60
>> 0:32:18.840000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:729:gst_base_transform_
>> getcaps:<audioconvert0> Returning cached transformed caps (index = 1)
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> pad getcaps returned 0x498e60
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<wav
>> parse0:src> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<w
>> avparse0:src> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<w
>> avparse0:src> dispatching to pad getcaps function
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:2469:gst_pad_get_fixed_caps_fun
>> c: using pad caps 0x47a080 0x47a080
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<w
>> avparse0:src> pad getcaps returned 0x47a080
>> 0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1167:gst_element_get_compatible
>> _pad: incompatible pads
>> 0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1173:gst_element_get_compatible
>> _pad: unreffing pads
>> 0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1195:gst_element_get_compatible
>> _pad:<wavparse0> Could not find a compatible unlinked always pad to
>> link to audioconvert0:sink, now checki
>> ng request pads
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<aud
>> ioconvert0:sink> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> dispatching to pad getcaps function
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2396:gst_pad_peer_get_caps_reffed
>> :<audioconvert0:src> get peer caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<als
>> asink0:sink> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> dispatching to pad getcaps function
>> 0:32:19.950000000  1142   0x4234f0 LOG                     alsa
>> gstalsasink.c:312:gst_alsasink_getcaps:<al
>> sasink0> Returning cached caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> pad getcaps returned 0x498f60
>> 0:32:19.950000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:729:gst_base_transform_
>> getcaps:<audioconvert0> Returning cached transformed caps (index = 1)
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> pad getcaps returned 0x498e60
>> 0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:894:gst_element_get_compatible_
>> pad_template: Looking for a suitable pad template in wavparse0 out of
>> 2 templates...
>> 0:32:19.950000000  1142   0x4234f0 LOG                 GST_CAPS
>> gstutils.c:905:gst_element_get_compatible_
>> pad_template: checking pad template wavparse_sink
>> 0:32:19.950000000  1142   0x4234f0 LOG                 GST_CAPS
>> gstutils.c:905:gst_element_get_compatible_
>> pad_template: checking pad template wavparse_src
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:910:gst_element_get_compatible_
>> pad_template: compatible direction: found src pad template "wavparse_src"
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:913:gst_element_get_compatible_
>> pad_template: intersecting 0x4980a0
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:915:gst_element_get_compatible_
>> pad_template: ..and 0x451880
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:921:gst_element_get_compatible_
>> pad_template: caps are not compatible
>> 0:32:21.060000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:935:gst_element_get_compatible_
>> pad_template: No compatible pad template found
>> 0:32:21.060000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
>> gstutils.c:1216:gst_element_get_compatible
>> _pad:<wavparse0> Could not find a compatible pad to link to audioconvert0:sink
>> 0:32:21.060000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1884:gst_element_link_pads_full
>> : we might have request pads on both sides, checking...
>> 0:32:21.060000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1927:gst_element_link_pads_full
>> : no link possible from wavparse0 to audioconvert0
>> 0:32:21.060000000  1142   0x4234f0 INFO                 default
>> gstutils.c:2037:gst_element_link_pads_filt
>> ered: Could not link pads: wavparse0:(null) - audioconvert0:(null)
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:1814:gst_wavparse_add_src_pa
>> d:<wavparse0> Send start segment event on newpad
>> 0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:5214:gst_pad_push_event:<wavparse
>> 0:src> event: newsegment
>> 0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:5255:gst_pad_push_event:<wavparse
>> 0:src> event had no source, setting pad as event source
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:5295:gst_pad_push_event:<wavparse
>> 0:src> Dropping event because pad is not linked
>> 0:32:21.060000000  1142   0x4234f0 LOG                GST_EVENT
>> gstevent.c:225:gst_event_finalize: freeing
>>  event 0x41b128 type newsegment
>> 0:32:21.060000000  1142   0x4234f0 DEBUG              GST_EVENT
>> gstevent.c:269:gst_event_new: creating new
>>  event 0x41b160 tag 118
>> 0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:5214:gst_pad_push_event:<wavparse
>> 0:src> event: tag
>> 0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:5255:gst_pad_push_event:<wavparse
>> 0:src> event had no source, setting pad as event source
>> 0:32:21.070000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:5295:gst_pad_push_event:<wavparse
>> 0:src> Dropping event because pad is not linked
>> 0:32:21.070000000  1142   0x4234f0 LOG                GST_EVENT
>> gstevent.c:225:gst_event_finalize: freeing
>>  event 0x41b160 type tag
>> 0:32:21.070000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:185:gst_message_init: new mes
>> sage 0x489050
>> 0:32:21.070000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:274:gst_message_new_custom: s
>> ource wavparse0: creating new message 0x489050 tag
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus0> [msg 0x48
>> 9050] posting on bus, type tag, 0x47b080 from source 0x46c0c0
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3164:gst_bin_handle_message_func:
>> <pipeline0> [msg 0x489050] handling child wavparse0 message of type tag
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3441:gst_bin_handle_message_func:
>> <pipeline0> posting message upward
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus1> [msg 0x48
>> 9050] posting on bus, type tag, 0x47b080 from source 0x46c0c0
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:338:gst_bus_post:<bus1> [msg 0x48
>> 9050] pushing on async queue
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:343:gst_bus_post:<bus1> [msg 0x48
>> 9050] pushed on async queue
>> 0:32:22.170000000  1137   0x420a00 LOG                  GST_BUS
>> gstbus.c:495:gst_bus_timed_pop_filtered:<b
>> us1> have 1 messages
>> 0:32:22.170000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:500:gst_bus_timed_pop_filtered:<b
>> us1> got message 0x489050, tag from wavparse0, type mask is 4294967295
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:762:gst_bus_source_dispatch:<bus1
>>> source 0x463ea0 calling dispatch with 0x489050
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:969:poll_func: mainloop 0x47cff0
>> quit
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:767:gst_bus_source_dispatch:<bus1
>>> source 0x463ea0 handler returns 1
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1079:gst_bus_poll: mainloop stopp
>> ed 0x47cff0
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1324:gst_bus_remove_signal_watch:
>> <bus1> removing signal watch 12
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:788:gst_bus_source_finalize:<bus1
>>> finalize source 0x463ea0
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:259:gst_bus_set_main_context:<bus
>> 1> setting main context to (nil), GLib default context: 0x477f38
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1092:gst_bus_poll:<bus1> finished
>>  poll with message 0x489050
>> 0:32:22.180000000  1137   0x420a00 LOG              GST_MESSAGE
>> gstmessage.c:195:gst_message_finalize: fin
>> alize message 0x489050, tag from wavparse0
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:867:gst_bus_add_watch_full_unlock
>> ed:<bus1> New source 0x47c5f8 with id 13
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1077:gst_bus_poll: running mainlo
>> op 0x47c3b0
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:259:gst_bus_set_main_context:<bus
>> 1> setting main context to 0x477f38, GLib default context: 0x477f38
>> 0:32:22.180000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:334:gst_bus_post:<bus0> [msg 0x48
>> 9050] dropped
>> 0:32:23.290000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:1981:gst_wavparse_stream_dat
>> a:<wavparse0> marking DISCONT
>> 0:32:23.290000000  1142   0x4234f0 LOG                 wavparse
>> gstwavparse.c:1995:gst_wavparse_stream_dat
>> a:<wavparse0> Got buffer. timestamp:0:00:00.000000000 ,
>> duration:0:00:00.040000000, size:7680
>> 0:32:23.290000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:4728:gst_pad_push:<wavparse0:src>
>>  Taking slow path
>> 0:32:23.290000000  1142   0x4234f0 LOG               GST_BUFFER
>> gstbuffer.c:203:gst_buffer_finalize: final
>> ize 0x489a20
>> 0:32:23.290000000  1142   0x4234f0 LOG           GST_SCHEDULING
>> gstpad.c:4563:gst_pad_push_data:<wavparse0
>> :src> pushing, but it was not linked
>> 0:32:23.290000000  1142   0x4234f0 INFO                wavparse
>> gstwavparse.c:2039:gst_wavparse_stream_dat
>> a:<wavparse0> Error pushing on srcpad wavparse0:src, reason
>> not-linked, is linked? = 0
>>
>> ** (gst-launch-0.10:1142): WARNING **: gstwavparse.c, gst_wavparse_loop,2074
>> 0:32:23.290000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:2088:gst_wavparse_loop:<wavp
>> arse0> pausing task, reason not-linked
>> 0:32:23.290000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:5646:gst_pad_pause_task:<wavparse
>> 0:sink> pause task
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                   task
>> gsttask.c:698:gst_task_set_state:<wavparse
>> 0:sink> Changing task 0x486800 to state 2
>> 0:32:23.290000000  1142   0x4234f0 WARN                wavparse
>> gstwavparse.c:2122:gst_wavparse_loop:<wavp
>> arse0> error: Internal data flow error.
>> 0:32:23.290000000  1142   0x4234f0 WARN                wavparse
>> gstwavparse.c:2122:gst_wavparse_loop:<wavp
>> arse0> error: streaming task paused, reason not-linked (-1)
>> 0:32:23.290000000  1142   0x4234f0 DEBUG            GST_MESSAGE
>> gstelement.c:1933:gst_element_message_full
>> :<wavparse0> start
>> 0:32:23.290000000  1142   0x4234f0 INFO        GST_ERROR_SYSTEM
>> gstelement.c:1964:gst_element_message_full
>> :<wavparse0> posting message: Internal data flow error.
>> 0:32:23.290000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:185:gst_message_init: new mes
>> sage 0x489098
>> 0:32:23.290000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:274:gst_message_new_custom: s
>> ource wavparse0: creating new message 0x489098 error
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus0> [msg 0x48
>> 9098] posting on bus, type error, 0x4992b0 from source 0x46c0c0
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3164:gst_bin_handle_message_func:
>> <pipeline0> [msg 0x489098] handling child wavparse0 message of type error
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3171:gst_bin_handle_message_func:
>> <pipeline0> got ERROR message, unlocking state change
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3441:gst_bin_handle_message_func:
>> <pipeline0> posting message upward
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus1> [msg 0x48
>> 9098] posting on bus, type error, 0x4992b0 from source 0x46c0c0
>> 0:32:24.400000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:338:gst_bus_post:<bus1> [msg 0x48
>> 9098] pushing on async queue
>> 0:32:24.400000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:343:gst_bus_post:<bus1> [msg 0x48
>> 9098] pushed on async queue
>> 0:32:24.400000000  1137   0x420a00 LOG                  GST_BUS
>> gstbus.c:495:gst_bus_timed_pop_filtered:<b
>> us1> have 1 messages
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:500:gst_bus_timed_pop_filtered:<b
>> us1> got message 0x489098, error from wavparse0, type mask is 4294967295
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:762:gst_bus_source_dispatch:<bus1
>>> source 0x47c5f8 calling dispatch with 0x489098
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:969:poll_func: mainloop 0x47c3b0
>> quit
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:767:gst_bus_source_dispatch:<bus1
>>> source 0x47c5f8 handler returns 1
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1079:gst_bus_poll: mainloop stopp
>> ed 0x47c3b0
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1324:gst_bus_remove_signal_watch:
>> <bus1> removing signal watch 13
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:788:gst_bus_source_finalize:<bus1
>>> finalize source 0x47c5f8
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:259:gst_bus_set_main_context:<bus
>> 1> setting main context to (nil), GLib default context: 0x477f38
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1092:gst_bus_poll:<bus1> finished
>>  poll with message 0x489098
>> ERROR: from element /GstPipeline:pipeline0/GstWavParse:wavparse0:
>> Internal data flow error.
>> Additional debug info:
>> gstwavparse.c(2122): gst_wavparse_loop ():
>> /GstPipeline:pipeline0/GstWavParse:wavparse0:
>> streaming task paused, reason not-linked (-1)
>> 0:32:24.400000000  1137   0x420a00 LOG              GST_MESSAGE
>> gstmessage.c:195:gst_message_finalize: fin
>> alize message 0x489098, error from wavparse0
>> ERROR: pipeline doesn't want to preroll.
>> Setting pipeline to NULL ...
>> 0:32:24.400000000  1137   0x420a00 DEBUG             GST_STATES
>> gstelement.c:2638:gst_element_set_state_fu
>> nc:<pipeline0> set_state to NULL
>> 0:32:24.400000000  1137   0x420a00 DEBUG
>> _______________________________________________
>> gstreamer-embedded mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
>>
>
> _______________________________________________
> gstreamer-embedded mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

gstreamer caps negotiation fail when using USB sound card

brad2012
In reply to this post by brad2012
Hi, Stefan,

I. What do you mean about the method of dump log?
convert the generated dot files: dot -Tpng xxx.dot -ograph.png
====>how to convert the log file? what is dot-Tpng? Does it convert
log to a picture?

II.
Could you explain more detail about the format?

When I use aplay, it is OK.
the parameter that dump from aplay:
 # aplay -v -f S16_LE -c 2 -r 48000  -D default /bin/audio_src_48k_le.wav
Hardware PCM card 0 'USB  AUDIO  ' device 0 subdevice 0
Its setup is:
stream       : PLAYBACK
access       : RW_INTERLEAVED
format       : S16_LE
subformat    : STD
channels     : 2
rate         : 48000
exact rate   : 48000 (48000/1)
msbits       : 16
buffer_size  : 24000
period_size  : 6000
period_time  : 125000
tstamp_mode  : NONE
period_step  : 1
avail_min    : 6000
period_event : 0
start_threshold  : 24000
stop_threshold   : 24000
silence_threshold: 0
silence_size : 0
boundary     : 1572864000
appl_ptr     : 0
hw_ptr       : 0
#


2012/8/2 Stefan Sauer <[hidden email]>:

> On 07/31/2012 02:03 PM, Soho Soho123 wrote:
>> hi all,
>>
>> When I try to play wav audio to usb sound card,
>> it is fail,
>> the command I used :
>> gst-launch-0.10 -v filesrc location=/bin/audio_src_48k_le.wav !
>> wavparse ! audioconvert !audio/x-raw-int,
>> rate=48000,channels=2,width=16,endianness=4321 ! alsasink
>> device="hw:0,0"
>>
>> the error is :
>> streaming task paused, reason not-linked (-1)
>> Below is the log I captured from debug level 5,
>> does anyone have idea how to fix the issue?
> The log is unreadable in this form. Figure out what part did not got
> linked and fix it:
> GST_DEBUG_DUMP_DOT_DIR=$PWD gst-launch ....
> convert the generated dot files: dot -Tpng xxx.dot -ograph.png
>
> My guess is hat alsasink refuses the format you secify in the caps filter.
>
> Stefan
>> ==================================================================================
>>
>> 0:32:12.150000000  1142   0x4234f0 LOG                  default
>> gsttypefindhelper.c:550:gst_type_find_help
>> er_for_buffer:<wavparse0> Returning 0x4980e0 (probability = 86)
>> 0:32:12.150000000  1142   0x4234f0 LOG                 wavparse
>> gstwavparse.c:1783:gst_wavparse_add_src_pa
>> d: typefind caps = 0x4980e0, P=86
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:1793:gst_wavparse_add_src_pa
>> d:<wavparse0> found caps 0x4980e0 for stream marked as raw PCM audio,
>> but ignoring for now
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:1639:gst_pad_set_getcaps_function
>> :<'':src> getcapsfunc set to gst_pad_get_fixed_caps_func
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:1452:gst_pad_set_query_type_funct
>> ion:<'':src> querytypefunc set to gst_wavparse_get_query_types
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:1433:gst_pad_set_query_function:<
>> '':src> queryfunc set to gst_wavparse_pad_query
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:1415:gst_pad_set_event_function:<
>> '':src> eventfunc for set to gst_wavparse_srcpad_event
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:247:gst_wavparse_create_sour
>> cepad:<wavparse0> srcpad created
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:710:gst_pad_set_active:<'':src> a
>> ctivating pad from none
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:910:gst_pad_activate_push:<'':src
>>> trying to set activated in push mode
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:930:gst_pad_activate_push:<'':src
>>> activating pad from none
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:632:pre_activate:<'':src> setting
>>  ACTIVATE_MODE 1, unset flushing
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:966:gst_pad_activate_push:<'':src
>>> activated in push mode
>> 0:32:12.150000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2741:gst_pad_set_caps:<'':src> ca
>> ps 0x47a080 0x47a080
>> 0:32:13.260000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
>> gstelement.c:728:gst_element_add_pad:<wavp
>> arse0> adding pad 'src'
>> 0:32:13.260000000  1142   0x4234f0 DEBUG        GST_REFCOUNTING
>> gstobject.c:844:gst_object_set_parent:<'':
>> src> set parent (ref and sink)
>> 0:32:13.260000000  1142   0x4234f0 INFO            GST_PIPELINE
>> ./grammar.y:496:gst_parse_found_pad: tryin
>> g delayed linking wavparse0:(NULL) to audioconvert0:(NULL)
>> 0:32:13.260000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
>> gstutils.c:1698:gst_element_link_pads_full
>> : trying to link element wavparse0:(any) to element audioconvert0:(any)
>> 0:32:13.260000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1787:gst_element_link_pads_full
>> : looping through allowed src and dest pads
>> 0:32:13.260000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1790:gst_element_link_pads_full
>> : trying src pad wavparse0:src
>> 0:32:13.260000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1101:gst_element_get_compatible
>> _pad: finding pad in audioconvert0 compatible with wavparse0:src
>> 0:32:13.260000000  1142   0x4234f0 LOG         GST_ELEMENT_PADS
>> gstutils.c:1130:gst_element_get_compatible
>> _pad: examining pad audioconvert0:sink
>> 0:32:13.260000000  1142   0x4234f0 INFO                GST_PADS
>> gstutils.c:1032:gst_pad_check_link: trying
>>  to link wavparse0:src and audioconvert0:sink
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<wav
>> parse0:src> get pad caps
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<w
>> avparse0:src> get pad caps
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<w
>> avparse0:src> dispatching to pad getcaps function
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:2469:gst_pad_get_fixed_caps_fun
>> c: using pad caps 0x47a080 0x47a080
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<w
>> avparse0:src> pad getcaps returned 0x47a080
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<aud
>> ioconvert0:sink> get pad caps
>> 0:32:13.260000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> get pad caps
>> 0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> dispatching to pad getcaps function
>> 0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2396:gst_pad_peer_get_caps_reffed
>> :<audioconvert0:src> get peer caps
>> 0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<als
>> asink0:sink> get pad caps
>> 0:32:13.270000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> get pad caps
>> 0:32:14.370000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> dispatching to pad getcaps function
>> 0:32:14.370000000  1142   0x4234f0 WARN                    alsa
>> gstalsa.c:124:gst_alsa_detect_formats:<als
>> asink0> skipping non-int format
>> 0:32:14.370000000  1142   0x4234f0 LOG                     alsa
>> gstalsa.c:30:gst_alsa_detect_rates:<alsasi
>> nk0> probing sample rates ...
>> 0:32:14.370000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:49:gst_alsa_detect_rates:<alsasi
>> nk0> Min. rate = 48000 (48000)
>> 0:32:14.370000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:50:gst_alsa_detect_rates:<alsasi
>> nk0> Max. rate = 48000 (48000)
>> 0:32:14.370000000  1142   0x4234f0 LOG                     alsa
>> gstalsa.c:265:gst_alsa_detect_channels:<al
>> sasink0> probing channels ...
>> 0:32:14.380000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:309:gst_alsa_detect_channels:<al
>> sasink0> Min. channels = 2 (2)
>> 0:32:14.380000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:310:gst_alsa_detect_channels:<al
>> sasink0> Max. channels = 2 (2)
>> 0:32:14.380000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:388:gst_alsa_open_iec958_pcm:<al
>> sasink0> Generated device string "iec958:{AES0 0x02 AES1 0x82 AES2
>> 0x00 AES3 0x02}"
>> conf.c:snd_config_update_r:3661, configs=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3686, name=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3700, lf->name=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3661, configs=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3686, name=/usr/share/alsa/alsa.conf
>> conf.c:snd_config_update_r:3700, lf->name=/usr/share/alsa/alsa.conf
>> 0:32:14.390000000  1142   0x4234f0 WARN                    alsa
>> conf.c:4692:snd_config_expand: alsalib err
>> or: Unknown parameters {AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
>> 0:32:14.390000000  1142   0x4234f0 WARN                    alsa
>> pcm.c:2217:snd_pcm_open_noupdate: alsalib
>> error: Unknown PCM iec958:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
>> 0:32:14.390000000  1142   0x4234f0 DEBUG                   alsa
>> gstalsa.c:394:gst_alsa_open_iec958_pcm:<al
>> sasink0> failed opening IEC958 device: Invalid argument
>> 0:32:14.390000000  1142   0x4234f0 INFO                    alsa
>> gstalsasink.c:327:gst_alsasink_getcaps:<al
>> sasink0> returning caps 0x498f60
>> 0:32:14.390000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> pad getcaps returned 0x498f60
>> 0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:736:gst_base_transform_
>> getcaps:<audioconvert0:sink> peer caps  0x498f60
>> 0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:740:gst_base_transform_
>> getcaps:<audioconvert0:sink> our template  0x46b120
>> 0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:742:gst_base_transform_
>> getcaps:<audioconvert0:sink> intersected 0x498f00
>> 0:32:14.390000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:552:gst_base_transform_
>> transform_caps:<audioconvert0> transform caps (direction = 1)
>> 0:32:14.390000000  1142   0x4234f0 LOG            basetransform
>> gstbasetransform.c:583:gst_base_transform_
>> transform_caps:<audioconvert0> merged: (0)
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:597:gst_base_transform_
>> transform_caps:<audioconvert0> to: (0) 0x498ec0
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:752:gst_base_transform_
>> getcaps:<audioconvert0:sink> transformed  0x498ec0
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:759:gst_base_transform_
>> getcaps:<audioconvert0:sink> our template  0x451940
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:762:gst_base_transform_
>> getcaps:<audioconvert0:sink> intersected 0x498e60
>> 0:32:15.500000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:778:gst_base_transform_
>> getcaps:<audioconvert0> returning  0x498e60
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> pad getcaps returned 0x498e60
>> 0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1167:gst_element_get_compatible
>> _pad: incompatible pads
>> 0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1173:gst_element_get_compatible
>> _pad: unreffing pads
>> 0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1195:gst_element_get_compatible
>> _pad:<audioconvert0> Could not find a compatible unlinked always pad
>> to link to wavparse0:src, now checkin
>> g request pads
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<wav
>> parse0:src> get pad caps
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<w
>> avparse0:src> get pad caps
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<w
>> avparse0:src> dispatching to pad getcaps function
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:2469:gst_pad_get_fixed_caps_fun
>> c: using pad caps 0x47a080 0x47a080
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<w
>> avparse0:src> pad getcaps returned 0x47a080
>> 0:32:15.500000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:894:gst_element_get_compatible_
>> pad_template: Looking for a suitable pad template in audioconvert0 out
>> of 2 templates...
>> 0:32:15.500000000  1142   0x4234f0 LOG                 GST_CAPS
>> gstutils.c:905:gst_element_get_compatible_
>> pad_template: checking pad template src
>> 0:32:15.500000000  1142   0x4234f0 LOG                 GST_CAPS
>> gstutils.c:905:gst_element_get_compatible_
>> pad_template: checking pad template sink
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:910:gst_element_get_compatible_
>> pad_template: compatible direction: found sink pad template "sink"
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:913:gst_element_get_compatible_
>> pad_template: intersecting 0x4981a0
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:915:gst_element_get_compatible_
>> pad_template: ..and 0x451940
>> 0:32:15.500000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:921:gst_element_get_compatible_
>> pad_template: caps are compatible
>> 0:32:16.610000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:933:gst_element_get_compatible_
>> pad_template: Returning new pad template 0x464570
>> 0:32:16.610000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
>> gstelement.c:975:gst_element_get_static_pa
>> d: found pad audioconvert0:sink
>> 0:32:16.610000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1210:gst_element_get_compatible
>> _pad: found existing request pad audioconvert0:sink
>> 0:32:16.610000000  1142   0x4234f0 INFO                GST_PADS
>> gstutils.c:1596:prepare_link_maybe_ghostin
>> g: wavparse0 and audioconvert0 in same bin, no need for ghost pads
>> 0:32:16.610000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:185:gst_message_init: new mes
>> sage 0x464b28
>> 0:32:16.610000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:274:gst_message_new_custom: s
>> ource sink: creating new message 0x464b28 structure-change
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus0> [msg 0x46
>> 4b28] posting on bus, type structure-change, 0x499250 from source 0x465190
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3164:gst_bin_handle_message_func:
>> <pipeline0> [msg 0x464b28] handling child sink message of type structure-change
>> 0:32:16.610000000  1142   0x4234f0 LOG                      bin
>> gstbin.c:883:message_check: looking at mes
>> sage 0x4649c0: 0
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:905:find_message:<pipeline0> no m
>> essage found matching types 00001000
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:912:find_message:<pipeline0>   st
>> ructure-change
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:952:bin_replace_message:<pipeline
>> 0> got new message 0x464b28, structure-change from sink
>> 0:32:16.610000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:334:gst_bus_post:<bus0> [msg 0x46
>> 4b28] dropped
>> 0:32:16.610000000  1142   0x4234f0 INFO                GST_PADS
>> gstpad.c:1978:gst_pad_link_prepare: trying
>>  to link wavparse0:src and audioconvert0:sink
>> 0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<w
>> avparse0:src> get pad caps
>> 0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<w
>> avparse0:src> dispatching to pad getcaps function
>> 0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:2469:gst_pad_get_fixed_caps_fun
>> c: using pad caps 0x47a080 0x47a080
>> 0:32:16.610000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<w
>> avparse0:src> pad getcaps returned 0x47a080
>> 0:32:16.620000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> get pad caps
>> 0:32:16.620000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> dispatching to pad getcaps function
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2396:gst_pad_peer_get_caps_reffed
>> :<audioconvert0:src> get peer caps
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<als
>> asink0:sink> get pad caps
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> get pad caps
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> dispatching to pad getcaps function
>> 0:32:17.720000000  1142   0x4234f0 LOG                     alsa
>> gstalsasink.c:312:gst_alsasink_getcaps:<al
>> sasink0> Returning cached caps
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> pad getcaps returned 0x498f60
>> 0:32:17.720000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:729:gst_base_transform_
>> getcaps:<audioconvert0> Returning cached transformed caps (index = 1)
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> pad getcaps returned 0x498e60
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:1878:gst_pad_link_check_compatibl
>> e_unlocked:<wavparse0:src> src caps 0x47a080
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:1880:gst_pad_link_check_compatibl
>> e_unlocked:<audioconvert0:sink> sink caps 0x498e60
>> 0:32:17.720000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:1898:gst_pad_link_check_compatibl
>> e_unlocked: caps are notcompatible
>> 0:32:17.720000000  1142   0x4234f0 INFO                GST_PADS
>> gstpad.c:2034:gst_pad_link_prepare: caps a
>> re incompatible
>> 0:32:17.730000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:185:gst_message_init: new mes
>> sage 0x464b70
>> 0:32:17.730000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:274:gst_message_new_custom: s
>> ource sink: creating new message 0x464b70 structure-change
>> 0:32:17.730000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus0> [msg 0x46
>> 4b70] posting on bus, type structure-change, 0x499268 from source 0x465190
>> 0:32:17.730000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3164:gst_bin_handle_message_func:
>> <pipeline0> [msg 0x464b70] handling child sink message of type structure-change
>> 0:32:17.730000000  1142   0x4234f0 LOG                      bin
>> gstbin.c:883:message_check: looking at mes
>> sage 0x464b28: 1
>> 0:32:17.730000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:980:bin_remove_messages:<audiocon
>> vert0:sink> deleting message 0x464b28 of types 0x00001000
>> 0:32:17.730000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:195:gst_message_finalize: fin
>> alize message 0x464b28, structure-change from sink
>> 0:32:17.730000000  1142   0x4234f0 LOG                      bin
>> gstbin.c:883:message_check: looking at mes
>> sage 0x4649c0: 0
>> 0:32:17.730000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:986:bin_remove_messages:<alsasink
>> 0> not deleting message 0x4649c0 of type 0x00100000
>> 0:32:18.830000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:195:gst_message_finalize: fin
>> alize message 0x464b70, structure-change from sink
>> 0:32:18.830000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:334:gst_bus_post:<bus0> [msg 0x46
>> 4b70] dropped
>> 0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1790:gst_element_link_pads_full
>> : trying src pad wavparse0:sink
>> 0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1842:gst_element_link_pads_full
>> : trying dest pad audioconvert0:src
>> 0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1842:gst_element_link_pads_full
>> : trying dest pad audioconvert0:sink
>> 0:32:18.840000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1101:gst_element_get_compatible
>> _pad: finding pad in wavparse0 compatible with audioconvert0:sink
>> 0:32:18.840000000  1142   0x4234f0 LOG         GST_ELEMENT_PADS
>> gstutils.c:1130:gst_element_get_compatible
>> _pad: examining pad wavparse0:src
>> 0:32:18.840000000  1142   0x4234f0 INFO                GST_PADS
>> gstutils.c:1032:gst_pad_check_link: trying
>>  to link wavparse0:src and audioconvert0:sink
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<aud
>> ioconvert0:sink> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> dispatching to pad getcaps function
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2396:gst_pad_peer_get_caps_reffed
>> :<audioconvert0:src> get peer caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<als
>> asink0:sink> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> dispatching to pad getcaps function
>> 0:32:18.840000000  1142   0x4234f0 LOG                     alsa
>> gstalsasink.c:312:gst_alsasink_getcaps:<al
>> sasink0> Returning cached caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> pad getcaps returned 0x498f60
>> 0:32:18.840000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:729:gst_base_transform_
>> getcaps:<audioconvert0> Returning cached transformed caps (index = 1)
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> pad getcaps returned 0x498e60
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<wav
>> parse0:src> get pad caps
>> 0:32:18.840000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<w
>> avparse0:src> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<w
>> avparse0:src> dispatching to pad getcaps function
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:2469:gst_pad_get_fixed_caps_fun
>> c: using pad caps 0x47a080 0x47a080
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<w
>> avparse0:src> pad getcaps returned 0x47a080
>> 0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1167:gst_element_get_compatible
>> _pad: incompatible pads
>> 0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1173:gst_element_get_compatible
>> _pad: unreffing pads
>> 0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1195:gst_element_get_compatible
>> _pad:<wavparse0> Could not find a compatible unlinked always pad to
>> link to audioconvert0:sink, now checki
>> ng request pads
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<aud
>> ioconvert0:sink> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> dispatching to pad getcaps function
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2396:gst_pad_peer_get_caps_reffed
>> :<audioconvert0:src> get peer caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2336:gst_pad_get_caps_reffed:<als
>> asink0:sink> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2246:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> get pad caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2250:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> dispatching to pad getcaps function
>> 0:32:19.950000000  1142   0x4234f0 LOG                     alsa
>> gstalsasink.c:312:gst_alsasink_getcaps:<al
>> sasink0> Returning cached caps
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> lsasink0:sink> pad getcaps returned 0x498f60
>> 0:32:19.950000000  1142   0x4234f0 DEBUG          basetransform
>> gstbasetransform.c:729:gst_base_transform_
>> getcaps:<audioconvert0> Returning cached transformed caps (index = 1)
>> 0:32:19.950000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstpad.c:2263:gst_pad_get_caps_unlocked:<a
>> udioconvert0:sink> pad getcaps returned 0x498e60
>> 0:32:19.950000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:894:gst_element_get_compatible_
>> pad_template: Looking for a suitable pad template in wavparse0 out of
>> 2 templates...
>> 0:32:19.950000000  1142   0x4234f0 LOG                 GST_CAPS
>> gstutils.c:905:gst_element_get_compatible_
>> pad_template: checking pad template wavparse_sink
>> 0:32:19.950000000  1142   0x4234f0 LOG                 GST_CAPS
>> gstutils.c:905:gst_element_get_compatible_
>> pad_template: checking pad template wavparse_src
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:910:gst_element_get_compatible_
>> pad_template: compatible direction: found src pad template "wavparse_src"
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:913:gst_element_get_compatible_
>> pad_template: intersecting 0x4980a0
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:915:gst_element_get_compatible_
>> pad_template: ..and 0x451880
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_CAPS
>> gstutils.c:921:gst_element_get_compatible_
>> pad_template: caps are not compatible
>> 0:32:21.060000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:935:gst_element_get_compatible_
>> pad_template: No compatible pad template found
>> 0:32:21.060000000  1142   0x4234f0 INFO        GST_ELEMENT_PADS
>> gstutils.c:1216:gst_element_get_compatible
>> _pad:<wavparse0> Could not find a compatible pad to link to audioconvert0:sink
>> 0:32:21.060000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1884:gst_element_link_pads_full
>> : we might have request pads on both sides, checking...
>> 0:32:21.060000000  1142   0x4234f0 DEBUG       GST_ELEMENT_PADS
>> gstutils.c:1927:gst_element_link_pads_full
>> : no link possible from wavparse0 to audioconvert0
>> 0:32:21.060000000  1142   0x4234f0 INFO                 default
>> gstutils.c:2037:gst_element_link_pads_filt
>> ered: Could not link pads: wavparse0:(null) - audioconvert0:(null)
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:1814:gst_wavparse_add_src_pa
>> d:<wavparse0> Send start segment event on newpad
>> 0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:5214:gst_pad_push_event:<wavparse
>> 0:src> event: newsegment
>> 0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:5255:gst_pad_push_event:<wavparse
>> 0:src> event had no source, setting pad as event source
>> 0:32:21.060000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:5295:gst_pad_push_event:<wavparse
>> 0:src> Dropping event because pad is not linked
>> 0:32:21.060000000  1142   0x4234f0 LOG                GST_EVENT
>> gstevent.c:225:gst_event_finalize: freeing
>>  event 0x41b128 type newsegment
>> 0:32:21.060000000  1142   0x4234f0 DEBUG              GST_EVENT
>> gstevent.c:269:gst_event_new: creating new
>>  event 0x41b160 tag 118
>> 0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:5214:gst_pad_push_event:<wavparse
>> 0:src> event: tag
>> 0:32:21.060000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:5255:gst_pad_push_event:<wavparse
>> 0:src> event had no source, setting pad as event source
>> 0:32:21.070000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:5295:gst_pad_push_event:<wavparse
>> 0:src> Dropping event because pad is not linked
>> 0:32:21.070000000  1142   0x4234f0 LOG                GST_EVENT
>> gstevent.c:225:gst_event_finalize: freeing
>>  event 0x41b160 type tag
>> 0:32:21.070000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:185:gst_message_init: new mes
>> sage 0x489050
>> 0:32:21.070000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:274:gst_message_new_custom: s
>> ource wavparse0: creating new message 0x489050 tag
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus0> [msg 0x48
>> 9050] posting on bus, type tag, 0x47b080 from source 0x46c0c0
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3164:gst_bin_handle_message_func:
>> <pipeline0> [msg 0x489050] handling child wavparse0 message of type tag
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3441:gst_bin_handle_message_func:
>> <pipeline0> posting message upward
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus1> [msg 0x48
>> 9050] posting on bus, type tag, 0x47b080 from source 0x46c0c0
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:338:gst_bus_post:<bus1> [msg 0x48
>> 9050] pushing on async queue
>> 0:32:22.170000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:343:gst_bus_post:<bus1> [msg 0x48
>> 9050] pushed on async queue
>> 0:32:22.170000000  1137   0x420a00 LOG                  GST_BUS
>> gstbus.c:495:gst_bus_timed_pop_filtered:<b
>> us1> have 1 messages
>> 0:32:22.170000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:500:gst_bus_timed_pop_filtered:<b
>> us1> got message 0x489050, tag from wavparse0, type mask is 4294967295
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:762:gst_bus_source_dispatch:<bus1
>>> source 0x463ea0 calling dispatch with 0x489050
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:969:poll_func: mainloop 0x47cff0
>> quit
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:767:gst_bus_source_dispatch:<bus1
>>> source 0x463ea0 handler returns 1
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1079:gst_bus_poll: mainloop stopp
>> ed 0x47cff0
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1324:gst_bus_remove_signal_watch:
>> <bus1> removing signal watch 12
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:788:gst_bus_source_finalize:<bus1
>>> finalize source 0x463ea0
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:259:gst_bus_set_main_context:<bus
>> 1> setting main context to (nil), GLib default context: 0x477f38
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1092:gst_bus_poll:<bus1> finished
>>  poll with message 0x489050
>> 0:32:22.180000000  1137   0x420a00 LOG              GST_MESSAGE
>> gstmessage.c:195:gst_message_finalize: fin
>> alize message 0x489050, tag from wavparse0
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:867:gst_bus_add_watch_full_unlock
>> ed:<bus1> New source 0x47c5f8 with id 13
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1077:gst_bus_poll: running mainlo
>> op 0x47c3b0
>> 0:32:22.180000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:259:gst_bus_set_main_context:<bus
>> 1> setting main context to 0x477f38, GLib default context: 0x477f38
>> 0:32:22.180000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:334:gst_bus_post:<bus0> [msg 0x48
>> 9050] dropped
>> 0:32:23.290000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:1981:gst_wavparse_stream_dat
>> a:<wavparse0> marking DISCONT
>> 0:32:23.290000000  1142   0x4234f0 LOG                 wavparse
>> gstwavparse.c:1995:gst_wavparse_stream_dat
>> a:<wavparse0> Got buffer. timestamp:0:00:00.000000000 ,
>> duration:0:00:00.040000000, size:7680
>> 0:32:23.290000000  1142   0x4234f0 LOG                 GST_PADS
>> gstpad.c:4728:gst_pad_push:<wavparse0:src>
>>  Taking slow path
>> 0:32:23.290000000  1142   0x4234f0 LOG               GST_BUFFER
>> gstbuffer.c:203:gst_buffer_finalize: final
>> ize 0x489a20
>> 0:32:23.290000000  1142   0x4234f0 LOG           GST_SCHEDULING
>> gstpad.c:4563:gst_pad_push_data:<wavparse0
>> :src> pushing, but it was not linked
>> 0:32:23.290000000  1142   0x4234f0 INFO                wavparse
>> gstwavparse.c:2039:gst_wavparse_stream_dat
>> a:<wavparse0> Error pushing on srcpad wavparse0:src, reason
>> not-linked, is linked? = 0
>>
>> ** (gst-launch-0.10:1142): WARNING **: gstwavparse.c, gst_wavparse_loop,2074
>> 0:32:23.290000000  1142   0x4234f0 DEBUG               wavparse
>> gstwavparse.c:2088:gst_wavparse_loop:<wavp
>> arse0> pausing task, reason not-linked
>> 0:32:23.290000000  1142   0x4234f0 DEBUG               GST_PADS
>> gstpad.c:5646:gst_pad_pause_task:<wavparse
>> 0:sink> pause task
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                   task
>> gsttask.c:698:gst_task_set_state:<wavparse
>> 0:sink> Changing task 0x486800 to state 2
>> 0:32:23.290000000  1142   0x4234f0 WARN                wavparse
>> gstwavparse.c:2122:gst_wavparse_loop:<wavp
>> arse0> error: Internal data flow error.
>> 0:32:23.290000000  1142   0x4234f0 WARN                wavparse
>> gstwavparse.c:2122:gst_wavparse_loop:<wavp
>> arse0> error: streaming task paused, reason not-linked (-1)
>> 0:32:23.290000000  1142   0x4234f0 DEBUG            GST_MESSAGE
>> gstelement.c:1933:gst_element_message_full
>> :<wavparse0> start
>> 0:32:23.290000000  1142   0x4234f0 INFO        GST_ERROR_SYSTEM
>> gstelement.c:1964:gst_element_message_full
>> :<wavparse0> posting message: Internal data flow error.
>> 0:32:23.290000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:185:gst_message_init: new mes
>> sage 0x489098
>> 0:32:23.290000000  1142   0x4234f0 LOG              GST_MESSAGE
>> gstmessage.c:274:gst_message_new_custom: s
>> ource wavparse0: creating new message 0x489098 error
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus0> [msg 0x48
>> 9098] posting on bus, type error, 0x4992b0 from source 0x46c0c0
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3164:gst_bin_handle_message_func:
>> <pipeline0> [msg 0x489098] handling child wavparse0 message of type error
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3171:gst_bin_handle_message_func:
>> <pipeline0> got ERROR message, unlocking state change
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                    bin
>> gstbin.c:3441:gst_bin_handle_message_func:
>> <pipeline0> posting message upward
>> 0:32:23.290000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:308:gst_bus_post:<bus1> [msg 0x48
>> 9098] posting on bus, type error, 0x4992b0 from source 0x46c0c0
>> 0:32:24.400000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:338:gst_bus_post:<bus1> [msg 0x48
>> 9098] pushing on async queue
>> 0:32:24.400000000  1142   0x4234f0 DEBUG                GST_BUS
>> gstbus.c:343:gst_bus_post:<bus1> [msg 0x48
>> 9098] pushed on async queue
>> 0:32:24.400000000  1137   0x420a00 LOG                  GST_BUS
>> gstbus.c:495:gst_bus_timed_pop_filtered:<b
>> us1> have 1 messages
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:500:gst_bus_timed_pop_filtered:<b
>> us1> got message 0x489098, error from wavparse0, type mask is 4294967295
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:762:gst_bus_source_dispatch:<bus1
>>> source 0x47c5f8 calling dispatch with 0x489098
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:969:poll_func: mainloop 0x47c3b0
>> quit
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:767:gst_bus_source_dispatch:<bus1
>>> source 0x47c5f8 handler returns 1
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1079:gst_bus_poll: mainloop stopp
>> ed 0x47c3b0
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1324:gst_bus_remove_signal_watch:
>> <bus1> removing signal watch 13
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:788:gst_bus_source_finalize:<bus1
>>> finalize source 0x47c5f8
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:259:gst_bus_set_main_context:<bus
>> 1> setting main context to (nil), GLib default context: 0x477f38
>> 0:32:24.400000000  1137   0x420a00 DEBUG                GST_BUS
>> gstbus.c:1092:gst_bus_poll:<bus1> finished
>>  poll with message 0x489098
>> ERROR: from element /GstPipeline:pipeline0/GstWavParse:wavparse0:
>> Internal data flow error.
>> Additional debug info:
>> gstwavparse.c(2122): gst_wavparse_loop ():
>> /GstPipeline:pipeline0/GstWavParse:wavparse0:
>> streaming task paused, reason not-linked (-1)
>> 0:32:24.400000000  1137   0x420a00 LOG              GST_MESSAGE
>> gstmessage.c:195:gst_message_finalize: fin
>> alize message 0x489098, error from wavparse0
>> ERROR: pipeline doesn't want to preroll.
>> Setting pipeline to NULL ...
>> 0:32:24.400000000  1137   0x420a00 DEBUG             GST_STATES
>> gstelement.c:2638:gst_element_set_state_fu
>> nc:<pipeline0> set_state to NULL
>> 0:32:24.400000000  1137   0x420a00 DEBUG
>> _______________________________________________
>> gstreamer-embedded mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
>>
>
> _______________________________________________
> gstreamer-embedded mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RTCP related query

zelalem
Hi all, I am planning to develop a pipeline for streaming session switch. It is for SIP devices and I have a proxy that handles streaming requests (an intermediary b/n the client and the server). So, the idea is when a user wants to switch to a different channel, I want to create another connection but keep the first connection (paused), then after a while if the user want to go back to the paused session, I'll kill the new connection and resume. So, on the client side I'll have always one connection, but the proxy will establish different connections and feed the client on the same connection. The problem I'm assuming is that I am worried how the rtcp handlers behave on both side (client and server). When a new session is established, the proxy will send a new set of rtcp parameters to the client b/c it gets new rtcp values (of course, SIP also has refer method and the client will expect a new set of reports). So there may not be any problem. The problem will be when I get back to the paused session. Because, the server may have some statistics accumulated before the session is paused and will continue to add to those figures. So, my question is is there anyway that I can reset the rtcp parameters for the paused session so that I can use my setting. Or any other better way of solving this problem? The reason why I wanted this setup is to avoid the connection overhead from the client side and i can add new logics always.

Thank you.

- Zelalem S.
Grahamstown, SA


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