gstreamer caps negotiation fail when using USB sound card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux