Skip to content

Allow reading/writing the 'bext' chunk in RIFF type files? #925

Closed

Description

@Moonbase59

Mainly a reminder, since we’ve been talking about header writing:

It’d just be great if TagLib could also support reading/writing the 'bext' chunk in RIFF type files (for BWF version 2, Broadcast Wave Files), because these are heavily used in professional broadcasting and Digital Audio Workstations (DAWs).

For loudgain, I’d be of course mainly interested in being able to write the BWF loudness values introduced with version 2 (in the ex "reserved" 190 bytes, reducing it to 180 reserved bytes).

Specs in EBU Tech 3258.

I actually worked with Erik of libsndfile lately, to implement these, but for loudgain, I’d like not to introduce another dependency if anyhow possible. And it’d be of course just great if both of the great standard libraries could handle the 'bext'. :-)

Activity

  1. ryanfrancesconi commented on Jul 18, 2020

    @ryanfrancesconi
    Contributor

    I would also love this to be implemented.

  2. ryanfrancesconi commented on Jul 18, 2020

    @ryanfrancesconi
    Contributor

    For BEXT, i am using libsndfile for this, and that's fairly simple:

    const char *fname = path.UTF8String; SF_BROADCAST_INFO binfo; SndfileHandle file = SndfileHandle(fname); file.command(SFC_GET_BROADCAST_INFO, &binfo, sizeof(binfo));

  3. ufleisch commented on May 7, 2026

    @ufleisch
    Contributor

    Implemented with #1323.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions