Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Removing tags from FLAC files also removes WAVEFORMATEXTENSIBLE_CHANNEL_MASK (Read 1218 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Removing tags from FLAC files also removes WAVEFORMATEXTENSIBLE_CHANNEL_MASK

When using "Remove tags from file(s)" on FLAC files, WAVEFORMATEXTENSIBLE_CHANNEL_MASK is also removed. So, files with non-standard channels layout (and even some standard layouts - 6.1, for example) cannot be decoded correctly after this. This seems like undesirable behavior.

Also fb2k decodes 7-channel FLAC without WAVEFORMATEXTENSIBLE_CHANNEL_MASK as FL-FR-FC-LFE-RL-RR-FCL, but according to Vorbis standard channel mapping it should be decoded as FR-FL-FC-LFE-RC-SL-SR - https://www.xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-810004.3.9
Quote
seven channels
    the stream is 6.1 surround. channel order: front left, center, front right, side left, side right, rear center, LFE

Actually, default decoding 7-channels as FL-FR-FC-LFE-RL-RR-FCL has no meaning at all, because there is no standard layout like this in any format.

Don't know if it always worked this way. I tested only 1.6.2 and 1.6.6 beta 6.

Re: Removing tags from FLAC files also removes WAVEFORMATEXTENSIBLE_CHANNEL_MASK

Reply #1
Why do you link to Vorbis specs if you talk about FLAC? Vorbis uses odd channel orders that aren't used anywhere else. FLAC has its own specs, check https://xiph.org/flac/format.html#frame_header.

Re: Removing tags from FLAC files also removes WAVEFORMATEXTENSIBLE_CHANNEL_MASK

Reply #2
Thanks for correction. But in FLAC specification we can see that 7-channel is "front left, front right, front center, LFE, back center, side left, side right", so not FL-FR-FC-LFE-RL-RR-FCL anyway

Re: Removing tags from FLAC files also removes WAVEFORMATEXTENSIBLE_CHANNEL_MASK

Reply #3
Good find, thanks for reporting.
Removal of tags should not alter decoding output, this will be addressed in a future update.
Microsoft Windows: We can't script here, this is bat country.

 

Re: Removing tags from FLAC files also removes WAVEFORMATEXTENSIBLE_CHANNEL_MASK

Reply #4
Fixed in beta 7.
Microsoft Windows: We can't script here, this is bat country.