<div dir="ltr"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 2, 2014 at 6:17 AM, Барт Гопник <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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">>> Ok I will give it a try and see what I can come up with.<br>
<br>
</span><span class="">> Is the most interesting data the [frame] and [subframe] info?<br>
<br>
> Is the qlp_coeff[], warmpup[] and parameter[] data for each frame/subframe important?<br>
<br>
</span>Yes, it would be nice if MetaFLAC will show minimum and maximum values<br>
of parameters (if are not constant/fixed) for the stream.<br>
<br>
And it would be VERY NICE if you implement "--is-subset" switch.<br>
"metaflac --is-subset" command should show "true" if stream is subset<br>
and "false" if stream is not "subset".<br>
<br>
What parameters need to test/check for subset compliance?<br>
<br>
If one or more of the following statements is true the stream is NOT subset.<br>
<br>
sample size in bits = not (8 or 12 or 16 or 20 or 24)<br>
or<br>
min_partition_order > 8<br>
or<br>
max_partition_order > 8<br>
or<br>
min_prediction_order > 12 and samplerate <= 48000<br>
or<br>
max_prediction_order > 12 and samplerate <= 48000<br>
or<br>
frame_size > 4608 and samplerate <= 48000<br>
or<br>
frame_size > 16384<br>
<br>
Thanks in advance!<br>
</blockquote></div><br><br clear="all"><div>Is there an example flac file with subsets?<div><br></div><div>I think the .ana file created by flac -a [fname] is super easy to parse.. here is an example that reads and puts in database. after you have it in a database you can query stuff.</div><div><br></div><div><a href="https://github.com/waitman/inflaca">https://github.com/waitman/inflaca</a><br></div><div><br></div><div>this db insert work could also be done in flac/analyze.c but i'm under time constraints at the moment.</div></div><div><br></div>-- <br><div class="gmail_signature">Waitman Gobble<br>Los Altos California USA<br>510-830-7975<br></div>
</div></div>