Simple example pipeline using Opusenc fails from gst-launch?

Steve Chapman steve.g.chapman at gmail.com
Tue Oct 3 10:31:29 UTC 2017


I am planning to add Opus encoding and decoding to/from  Matroska container
as a new fuction in an existing GStreamer based solution I have.

Before dealing updating my C++ solution I want to validate the new
pipelines from the commandline with gst-launch.

Unfortunately when I use the example pipeline from the doc:

https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-opusenc.html


i.e. gst-launch-1.0 -v audiotestsrc wave=sine num-buffers=100 !
audioconvert ! opusenc ! oggmux ! filesink location=sine.ogg

It fails with an exception:
Unhandled exception at 0x6252D01B (libopus-0.dll) in gst-launch-1.0.exe:
0xC0000005: Access violation reading location 0xFFFFFFFF

I am testing this on Windows10 with GStreamer 1.12.0.

I have also tried a variation on the pipeline that calls out most of the
opusenc parameters but that also fails with the same exception, i.e.

gst-launch-1.0 audiotestsrc  num-buffers=100 !
"audio/x-raw,channels=1,rate=48000" ! opusenc audio-type=2048
bandwidth=1103 bitrate=20000 bitrate-type=1 inband-fec=FALSE
packet-loss-percentage=0 dtx=FALSE ! fakesink

GST_DEBUG=4 log of console activity for both pipelines is attached along
with a log of  "gst-inspect-1.0 opusenc" output.

Any insights would be appreciated, I'm not sure what I could be doing wrong
since this seems pretty basic.

Thanks
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171003/80b0c877/attachment-0001.html>
-------------- next part --------------
gst-launch-1.0 : 0:00:00.000070204 34928   02834000 INFO                GST_INIT gst.c:507:init_pre: 
Initializing GStreamer Core Library version 1.12.0
At line:1 char:1
+ gst-launch-1.0 audiotestsrc  num-buffers=100 ! "audio/x-raw,channels= ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (0:00:00.0000702... version 1.12.0:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
0:00:00.000129323 34928   02834000 INFO                GST_INIT gst.c:508:init_pre: Using library installed 
in C:\gstreamer\1.0\x86\lib

0:00:00.000406443 
34928   02834000 
INFO    
            GST_INIT gstmessage.c:127:_priv_gst_message_initialize:
 init messages

0:00:00.001026781 
34928
   02834000 
INFO    
            GST_INIT gstcontext.c:84:_priv_gst_context_initialize:
 init contexts

0:00:00.008271307 
34928   02834000 INFO      GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize:
 registering 0 static plugins

0:00:00.008417051 
34928   02834000 INFO      GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static:
 registered static plugin "staticelements"

0:00:00.008451127 
34928
   02834000 
INFO    
  GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static:
 added static plugin "staticelements", result: 1

0:00:00.022509515 
34928   02834000 INFO            GST_REGISTRY gstregistry.c:1721:ensure_current_registry: reading registry 
cache: C:\Users\chapmasg\AppData\Local\Microsoft\Windows\INetCache\gstreamer-1.0\registry.i686.bin

0:00:00.037205484 
34928   02834000 INFO            GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: 
loaded C:\Users\chapmasg\AppData\Local\Microsoft\Windows\INetCache\gstreamer-1.0\registry.i686.bin in 
0.019000 seconds

0:00:00.037482193 
34928   02834000 INFO            GST_REGISTRY gstregistry.c:1577:scan_and_update_registry:
 Validating plugins from registry cache: 
C:\Users\chapmasg\AppData\Local\Microsoft\Windows\INetCache\gstreamer-1.0\registry.i686.bin

0:00:00.075081392 
34928   02834000 INFO            GST_REGISTRY gstregistry.c:1679:scan_and_update_registry: Registry cache 
has not changed
0:00:00.075118751 34928   02834000 INFO    
        GST_REGISTRY gstregistry.c:1756:ensure_current_registry: registry reading and updating done, result 
= 1
0:00:00.075144205 34928   02834000 INFO    
            GST_INIT gst.c:727:init_post:
 GLib runtime version: 2.50.3
0:00:00.075166375 34928
   02834000 INFO    
            GST_INIT gst.c:729:init_post:
 GLib headers version: 2.50.3

0:00:00.075186902 
34928
   02834000 
INFO    
            GST_INIT gst.c:730:init_post:
 initialized GStreamer successfully

0:00:00.075252179 
34928   02834000 INFO            GST_PIPELINE gstparse.c:326:gst_parse_launch_full:
 parsing pipeline description 'audiotestsrc num-buffers=100 ! audio/x-raw,channels=1,rate=48000 ! opusenc 
audio-type=2048 bandwidth=1103 bitrate=20000 bitrate-type=1 inband-fec=FALSE packet-loss-percentage=0 
dtx=FALSE ! fakesink '

0:00:00.083570288 
34928   02834000 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry:
 plugin "C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstaudiotestsrc.dll" loaded
0:00:00.083615859 34928
   02834000 INFO    
 GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "audiotestsrc"

0:00:00.083799374 
34928   02834000 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSrc at 035286C0>
 adding pad 'src'

0:00:00.091306651 
34928   02834000 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry: 
plugin "C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstopus.dll" loaded
0:00:00.091352632 34928   02834000 
INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "opusenc"

0:00:00.091590750 
34928   02834000 INFO    
    GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstAudioEncoder at 0290F7C0>
 adding pad 'sink'

0:00:00.091649869 
34928   02834000 INFO    
    GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstAudioEncoder at 0290F7C0>
 adding pad 'src'

0:00:00.096556736 
34928   02834000 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry: 
plugin "C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstcoreelements.dll" loaded

0:00:00.096608465 34928
   02834000 INFO    
 GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "fakesink"

0:00:00.096763652 
34928   02834000 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSink at 028DC060>
 adding pad 'sink'

0:00:00.096805528 
34928   02834000 INFO    
 GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "pipeline"

0:00:00.096891743 
34928   02834000 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link:
 linking some pad of GstAudioTestSrc named audiotestsrc0 to some pad of GstOpusEnc named opusenc0 (0/0) with 
caps "audio/x-raw, channels=(int)1, rate=(int)48000"

0:00:00.096941009 34928   02834000 
INFO    
 GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "capsfilter"

0:00:00.097178305 
34928   02834000 INFO        GST_ELEMENT_PADS 
gstelement.c:670:gst_element_add_pad:<GstBaseTransform at 028CF288>
 adding pad 'sink'

0:00:00.097215255 
34928   02834000 INFO        GST_ELEMENT_PADS 
gstelement.c:670:gst_element_add_pad:<GstBaseTransform at 028CF288>
 adding pad 'src'

0:00:00.097243172 
34928   02834000 INFO              GST_STATES gstbin.c:2080:gst_bin_get_state_func:<pipeline0>
 getting state

0:00:00.097273553 
34928   02834000 INFO    
          GST_STATES gstelement.c:2467:gst_element_continue_state:<capsfilter0>
 completed state change to NULL

0:00:00.097301059 
34928   02834000 
INFO    
           GST_EVENT gstevent.c:1512:gst_event_new_reconfigure:
 creating reconfigure event

0:00:00.097331029 
34928   02834000 INFO        GST_ELEMENT_PADS gstutils.c:1709:gst_element_link_pads_full:
 trying to link element audiotestsrc0:(any) to element capsfilter0:sink

0:00:00.097354020 34928
   02834000 INFO    
    GST_ELEMENT_PADS gstelement.c:918:gst_element_get_static_pad:
 found pad capsfilter0:sink

0:00:00.097381116 34928
   02834000 
INFO                GST_PADS gstutils.c:1523:prepare_link_maybe_ghosting:
 audiotestsrc0 and capsfilter0 in same bin, no need for ghost pads

0:00:00.097431203 
34928   02834000 
INFO                GST_PADS gstpad.c:2316:gst_pad_link_prepare:
 trying to link audiotestsrc0:src and capsfilter0:sink

0:00:00.097467331 
34928   02834000 INFO                GST_PADS gstpad.c:4115:gst_pad_peer_query:<capsfilter0:src>
 pad has no peer

0:00:00.097499764 
34928   02834000 INFO                GST_PADS gstpad.c:2524:gst_pad_link_full:
 linked audiotestsrc0:src and capsfilter0:sink, successful

0:00:00.097521113 34928
   02834000 INFO    
           GST_EVENT gstevent.c:1512:gst_event_new_reconfigure:
 creating reconfigure event

0:00:00.097544514 34928
   02834000 INFO    
           GST_EVENT gstpad.c:5655:gst_pad_send_event_unchecked:<audiotestsrc0:src>
 Received event on flushing pad. Discarding

0:00:00.097568736 
34928   02834000 
INFO        GST_ELEMENT_PADS gstutils.c:1709:gst_element_link_pads_full:
 trying to link element capsfilter0:src to element opusenc0:(any)

0:00:00.097595012 34928
   02834000 INFO    
    GST_ELEMENT_PADS gstelement.c:918:gst_element_get_static_pad:
 found pad capsfilter0:src

0:00:00.097615128 
34928   02834000 
INFO                GST_PADS gstutils.c:1009:gst_pad_check_link:
 trying to link capsfilter0:src and opusenc0:sink

0:00:00.097696827 
34928   02834000 INFO                GST_PADS gstpad.c:4115:gst_pad_peer_query:<opusenc0:src>
 pad has no peer

0:00:00.097830666 
34928   02834000 INFO                GST_PADS gstutils.c:1523:prepare_link_maybe_ghosting:
 capsfilter0 and opusenc0 in same bin, no need for ghost pads

0:00:00.097856530 34928
   02834000 INFO    
            GST_PADS gstpad.c:2316:gst_pad_link_prepare:
 trying to link capsfilter0:src and opusenc0:sink

0:00:00.097893890 
34928   02834000 INFO                GST_PADS gstpad.c:4115:gst_pad_peer_query:<opusenc0:src>
 pad has no peer

0:00:00.098026497 
34928   02834000 INFO                GST_PADS gstpad.c:2524:gst_pad_link_full:
 linked capsfilter0:src and opusenc0:sink, successful
0:00:00.098052772 
34928
   02834000 
INFO               GST_EVENT gstevent.c:1512:gst_event_new_reconfigure:
 creating reconfigure event

0:00:00.098086848 34928
   02834000 INFO    
           GST_EVENT gstpad.c:5655:gst_pad_send_event_unchecked:<capsfilter0:src>
 Received event on flushing pad. Discarding

0:00:00.098110660 
34928
   02834000 
INFO    
        GST_PIPELINE grammar.y:652:gst_parse_perform_link:
 linking some pad of GstOpusEnc named opusenc0 to some pad of GstFakeSink named fakesink0 (0/0) with caps 
"(NULL)"

0:00:00.098141861 34928   02834000 INFO        GST_ELEMENT_PADS gstutils.c:1709:gst_element_link_pads_full:
 trying to link element opusenc0:(any) to element fakesink0:(any)

0:00:00.098163620 
34928   02834000 
INFO    
            GST_PADS gstutils.c:1009:gst_pad_check_link:
 trying to link opusenc0:src and fakesink0:sink

0:00:00.098203854 
34928   02834000 INFO                GST_PADS gstutils.c:1523:prepare_link_maybe_ghosting:
 opusenc0 and fakesink0 in same bin, no need for ghost pads

0:00:00.098227666 34928
   02834000 INFO    
            GST_PADS gstpad.c:2316:gst_pad_link_prepare:
 trying to link opusenc0:src and fakesink0:sink

0:00:00.098253120 
34928   02834000 
INFO                GST_PADS gstpad.c:2524:gst_pad_link_full:
 linked opusenc0:src and fakesink0:sink, successful

0:00:00.098272826 34928
   02834000 INFO    
           GST_EVENT gstevent.c:1512:gst_event_new_reconfigure:
 creating reconfigure event
0:00:00.098292122 
34928   02834000 
INFO               GST_EVENT gstpad.c:5655:gst_pad_send_event_unchecked:<opusenc0:src>
 Received event on flushing pad. Discarding

Setting pipeline to PAUSED ...
0:00:00.098389011 
34928   02834000 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<fakesink0> current 
NULL pending VOID_PENDING, desired next READY
0:00:00.098420623 34928   02834000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<fakesink0> completed state change to READY
0:00:00.098439508 34928   02834000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<fakesink0> notifying about state-changed NULL to READY 
(VOID_PENDING pending)
0:00:00.098467015 34928   02834000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'fakesink0' changed state to 2(READY) successfully
0:00:00.098489185 34928   02834000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<opusenc0> current NULL pending VOID_PENDING, desired next READY
0:00:00.098509712 34928   02834000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<opusenc0> completed state change to READY
0:00:00.098528187 34928   02834000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<opusenc0> notifying about state-changed NULL to READY 
(VOID_PENDING pending)
0:00:00.098549535 34928   02834000 
INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'opusenc0' changed 
state to 2(READY) successfully
0:00:00.098605780 34928   02834000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<capsfilter0> current NULL pending VOID_PENDING, desired next READY
0:00:00.098626308 34928   02834000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<capsfilter0> completed state change to READY
0:00:00.098644372 34928   02834000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed NULL to READY 
(VOID_PENDING pending)
0:00:00.098665720 34928   02834000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 2(READY) 
successfully
0:00:00.098685837 34928   02834000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<audiotestsrc0> current NULL pending VOID_PENDING, desired next READY
0:00:00.098705543 34928   02834000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<audiotestsrc0> completed state change to READY
0:00:00.098723607 34928   02834000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<audiotestsrc0> notifying about state-changed NULL to 
READY (VOID_PENDING pending)
0:00:00.098744545 34928   02834000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'audiotestsrc0' changed state to 2(READY) 
successfully
0:00:00.098766304 34928   02834000 INFO              GST_STATES 
gstelement.c:2442:gst_element_continue_state:<pipeline0>
 committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:00.098832403 34928   02834000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY 
(PAUSED pending)
0:00:00.098951051 34928   02834000 INFO              GST_STATES 
gstelement.c:2449:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:00.098982253 34928   02834000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<fakesink0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.099008938 
34928   02834000 INFO              GST_STATES gstbin.c:2945:gst_bin_change_state_func:<pipeline0> child 
'fakesink0' is changing state asynchronously to PAUSED
0:00:00.099049172 34928   02834000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<opusenc0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.099073805 34928   02834000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<opusenc0> completed state change to PAUSED
0:00:00.099092690 34928   02834000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<opusenc0> notifying about state-changed READY to PAUSED 
(VOID_PENDING pending)
0:00:00.099116502 34928   02834000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'opusenc0' changed state to 3(PAUSED) successfully
0:00:00.099136618 34928   02834000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<capsfilter0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.099158788 34928   02834000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<capsfilter0> completed state change to PAUSED
0:00:00.099176852 34928   02834000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed READY to 
PAUSED (VOID_PENDING pending)
0:00:00.099197790 34928   02834000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 3(PAUSED) 
successfully
0:00:00.099217907 34928   02834000 
INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<audiotestsrc0> current READY pending 
VOID_PENDING, desired next PAUSED
0:00:00.099281131 34928   02834000 INFO                 basesrc 
gstbasesrc.c:1331:gst_base_src_do_seek:<audiotestsrc0> seeking: time segment start=0:00:00.000000000, 
offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, 
time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:00.099351335 34928   02834000 INFO                    task gsttask.c:457:gst_task_set_lock: setting 
stream lock 0351907C on task 0351D030
0:00:00.099373094 34928   02834000 INFO                GST_PADS 
gstpad.c:6001:gst_pad_start_task:<audiotestsrc0:src> created task 0351D030

0:00:00.099525407 34928   02834000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<audiotestsrc0> completed state change to PAUSED
0:00:00.099558251 34928   02834000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<audiotestsrc0> notifying about state-changed READY to 
PAUSED (VOID_PENDING pending)
0:00:00.099619012 34928   02834000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'audiotestsrc0' changed state to 3(PAUSED) 
successfully

0:00:00.099742998 34928   034FFA00 INFO        GST_ELEMENT_PADS gstelement.c:915:gst_element_get_static_pad: 
no such pad 'sink' in element "audiotestsrc0"
0:00:00.099797190 34928   034FFA00 FIXME                default 
gstutils.c:3902:gst_pad_create_stream_id_internal:<audiotestsrc0:src> Creating random stream-id, consider 
implementing a deterministic way of creating a stream-id

Pipeline is PREROLLING ...
0:00:00.100008211 34928   034FFA00 INFO               structure 
gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in structure: audio/x-raw, 
format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)1;
0:00:00.100052551 34928   034FFA00 INFO               GST_EVENT gstevent.c:809:gst_event_new_caps: creating 
caps event audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)1
0:00:00.100097711 34928   034FFA00 INFO           basetransform 
gstbasetransform.c:1299:gst_base_transform_setcaps:<capsfilter0> reuse caps
0:00:00.100117417 34928   034FFA00 INFO               GST_EVENT gstevent.c:809:gst_event_new_caps: creating 
caps event audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)1

Redistribute latency...
0:00:00.100238529 34928   034FFA00 INFO               GST_EVENT gstevent.c:890:gst_event_new_segment: 
creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, 
stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, 
base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:00.100306269 34928   034FFA00 INFO            audioencoder 
gstaudioencoder.c:1635:gst_audio_encoder_sink_event_default:<opusenc0> upstream stream tags: taglist, 
description=(string)"audiotest\ wave";
0:00:00.100334186 34928   034FFA00 INFO                 basesrc 
gstbasesrc.c:2836:gst_base_src_loop:<audiotestsrc0> marking pending DISCONT
0:00:00.100359640 34928   034FFA00 INFO               structure 
gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in structure: audio/x-raw, 
format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)1;
0:00:00.100387968 34928   034FFA00 INFO                 opusenc 
gstopusenc.c:521:gst_opus_enc_setup_channel_mappings:<opusenc0> Mono, trivial RTP mapping
0:00:00.100406853 34928   034FFA00 INFO                 opusenc 
gstopusenc.c:703:gst_opus_enc_setup:<opusenc0> Mapping tables built: 1 channels, 0 stereo streams
0:00:00.100429844 34928   034FFA00 INFO                 opusenc 
gstopuscommon.c:109:gst_opus_common_log_channel_mapping_table:<opusenc0> Encoding mapping table: [ 0 ]
0:00:00.100450371 34928   034FFA00 INFO                 opusenc 
gstopuscommon.c:109:gst_opus_common_log_channel_mapping_table:<opusenc0> Decoding mapping table: [ 0 ]
0:00:00.100547671 34928   034FFA00 INFO               GST_EVENT gstevent.c:809:gst_event_new_caps: creating 
caps event audio/x-opus, rate=(int)48000, channels=(int)1, channel-mapping-family=(int)0, 
stream-count=(int)1, coupled-count=(int)0, streamheader=(buffer)< 4f707573486561640101380180bb0000000000, 4f7
07573546167731e000000456e636f6465642077697468204753747265616d6572206f707573656e63010000001a000000444553435249
5054494f4e3d617564696f74657374207761766501 >
0:00:00.100662214 34928   02834000 INFO               GST_EVENT gstevent.c:1383:gst_event_new_latency: 
creating latency event 0:00:00.000000000
0:00:00.100710659 34928   02834000 INFO                     bin 
gstbin.c:2768:gst_bin_do_latency_func:<pipeline0>
 configured latency of 0:00:00.000000000

-------------- next part --------------
gst-launch-1.0 : 0:00:00.000058708 49640   02824000 INFO                GST_INIT gst.c:507:init_pre: 
Initializing GStreamer Core Library version 1.12.0
At line:1 char:1
+ gst-launch-1.0 -v audiotestsrc wave=sine num-buffers=100 ! audioconve ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (0:00:00.0000587... version 1.12.0:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
0:00:00.000126038 49640   02824000 INFO                GST_INIT gst.c:508:init_pre: Using library installed 
in C:\gstreamer\1.0\x86\lib

0:00:00.000347323 
49640   02824000 INFO                GST_INIT gstmessage.c:127:_priv_gst_message_initialize:
 init messages

0:00:00.000785788 
49640   02824000 INFO    
            GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts

0:00:00.005977576 
49640   02824000 INFO      GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 
static plugins

0:00:00.006111004 
49640   02824000 INFO      GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static:
 registered static plugin "staticelements"

0:00:00.006144669 
49640
   02824000 INFO    
  GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static:
 added static plugin "staticelements", result: 1

0:00:00.020153380 
49640   02824000 INFO            GST_REGISTRY gstregistry.c:1721:ensure_current_registry: reading registry 
cache: C:\Users\chapmasg\AppData\Local\Microsoft\Windows\INetCache\gstreamer-1.0\registry.i686.bin

0:00:00.032752682 
49640   02824000 INFO            GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: 
loaded C:\Users\chapmasg\AppData\Local\Microsoft\Windows\INetCache\gstreamer-1.0\registry.i686.bin in 
0.015000 seconds

0:00:00.032930859 
49640   02824000 INFO            GST_REGISTRY gstregistry.c:1577:scan_and_update_registry:
 Validating plugins from registry cache: 
C:\Users\chapmasg\AppData\Local\Microsoft\Windows\INetCache\gstreamer-1.0\registry.i686.bin

0:00:00.071549038 
49640   02824000 INFO            GST_REGISTRY gstregistry.c:1679:scan_and_update_registry: Registry cache 
has not changed
0:00:00.071606104 49640
   02824000 INFO            GST_REGISTRY gstregistry.c:1756:ensure_current_registry:
 registry reading and updating done, result = 1

0:00:00.071641822 49640
   02824000 
INFO    
            GST_INIT gst.c:727:init_post:
 GLib runtime version: 2.50.3

0:00:00.071671381 49640
   02824000 
INFO                GST_INIT gst.c:729:init_post:
 GLib headers version: 2.50.3

0:00:00.071699709 49640   02824000 
INFO    
            GST_INIT gst.c:730:init_post:
 initialized GStreamer successfully

0:00:00.071794545 
49640   02824000 
INFO    
        GST_PIPELINE gstparse.c:326:gst_parse_launch_full:
 parsing pipeline description 'audiotestsrc wave=sine num-buffers=100 ! audioconvert ! opusenc ! oggmux ! 
filesink location=sine.ogg '

0:00:00.082993057 
49640   02824000 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry: 
plugin "C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstaudiotestsrc.dll" loaded
0:00:00.083045608 
49640   02824000 
INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "audiotestsrc"

0:00:00.083256219 
49640   02824000 INFO    
    GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSrc at 03556BA0>
 adding pad 'src'

0:00:00.084377425 
49640   02824000 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry:
 plugin "C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstaudioconvert.dll" loaded

0:00:00.084424227 49640   02824000 
INFO    
 GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "audioconvert"

0:00:00.084579414 
49640   02824000 INFO    
    GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseTransform at 028C99D0>
 adding pad 'sink'

0:00:00.084626217 
49640   02824000 INFO    
    GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseTransform at 028C99D0>
 adding pad 'src'

0:00:00.092209445 
49640   02824000 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry: 
plugin "C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstopus.dll" loaded
0:00:00.092268974 
49640   02824000 INFO    
 GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "opusenc"

0:00:00.092443457 
49640   02824000 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstAudioEncoder at 0355E1C8>
 adding pad 'sink'

0:00:00.092490260 
49640   02824000 
INFO    
    GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstAudioEncoder at 0355E1C8>
 adding pad 'src'

0:00:00.095753293 
49640   02824000 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry:
 plugin "C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstogg.dll" loaded
0:00:00.095795169 
49640   02824000 
INFO     GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "oggmux"

0:00:00.095961031 
49640   02824000 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstOggMux at 0354A058>
 adding pad 'src'

0:00:00.099352976 
49640   02824000 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry: 
plugin "C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstcoreelements.dll" loaded

0:00:00.099403063 49640   02824000 
INFO    
 GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "filesink"

0:00:00.099531975 
49640   02824000 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSink at 03564410>
 adding pad 'sink'

0:00:00.099586578 
49640   02824000 INFO                filesink gstfilesink.c:301:gst_file_sink_set_location:<filesink0>
 filename : sine.ogg
0:00:00.099607516 
49640   02824000 
INFO                filesink gstfilesink.c:302:gst_file_sink_set_location:<filesink0>
 uri      : file:///C:/git/audioutility/sine.ogg

0:00:00.099633381 
49640   02824000 
INFO    
 GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create:
 creating element "pipeline"

0:00:00.099722059 
49640   02824000 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link:
 linking some pad of GstAudioTestSrc named audiotestsrc0 to some pad of GstAudioConvert named audioconvert0 
(0/0) with caps "(NULL)"

0:00:00.099759829 49640   02824000 
INFO        GST_ELEMENT_PADS gstutils.c:1709:gst_element_link_pads_full:
 trying to link element audiotestsrc0:(any) to element audioconvert0:(any)

0:00:00.099787747 
49640   02824000 
INFO    
            GST_PADS gstutils.c:1009:gst_pad_check_link:
 trying to link audiotestsrc0:src and audioconvert0:sink

0:00:00.099852613 
49640   02824000 INFO    
            GST_PADS gstpad.c:4115:gst_pad_peer_query:<audioconvert0:src>
 pad has no peer

0:00:00.099927333 
49640   02824000 
INFO    
           structure gststructure.c:2595:gst_structure_get_valist:
 Expected field 'channel-mask' in structure: audio/x-raw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 
2147483647 ], layout=(string)interleaved;

0:00:00.100046392 
49640   02824000 INFO                GST_PADS gstutils.c:1523:prepare_link_maybe_ghosting:
 audiotestsrc0 and audioconvert0 in same bin, no need for ghost pads

0:00:00.100091141 
49640   02824000 INFO                GST_PADS gstpad.c:2316:gst_pad_link_prepare:
 trying to link audiotestsrc0:src and audioconvert0:sink

0:00:00.100126449 
49640   02824000 
INFO    
            GST_PADS gstpad.c:4115:gst_pad_peer_query:<audioconvert0:src> pad has no peer

0:00:00.100156829 
49640   02824000 INFO               structure gststructure.c:2595:gst_structure_get_valist:
 Expected field 'channel-mask' in structure: audio/x-raw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 
2147483647 ], layout=(string)interleaved;

0:00:00.100215948 
49640   02824000 INFO                GST_PADS gstpad.c:2524:gst_pad_link_full:
 linked audiotestsrc0:src and audioconvert0:sink, successful

0:00:00.100238528 49640
   02824000 INFO    
           GST_EVENT gstevent.c:1512:gst_event_new_reconfigure:
 creating reconfigure event

0:00:00.100262340 
49640   02824000 
INFO               GST_EVENT gstpad.c:5655:gst_pad_send_event_unchecked:<audiotestsrc0:src>
 Received event on flushing pad. Discarding

0:00:00.100289025 
49640   02824000 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link:
 linking some pad of GstAudioConvert named audioconvert0 to some pad of GstOpusEnc named opusenc0 (0/0) with 
caps "(NULL)"

0:00:00.100318174 49640   02824000 INFO    
    GST_ELEMENT_PADS gstutils.c:1709:gst_element_link_pads_full:
 trying to link element audioconvert0:(any) to element opusenc0:(any)

0:00:00.100347734 
49640
   02824000 
INFO    
            GST_PADS gstutils.c:1009:gst_pad_check_link:
 trying to link audioconvert0:src and opusenc0:sink

0:00:00.100449139 
49640   02824000 INFO               structure gststructure.c:2595:gst_structure_get_valist:
 Expected field 'channel-mask' in structure: audio/x-raw, layout=(string)interleaved, rate=(int)[ 1, 
2147483647 ], channels=(int)[ 1, 2147483647 ];

0:00:00.100601042 
49640   02824000 INFO                GST_PADS gstpad.c:4115:gst_pad_peer_query:<opusenc0:src> pad has no peer

0:00:00.100747197 
49640   02824000 INFO                GST_PADS gstutils.c:1523:prepare_link_maybe_ghosting:
 audioconvert0 and opusenc0 in same bin, no need for ghost pads

0:00:00.100775525 49640
   02824000 INFO    
            GST_PADS gstpad.c:2316:gst_pad_link_prepare:
 trying to link audioconvert0:src and opusenc0:sink

0:00:00.100872824 
49640   02824000 INFO               structure gststructure.c:2595:gst_structure_get_valist:
 Expected field 'channel-mask' in structure: audio/x-raw, layout=(string)interleaved, rate=(int)[ 1, 
2147483647 ], channels=(int)[ 1, 2147483647 ];

0:00:00.100980799 
49640   02824000 INFO                GST_PADS gstpad.c:4115:gst_pad_peer_query:<opusenc0:src>
 pad has no peer

0:00:00.101110532 
49640   02824000 INFO                GST_PADS gstpad.c:2524:gst_pad_link_full:
 linked audioconvert0:src and opusenc0:sink, successful

0:00:00.101149534 
49640
   02824000 INFO    
           GST_EVENT gstevent.c:1512:gst_event_new_reconfigure:
 creating reconfigure event

0:00:00.101179504 
49640   02824000 
INFO    
           GST_EVENT gstpad.c:5655:gst_pad_send_event_unchecked:<audioconvert0:src> Received event on 
flushing pad. Discarding

0:00:00.101207421 
49640   02824000 INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link:
 linking some pad of GstOpusEnc named opusenc0 to some pad of GstOggMux named oggmux0 (0/0) with caps 
"(NULL)"

0:00:00.101235749 49640   02824000 INFO        GST_ELEMENT_PADS gstutils.c:1709:gst_element_link_pads_full:
 trying to link element opusenc0:(any) to element oggmux0:(any)

0:00:00.101335101 
49640   02824000 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<oggmux0>
 adding pad 'audio_2130242422'

0:00:00.101362197 
49640   02824000 
INFO                GST_PADS gstutils.c:1523:prepare_link_maybe_ghosting:
 opusenc0 and oggmux0 in same bin, no need for ghost pads

0:00:00.101385188 
49640   02824000 
INFO    
            GST_PADS gstpad.c:2316:gst_pad_link_prepare:
 trying to link opusenc0:src and oggmux0:audio_2130242422

0:00:00.101421727 
49640   02824000 INFO                GST_PADS gstpad.c:2524:gst_pad_link_full:
 linked opusenc0:src and oggmux0:audio_2130242422, successful
0:00:00.101446770 
49640   02824000 
INFO               GST_EVENT gstevent.c:1512:gst_event_new_reconfigure:
 creating reconfigure event

0:00:00.101466887 49640
   02824000 
INFO               GST_EVENT gstpad.c:5655:gst_pad_send_event_unchecked:<opusenc0:src> Received event on 
flushing pad. Discarding

0:00:00.101517384 
49640   02824000 
INFO            GST_PIPELINE grammar.y:652:gst_parse_perform_link:
 linking some pad of GstOggMux named oggmux0 to some pad of GstFileSink named filesink0 (0/0) with caps 
"(NULL)"

0:00:00.101545302 49640   02824000 INFO    
    GST_ELEMENT_PADS gstutils.c:1709:gst_element_link_pads_full: trying to link element oggmux0:(any) to 
element filesink0:(any)
0:00:00.101566240 49640   02824000 INFO                GST_PADS gstutils.c:1009:gst_pad_check_link: trying 
to link oggmux0:src and filesink0:sink
0:00:00.101589641 49640   02824000 INFO                GST_PADS gstutils.c:1523:prepare_link_maybe_ghosting: 
oggmux0 and filesink0 in same bin, no need for ghost pads
0:00:00.101611810 49640   02824000 
INFO                GST_PADS gstpad.c:2316:gst_pad_link_prepare: trying to link oggmux0:src and 
filesink0:sink
0:00:00.101661487 49640   02824000 INFO                GST_PADS gstpad.c:2524:gst_pad_link_full: linked 
oggmux0:src and filesink0:sink, successful
0:00:00.101680782 49640   02824000 INFO               GST_EVENT gstevent.c:1512:gst_event_new_reconfigure: 
creating reconfigure event
0:00:00.101699668 49640   02824000 INFO               GST_EVENT 
gstpad.c:5655:gst_pad_send_event_unchecked:<oggmux0:src> Received event on flushing pad. Discarding
0:00:00.101813800 49640   02824000 INFO    
Setting pipeline to PAUSED ...
          GST_STATES gstbin.c:2491:gst_bin_element_set_state:<filesink0> current NULL pending VOID_PENDING, 
desired next READY

0:00:00.102466982 49640   02824000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<filesink0> completed state change to READY
0:00:00.102535543 49640   02824000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<filesink0> notifying about state-changed NULL to READY 
(VOID_PENDING pending)
0:00:00.102597536 49640   02824000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'filesink0' changed state to 2(READY) successfully
0:00:00.102643928 49640   02824000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<oggmux0> current NULL pending VOID_PENDING, desired next READY
0:00:00.102689498 49640   02824000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<oggmux0> completed state change to READY
0:00:00.102717416 49640   02824000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<oggmux0> notifying about state-changed NULL to READY 
(VOID_PENDING pending)
0:00:00.102752723 49640   02824000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0>
 child 'oggmux0' changed state to 2(READY) successfully
0:00:00.102825390 49640   02824000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<opusenc0> current NULL pending VOID_PENDING, desired next READY
0:00:00.102863981 49640   02824000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<opusenc0> completed state change to READY
0:00:00.102883277 49640   02824000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<opusenc0> notifying about state-changed NULL to READY 
(VOID_PENDING pending)
0:00:00.102910373 49640   02824000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'opusenc0' changed state to 2(READY) successfully
0:00:00.102934185 49640   02824000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<audioconvert0> current NULL pending VOID_PENDING, desired next READY
0:00:00.102954712 49640   02824000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<audioconvert0> completed state change to READY
0:00:00.102973187 49640   02824000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<audioconvert0> notifying about state-changed NULL to 
READY (VOID_PENDING pending)
0:00:00.102994946 49640   02824000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0>
 child 'audioconvert0' changed state to 2(READY) successfully
0:00:00.103084035 49640   02824000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<audiotestsrc0> current NULL pending VOID_PENDING, desired next READY
0:00:00.103115236 49640   02824000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<audiotestsrc0> completed state change to READY
0:00:00.103134943 49640   02824000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<audiotestsrc0> notifying about state-changed NULL to 
READY (VOID_PENDING pending)
0:00:00.103161628 49640   02824000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'audiotestsrc0' changed state to 2(READY) 
successfully
0:00:00.103185440 49640   02824000 INFO              GST_STATES 
gstelement.c:2442:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending 
PAUSED, next PAUSED
0:00:00.103207199 49640   02824000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY 
(PAUSED pending)

0:00:00.103328311 49640   02824000 INFO              GST_STATES 
gstelement.c:2449:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:00.103361976 49640   02824000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<filesink0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.103390304 49640   02824000 INFO              GST_STATES 
gstbin.c:2945:gst_bin_change_state_func:<pipeline0> child 'filesink0' is changing state asynchronously to 
PAUSED
0:00:00.103411652 49640   02824000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<oggmux0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.103442033 49640   02824000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<oggmux0> completed state change to PAUSED
0:00:00.103461328 49640   02824000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<oggmux0> notifying about state-changed READY to PAUSED 
(VOID_PENDING pending)
0:00:00.103484729 
49640   02824000 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 
'oggmux0' changed state to 3(PAUSED) successfully
0:00:00.103599683 49640   02824000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<opusenc0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.103629653 49640   02824000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<opusenc0> completed state change to PAUSED
0:00:00.103649770 49640   02824000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<opusenc0> notifying about state-changed READY to PAUSED 
(VOID_PENDING pending)
0:00:00.103675224 49640   02824000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'opusenc0' changed state to 3(PAUSED) successfully
0:00:00.103696983 49640   02824000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<audioconvert0> current READY pending VOID_PENDING, desired next 
PAUSED
0:00:00.103719973 49640   02824000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<audioconvert0>
 completed state change to PAUSED
0:00:00.103766365 49640   02824000 INFO              GST_STATES 
gstelement.c:2372:_priv_gst_element_state_changed:<audioconvert0> notifying about state-changed READY to 
PAUSED (VOID_PENDING pending)
0:00:00.103791409 49640   02824000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'audioconvert0' changed state to 3(PAUSED) 
successfully
0:00:00.103811936 49640   02824000 INFO              GST_STATES 
gstbin.c:2491:gst_bin_element_set_state:<audiotestsrc0> current READY pending VOID_PENDING, desired next 
PAUSED
0:00:00.103843548 49640   02824000 INFO                 basesrc 
gstbasesrc.c:1331:gst_base_src_do_seek:<audiotestsrc0> seeking: time segment start=0:00:00.000000000, 
offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, 
time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:00.103910057 49640   02824000 INFO                    task gsttask.c:457:gst_task_set_lock: setting 
stream lock 0354907C on task 03550048
0:00:00.103932227 49640   02824000 INFO                GST_PADS 
gstpad.c:6001:gst_pad_start_task:<audiotestsrc0:src> created task 03550048
0:00:00.104083308 49640   02824000 INFO              GST_STATES 
gstelement.c:2467:gst_element_continue_state:<audiotestsrc0> completed state change to PAUSED
0:00:00.104116973 49640   02824000 
INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<audiotestsrc0> notifying 
about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.104220021 49640   02824000 INFO              GST_STATES 
gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'audiotestsrc0' changed state to 3(PAUSED) 
successfully
0:00:00.104291456 49640   0352EA78 INFO        GST_ELEMENT_PADS gstelement.c:915:gst_element_get_static_pad: 
no such pad 'sink' in element "audiotestsrc0"
0:00:00.104345238 49640   0352EA78 FIXME                default 
gstutils.c:3902:gst_pad_create_stream_id_internal:<audiotestsrc0:src> Creating random stream-id, consider 
implementing a deterministic way of creating a stream-id

Pipeline is PREROLLING ...
0:00:00.104550101 49640   0352EA78 INFO               structure 
gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in structure: audio/x-raw, 
layout=(string)interleaved, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ];

0:00:00.105082992 49640   0352EA78 INFO    
           structure gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in 
structure: audio/x-raw, rate=(int)48000, channels=(int)1, layout=(string)interleaved;
0:00:00.105121173 49640   0352EA78 INFO               structure 
gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in structure: audio/x-raw, 
rate=(int){ 8000, 12000, 16000, 24000 }, channels=(int)1, layout=(string)interleaved;

0:00:00.105426210 49640   0352EA78 INFO               structure 
gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in structure: audio/x-raw, 
rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved;
0:00:00.105457822 49640   0352EA78 INFO               GST_EVENT gstevent.c:809:gst_event_new_caps: creating 
caps event audio/x-raw, rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved
0:00:00.105509551 49640   0352EA78 
INFO               structure gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in 
structure: audio/x-raw, rate=(int)48000, channels=(int)1, layout=(string)interleaved;
0:00:00.105604388 49640   0352EA78 INFO               structure 
gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in structure: audio/x-raw, 
rate=(int)48000, channels=(int)1, layout=(string)interleaved;

0:00:00.105833473 49640   0352EA78 INFO           basetransform 
gstbasetransform.c:1299:gst_base_transform_setcaps:<audioconvert0> reuse caps
0:00:00.105865086 49640   0352EA78 INFO               structure 
gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in structure: audio/x-raw, 
rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved;
0:00:00.105899572 49640   0352EA78 INFO               structure 
gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in structure: audio/x-raw, 
rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved;
0:00:00.105941037 49640   0352EA78 INFO         audio-converter 
audio-converter.c:1102:gst_audio_converter_new: unitsizes: 2 -> 2
0:00:00.105960743 49640   0352EA78 INFO         audio-converter audio-converter.c:594:chain_unpack: unpack 
format S16LE to S16LE
0:00:00.105992355 49640   0352EA78 INFO         audio-converter audio-converter.c:651:chain_mix: mix format 
S16LE, passthrough 1, in_channels 1, out_channels 1
0:00:00.106013293 49640   0352EA78 INFO         audio-converter audio-converter.c:738:chain_quantize: depth 
in 16, out 16
0:00:00.106030947 49640   0352EA78 INFO         audio-converter audio-converter.c:750:chain_quantize: using 
no dither and noise shaping
0:00:00.106047779 49640   0352EA78 INFO         audio-converter audio-converter.c:785:chain_pack:
 pack format S16LE to S16LE
0:00:00.106093350 49640   0352EA78 INFO         audio-converter 
audio-converter.c:1127:gst_audio_converter_new: same formats, no resampler and passthrough mixing -> 
passthrough
0:00:00.106118804 49640   0352EA78 INFO               GST_EVENT gstevent.c:809:gst_event_new_caps: creating 
caps event audio/x-raw, rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved
0:00:00.106287539 49640   0352EA78 INFO               GST_EVENT gstevent.c:890:gst_event_new_segment:
 creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, 
stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, 
base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:00.106418915 49640   0352EA78 INFO            audioencoder 
gstaudioencoder.c:1635:gst_audio_encoder_sink_event_default:<opusenc0> upstream stream tags: taglist, 
description=(string)"audiotest\ wave";
0:00:00.106448474 49640   0352EA78 INFO                 basesrc 
gstbasesrc.c:2836:gst_base_src_loop:<audiotestsrc0> marking pending DISCONT
0:00:00.106474749 49640   0352EA78 INFO               structure 
gststructure.c:2595:gst_structure_get_valist: Expected field 'channel-mask' in structure: audio/x-raw, 
rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved;
0:00:00.106501845 49640   0352EA78 INFO                 opusenc 
gstopusenc.c:521:gst_opus_enc_setup_channel_mappings:<opusenc0> Mono, trivial RTP mapping
0:00:00.106520320 49640   0352EA78 INFO                 opusenc 
gstopusenc.c:703:gst_opus_enc_setup:<opusenc0> Mapping tables built: 1 channels, 0 stereo streams
0:00:00.106541668 49640   0352EA78 INFO                 opusenc 
gstopuscommon.c:109:gst_opus_common_log_channel_mapping_table:<opusenc0> Encoding mapping table: [ 0 ]
0:00:00.106562606 49640   0352EA78 INFO                 opusenc 
gstopuscommon.c:109:gst_opus_common_log_channel_mapping_table:<opusenc0> Decoding mapping table: [ 0 ]

/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps = audio/x-raw, rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = audio/x-raw, rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved
/GstPipeline:pipeline0/GstOpusEnc:opusenc0.GstPad:sink: caps = audio/x-raw, rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = audio/x-raw, rate=(int)48000, channels=(int)1, format=(string)S16LE, layout=(string)interleaved
Redistribute latency...
/GstPipeline:pipeline0/GstOpusEnc:opusenc0.GstPad:src: caps = audio/x-opus, rate=(int)48000, channels=(int)1, channel-mapping-family=(int)0, stream-count=(int)1, coupled-count=(int)0, streamheader=(buffer)< 4f707573486561640101380180bb0000000000, 4f707573546167731e000000456e636f6465642077697468204753747265616d6572206f707573656e63010000001a0000004445534352495054494f4e3d617564696f74657374207761766501 >
/GstPipeline:pipeline0/GstOggMux:oggmux0.GstPad:audio_2130242422: caps = audio/x-opus, rate=(int)48000, channels=(int)1, channel-mapping-family=(int)0, stream-count=(int)1, coupled-count=(int)0, streamheader=(buffer)< 4f707573486561640101380180bb0000000000, 4f707573546167731e000000456e636f6465642077697468204753747265616d6572206f707573656e63010000001a0000004445534352495054494f4e3d617564696f74657374207761766501 >
0:00:00.106681255 49640   0352EA78 INFO               GST_EVENT gstevent.c:809:gst_event_new_caps: creating 
caps event audio/x-opus, rate=(int)48000, channels=(int)1, channel-mapping-family=(int)0, 
stream-count=(int)1, coupled-count=(int)0, streamheader=(buffer)< 4f707573486561640101380180bb0000000000, 4f7
07573546167731e000000456e636f6465642077697468204753747265616d6572206f707573656e63010000001a000000444553435249
5054494f4e3d617564696f74657374207761766501 >
0:00:00.106785534 49640   02824000 INFO               GST_EVENT gstevent.c:1383:gst_event_new_latency: 
creating latency event 0:00:00.000000000
0:00:00.106845063 49640   02824000 INFO                     bin 
gstbin.c:2768:gst_bin_do_latency_func:<pipeline0> configured latency of 0:00:00.000000000

-------------- next part --------------
Factory Details:
  Rank                     primary (256)
  Long-name                Opus audio encoder
  Klass                    Codec/Encoder/Audio
  Description              Encodes audio in Opus format
  Author                   Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>

Plugin Details:
  Name                     opus
  Description              OPUS plugin library
  Filename                 C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstopus.dll
  Version                  1.12.0
  License                  LGPL
  Source module            gst-plugins-base
  Source release date      2017-05-04
  Binary package           GStreamer Base Plug-ins source release
  Origin URL               Unknown package origin

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstAudioEncoder
                         +----GstOpusEnc

Implemented Interfaces:
  GstPreset
  GstTagSetter

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      audio/x-raw
                 format: S16LE
                 layout: interleaved
                   rate: 48000
               channels: [ 1, 8 ]
      audio/x-raw
                 format: S16LE
                 layout: interleaved
                   rate: { (int)8000, (int)12000, (int)16000, (int)24000 }
               channels: [ 1, 8 ]

  SRC template: 'src'
    Availability: Always
    Capabilities:
      audio/x-opus


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: gst_audio_encoder_change_state

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'
  SRC: 'src'
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "opusenc0"
  parent              : The parent of the object
                        flags: readable, writable
                        Object of type "GstObject"
  perfect-timestamp   : Favour perfect timestamps over tracking upstream timestamps
                        flags: readable, writable
                        Boolean. Default: false
  mark-granule        : Apply granule semantics to buffer metadata (implies perfect-timestamp)
                        flags: readable
                        Boolean. Default: false
  hard-resync         : Perform clipping and sample flushing upon discontinuity
                        flags: readable, writable
                        Boolean. Default: false
  tolerance           : Consider discontinuity if timestamp jitter/imperfection exceeds tolerance (ns)
                        flags: readable, writable
                        Integer64. Range: 0 - 9223372036854775807 Default: 40000000 
  audio-type          : What type of audio to optimize for
                        flags: readable, writable
                        Enum "GstOpusEncAudioType" Default: 2049, "generic"
                           (2049): generic          - Generic audio
                           (2048): voice            - Voice
  bitrate             : Specify an encoding bit-rate (in bps).
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Integer. Range: 4000 - 650000 Default: 64000 
  bandwidth           : Audio Band Width
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Enum "GstOpusEncBandwidth" Default: 1105, "fullband"
                           (1101): narrowband       - Narrow band
                           (1102): mediumband       - Medium band
                           (1103): wideband         - Wide band
                           (1104): superwideband    - Super wide band
                           (1105): fullband         - Full band
                           (-1000): auto             - Auto
  frame-size          : The duration of an audio frame, in ms
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Enum "GstOpusEncFrameSize" Default: 20, "20"
                           (2): 2.5              - 2.5
                           (5): 5                - 5
                           (10): 10               - 10
                           (20): 20               - 20
                           (40): 40               - 40
                           (60): 60               - 60
  bitrate-type        : Bitrate type
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Enum "GstOpusEncBitrateType" Default: 0, "cbr"
                           (0): cbr              - CBR
                           (1): vbr              - VBR
                           (2): constrained-vbr  - Constrained VBR
  complexity          : Complexity
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Integer. Range: 0 - 10 Default: 10 
  inband-fec          : Enable forward error correction
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Boolean. Default: false
  dtx                 : DTX
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Boolean. Default: false
  packet-loss-percentage: Packet loss percentage
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Integer. Range: 0 - 100 Default: 0 
  max-payload-size    : Maximum payload size in bytes
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Unsigned Integer. Range: 2 - 4000 Default: 4000 


More information about the gstreamer-devel mailing list