On Mon, Dec 1, 2014 at 10:40 PM, Барт Гопник <[email protected]> wrote:
> Please help me solve the following problem: > > FLAC tools have a lots of warnings about non-subset files during > encoding, but unfortunately don't have easy way to check/test existing > FLAC stream for subset compliance. > > "flac -a" generates the big text file that has data about each frame > and subframe. But looks like I need parser and statistics tools to > answer on question about subset compliance of stream. > > Looks like "metaflac --show-min-blocksize --show-max-blocksize > --show-sample-rate --show-bps" is more useful, but unfortunately there > is no switches to show LPC filter order and Rice partition order in > MataFLAC tool. > > It would be nice if anybody add switches to show more parameters like > LPC filter order and Rice partition order and checking for subset > compliance of stream to MetaFLAC tool. > > Using output in JSON format is very useful thing (bit thanks for > that!), but user, unfortunately, still need statistics tools to answer > on question about subset compliance of stream. > > Waitman, could you please implement switches to show LPC filter order > and Rice partition order and checking for subset compliance of stream > to MetaFLAC tool? It would be great help. > > 2014-12-01 10:20 GMT+03:00 Waitman Gobble <[email protected]>: > > > > Hi, > > > > I modified the metaflac program to output in JSON format if the > > --output-json switch is used, and made a simple Go program to demonstrate > > use of the output. > > > > I imported the MIT licensed json-c library into src/share/json-c and put > > headers in include/share/json-c. > > > > For example, > > # metaflac --output-json --list myfile.flac > > > > example output: https://gist.github.com/waitman/847a8cae4a650a8898ee > > > > If the modified software is useful to anyone, the modifications are > > available on github, I did a 'clean' import of head / 1.3.1 then pushed > up > > the changes, so maybe it's easier to see what was modified. > > > > https://github.com/waitman/flac > > > > https://github.com/waitman/goflac > > > > > > -- > > Waitman Gobble > > Los Altos California USA > > 510-830-7975 > > > > _______________________________________________ > > flac-dev mailing list > > [email protected] > > http://lists.xiph.org/mailman/listinfo/flac-dev > > > Ok I will give it a try and see what I can come up with. -- Waitman Gobble Los Altos, California USA 510-830-7975
_______________________________________________ flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev
