Displaying 2 results from an estimated 2 matches for "use_padding".
Did you mean:
set_padding
2018 Feb 04
1
libFLAC optimizations request
...t was FLAC__stream_encoder_new().
There is a comment saying that the Ogg FLAC mapping requires a VORBIS_COMMENT, but that doesn’t necessarily mean that standard FLAC also requires the Vorbis comment.
Looking around metaflac sources, I see FLAC__metadata_iterator_delete_block(iterator, options->use_padding), which might be the code responsible for removing the Vorbis comment.
In other words, perhaps there is no existing way to avoid having the encoder create the Vorbis comment metadata, but there might be a way to delete that particular metadata before the file is saved. A closer look at how metafla...
2018 Feb 04
2
libFLAC optimizations request
Correction, the flac command-line does create a 40-byte Vorbis comment by default. I just never noticed it before. I’ve been using —no-padding all these years for minimal file sizes without realizing that I could save another 40 bytes.
Anyway, since metaflac can remove the Vorbis comment using the standard library, then you should be able to create a solution without modifying libFLAC.
Brian