wavparse

wavparse

Properties

gboolean ignore-length Read / Write

Types and Values

struct GstWavParse

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstWavParse

Description

Parse a .wav file into raw or compressed audio.

Wavparse supports both push and pull mode operations, making it possible to stream from a network source.

Example launch line

1
gst-launch-1.0 filesrc location=sine.wav ! wavparse ! audioconvert ! alsasink
Read a wav file and output to the soundcard using the ALSA element. The wav file is assumed to contain raw uncompressed samples.
1
gst-launch-1.0 gnomevfssrc location=http://www.example.org/sine.wav ! queue ! wavparse ! audioconvert ! alsasink
Stream data from a network url.

Synopsis

Element Information

plugin

wavparse

author

Erik Walthinsen <omega@cse.ogi.edu>

class

Codec/Demuxer/Audio

Element Pads

name

sink

direction

sink

presence

always

details

audio/x-wav

name

src

direction

source

presence

always

details

audio/ms-gsm

audio/mpeg, mpegversion=(int)1, layer=(int)3

audio/mpeg, mpegversion=(int)1, layer=(int)2

audio/x-raw, format=(string){ S8, U8, S16LE, U16LE, S24LE, U24LE, S32LE, U32LE }, layout=(string)interleaved

audio/x-vorbis

audio/x-ac3

audio/x-dts

audio/mpeg, mpegversion=(int)4

audio/x-alaw

audio/x-mulaw

audio/x-wms, bitrate=(int)[ 0, 2147483647 ], block_align=(int)[ 1, 2147483647 ]

audio/x-adpcm, layout=(string)microsoft, block_align=(int)[ 1, 2147483647 ]

audio/x-adpcm, layout=(string)dvi, block_align=(int)[ 1, 2147483647 ]

audio/x-truespeech

audio/x-wma, wmaversion=(int)1, bitrate=(int)[ 0, 2147483647 ], block_align=(int)[ 1, 2147483647 ]

audio/x-wma, wmaversion=(int)2, bitrate=(int)[ 0, 2147483647 ], block_align=(int)[ 1, 2147483647 ]

audio/x-wma, wmaversion=(int)3, bitrate=(int)[ 0, 2147483647 ], block_align=(int)[ 1, 2147483647 ]

audio/x-vnd.sony.atrac3

audio/x-raw, format=(string){ F32LE, F64LE }, layout=(string)interleaved

audio/x-voxware, voxwaretype=(int)117

audio/x-adpcm, layout=(string)dk4

audio/x-adpcm, layout=(string)dk3

audio/x-adpcm, layout=(string)dvi

audio/AMR

audio/AMR-WB

audio/x-siren

application/x-ogg-avi

Functions

Types and Values

struct GstWavParse

struct GstWavParse;

Opaque data structure.

Property Details

The “ignore-length” property

  “ignore-length”            gboolean

This selects whether the length found in a data chunk should be ignored. This may be useful for streamed audio where the length is unknown until the end of streaming, and various software/hardware just puts some random value in there and hopes it doesn't break too much.

Flags: Read / Write

Default value: FALSE