<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 1, 2014 at 11:55 PM, Waitman Gobble <span dir="ltr"><<a href="mailto:gobble.wa@gmail.com" target="_blank">gobble.wa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Dec 1, 2014 at 10:40 PM, Барт Гопник <span dir="ltr"><<a href="mailto:bart.gopnik@gmail.com" target="_blank">bart.gopnik@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please help me solve the following problem:<br>
<br>
FLAC tools have a lots of warnings about non-subset files during<br>
encoding, but unfortunately don't have easy way to check/test existing<br>
FLAC stream for subset compliance.<br>
<br>
"flac -a" generates the big text file that has data about each frame<br>
and subframe. But looks like I need parser and statistics tools to<br>
answer on question about subset compliance of stream.<br>
<br>
Looks like "metaflac --show-min-blocksize --show-max-blocksize<br>
--show-sample-rate --show-bps" is more useful, but unfortunately there<br>
is no switches to show LPC filter order and Rice partition order in<br>
MataFLAC tool.<br>
<br>
It would be nice if anybody add switches to show more parameters like<br>
LPC filter order and Rice partition order and checking for subset<br>
compliance of stream to MetaFLAC tool.<br>
<br>
Using output in JSON format is very useful thing (bit thanks for<br>
that!), but user, unfortunately, still need statistics tools to answer<br>
on question about subset compliance of stream.<br>
<br>
Waitman, could you please implement switches to show LPC filter order<br>
and Rice partition order and checking for subset compliance of stream<br>
to MetaFLAC tool? It would be great help.<br>
<div><div><br>
2014-12-01 10:20 GMT+03:00 Waitman Gobble <<a href="mailto:gobble.wa@gmail.com" target="_blank">gobble.wa@gmail.com</a>>:<br>
><br>
> Hi,<br>
><br>
> I modified the metaflac program to output in JSON format if the<br>
> --output-json switch is used, and made a simple Go program to demonstrate<br>
> use of the output.<br>
><br>
> I imported the MIT licensed json-c library into src/share/json-c and put<br>
> headers in include/share/json-c.<br>
><br>
> For example,<br>
> # metaflac --output-json --list myfile.flac<br>
><br>
> example output: <a href="https://gist.github.com/waitman/847a8cae4a650a8898ee" target="_blank">https://gist.github.com/waitman/847a8cae4a650a8898ee</a><br>
><br>
> If the modified software is useful to anyone, the modifications are<br>
> available on github, I did a 'clean' import of head / 1.3.1 then pushed up<br>
> the changes, so maybe it's easier to see what was modified.<br>
><br>
> <a href="https://github.com/waitman/flac" target="_blank">https://github.com/waitman/flac</a><br>
><br>
> <a href="https://github.com/waitman/goflac" target="_blank">https://github.com/waitman/goflac</a><br>
><br>
><br>
> --<br>
> Waitman Gobble<br>
> Los Altos California USA<br>
> <a href="tel:510-830-7975" value="+15108307975" target="_blank">510-830-7975</a><br>
><br>
</div></div>> _______________________________________________<br>
> flac-dev mailing list<br>
> <a href="mailto:flac-dev@xiph.org" target="_blank">flac-dev@xiph.org</a><br>
> <a href="http://lists.xiph.org/mailman/listinfo/flac-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/flac-dev</a><br>
><br>
</blockquote></div><br><br></div></div>Ok I will give it a try and see what I can come up with.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div>Waitman Gobble<br>Los Altos, California USA<br><span><span title="Call with Google Voice"><a href="tel:510-830-7975" value="+15108307975" target="_blank">510-830-7975</a></span></span><br></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div>Is the most interesting data the [frame] and [subframe] info?</div><div>Is the qlp_coeff[], warmpup[] and parameter[] data for each frame/subframe important?</div>-- <br><div class="gmail_signature">Waitman Gobble<br>San Jose California USA<br><span><span id="gc-number-111" class="gc-cs-link" title="Call with Google Voice">510-830-7975</span></span><br></div>
</div></div>