<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<font face="Courier New">Martijn,</font><br>
<br>
<blockquote type="cite"
cite="mid:CADQbU6_PG7pt0s33MK1nwSS_uOHeiGckaRY5LHY-8zpvA9HEvg@mail.gmail.com">If
you are looking for a tool, take a look at the metaflac command
line utility. metaflac --list file.flac returns all metadata in a
FLAC
file</blockquote>
<br>
Thanks, this is very interesting.<br>
<br>
<blockquote type="cite"
cite="mid:CADQbU6_PG7pt0s33MK1nwSS_uOHeiGckaRY5LHY-8zpvA9HEvg@mail.gmail.com">
<blockquote type="cite">2) I decode using the option --skip=0
--until=1. I would expect to get a wav file with only 1 sample,
but I get 3 samples.
</blockquote>
Strange, I am not able to replicate that behaviour. When I use
flac -d
--skip 0 --until 1 file.flac I get a WAV file with a single sample
per
channel. I tested with a mono and a stereo file. Can you perhaps
share
the full command line you're using?</blockquote>
<br>
It is embarrassing, I cannot replicate it either. The only
explanation I can find is that I was not running flac from the
command line but through the command line function dos() of Scilab.
When arranging the command string to pass to the function I used
string variables instead of the actual 0 and 1, and it is possible
that they contained different values from the desired (and believed)
ones.<br>
<br>
Apologies, my fault.<br>
<br>
Regards,<br>
<br>
Federico Miyara<br>
<br>
<br>
<br>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>