# flacparse

The flacparse element will parse the header packets of the FLAC stream and put them as the streamheader in the caps. This is used in the multifdsink case where you want to stream live FLAC streams to multiple clients, each client has to receive the streamheaders first before they can consume the FLAC packets.

This element also makes sure that the buffers that it pushes out are properly timestamped and that their offset and offset_end are set. The buffers that flacparse outputs have all of the metadata that oggmux expects to receive, which allows you to (for example) remux an ogg/flac or convert a native FLAC format file to an ogg bitstream.

## Example pipelines

     gst-launch-1.0 -v filesrc location=sine.flac ! flacparse ! identity \
                ! oggmux ! filesink location=sine-remuxed.ogg

This pipeline converts a native FLAC format file to an ogg bitstream. It also illustrates that the streamheader is set in the caps, and that each buffer has the timestamp, duration, offset, and offset_end set.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseParse
                        ╰──flacparse

## Factory details

Authors: – Sebastian Dröge <sebastian.droege></sebastian.droege>

Classification: – `Codec/Parser/Audio`

Rank – primary + 1

Plugin – audioparsers

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    audio/x-flac:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-flac:
             framed: true
           channels: [ 1, 8 ]
               rate: [ 1, 655350 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### check-frame-checksums

    “check-frame-checksums” gboolean

Check the overall checksums of every frame

Flags : Read / Write

Default value : false

The results of the search are