Загрузка данных


root@imx95-19x19-lpddr5-evk:~# gst-launch-1.0 filesrc location=/output.raw ! audio/x-raw, format=S16LE, rate=48000, channels=2, layout=interleaved ! au
dioconvert ! audioresample ! audio/x-raw, rate=8000, format=S16LE, channels=1 ! audioamplify volume=0.1 ! alsasink device=hw:ns4168monoaudio           
WARNING: erroneous pipeline: no property "volume" in element "audioamplify"
root@imx95-19x19-lpddr5-evk:~# gst-inspect-1.0 audioamplify
Factory Details:
  Rank                     none (0)
  Long-name                Audio amplifier
  Klass                    Filter/Effect/Audio
  Description              Amplifies an audio stream by a given factor
  Author                   Sebastian Dr?ge <slomo@circular-chaos.org>
  Documentation            https://gstreamer.freedesktop.org/documentation/audiofx/audioamplify.html

Plugin Details:
  Name                     audiofx
  Description              Audio effects plugin
  Filename                 /usr/lib/gstreamer-1.0/libgstaudiofx.so
  Version                  1.26.0
  License                  LGPL
  Source module            gst-plugins-good
  Documentation            https://gstreamer.freedesktop.org/documentation/audiofx/
  Source release date      2025-03-11
  Binary package           GStreamer Good Plug-ins source release
  Origin URL               Unknown package origin

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstAudioFilter
                               +----GstAudioAmplify

Element Flags:

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      audio/x-raw
                 format: { (string)S8, (string)S16LE, (string)S32LE, (string)F32LE, (string)F64LE }
                   rate: [ 1, 2147483647 ]
               channels: [ 1, 2147483647 ]
                 layout: { (string)interleaved, (string)non-interleaved }
  
  SRC template: 'src'
    Availability: Always
    Capabilities:
      audio/x-raw
                 format: { (string)S8, (string)S16LE, (string)S32LE, (string)F32LE, (string)F64LE }
                   rate: [ 1, 2147483647 ]
               channels: [ 1, 2147483647 ]
                 layout: { (string)interleaved, (string)non-interleaved }

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

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

Element Properties:

  amplification       : Factor of amplification
                        flags: readable, writable, controllable
                        Float. Range:   -3.402823e+38 -    3.402823e+38 Default:               1 
  
  clipping-method     : Selects how to handle values higher than the maximum
                        flags: readable, writable
                        Enum "GstAudioAmplifyClippingMethod" Default: 0, "clip"
                           (0): clip             - Normal clipping (default)
                           (1): wrap-negative    - Push overdriven values back from the opposite side
                           (2): wrap-positive    - Push overdriven values back from the same side
                           (3): none             - No clipping
  
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "audioamplify0"
  
  parent              : The parent of the object
                        flags: readable, writable
                        Object of type "GstObject"
  
  qos                 : Handle Quality-of-Service events
                        flags: readable, writable
                        Boolean. Default: false