[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flac
Subject:    Re: [Flac] error in files after removing padding
From:       Scott Brown <scottcbrown () gmail ! com>
Date:       2015-01-13 13:58:00
Message-ID: CANJq19JvC34ve4_7aGtLL8mRoRxbhzLVcTC=+wA3e1GZa9BDeQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

This issue is still driving me crazy. I can't remove padding from any file
with artwork in it. I'm on OS X.

Has anyone run into this before or know how I can get around it?

Thanks,
Scott

On Mon, May 19, 2014 at 9:21 AM, Scott Brown <scottcbrown@gmail.com> wrote:

> ERROR while decoding data
>                     state = FLAC__STREAM_DECODER_END_OF_STREAM
>
> It's happening with every file that I've tried now, using both 1.2.1 and
> 1.3.0.
>
> If a file has artwork and I remove padding, I get the above error when
> verifying or decompressing. If no artwork and I remove padding, the file
> verifies and decompresses with no issues.
>
>  I'm writing tags via Taglib's file.save() but removing padding via
> metaflac.
>
> Thanks,
> Scott
>
>
> On Mon, May 19, 2014 at 9:16 AM, Martijn van Beurden <mvanb1@gmail.com>
> wrote:
>
>>  Hi Scott,
>>
>> Can you be a little more specific? What error do you get? I'm unable to
>> reproduce this error currently, do you have any files you can share that
>> are problematic? What version of metaflac are you using?
>>
>> It might be a bug, it might be corruption induced by some other part of
>> the system.
>>
>> op 19-05-14 15:04, Scott Brown schreef:
>>
>> I want to remove padding from flac files, so I ran the following command
>> on files with artwork in them:
>>
>>  metaflac --dont-use-padding --remove --block-type=PADDING [filename]
>>
>>
>>   but now my files are corrupt. Verifying them reports a stream error
>> and they won't decode.
>>
>>  If the files had no picture data in them, the remove padding command
>> did not corrupt them.
>>
>>  Is this a bug, or did I run something bad with metaflac?
>>
>>  Thanks,
>> Scott
>>
>>
>> _______________________________________________
>> Flac mailing listFlac@xiph.orghttp://lists.xiph.org/mailman/listinfo/flac
>>
>>
>>
>> _______________________________________________
>> Flac mailing list
>> Flac@xiph.org
>> http://lists.xiph.org/mailman/listinfo/flac
>>
>>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hello,<br><br></div>This issue is still driving me crazy. I \
can&#39;t remove padding from any file with artwork in it. I&#39;m on OS \
X.<br><br></div>Has anyone run into this before or know how I can get around \
it?<br><div><div><div><div class="gmail_extra"><br></div><div \
class="gmail_extra">Thanks,<br></div><div class="gmail_extra">Scott<br><br></div><div \
class="gmail_extra"><div class="gmail_quote">On Mon, May 19, 2014 at 9:21 AM, Scott \
Brown <span dir="ltr">&lt;<a href="mailto:scottcbrown@gmail.com" \
target="_blank">scottcbrown@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>ERROR while decoding data</div><div>      \
state = FLAC__STREAM_DECODER_END_OF_STREAM</div><div><br></div><div>It&#39;s \
happening with every file that I&#39;ve tried now, using both 1.2.1 and 1.3.0.</div>

<div><br></div><div>If a file has artwork and I remove padding, I get the above error \
when verifying or decompressing. If no artwork and I remove padding, the file \
verifies and decompresses with no issues.</div><div><br> </div>
<div>I&#39;m writing tags via Taglib&#39;s file.save() but removing padding via \
metaflac.</div><div><br></div><div>Thanks,</div><div>Scott</div><div><div \
class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, \
2014 at 9:16 AM, Martijn van Beurden <span dir="ltr">&lt;<a \
href="mailto:mvanb1@gmail.com" target="_blank">mvanb1@gmail.com</a>&gt;</span> \
wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Scott,<br>
    <br>
    Can you be a little more specific? What error do you get? I&#39;m unable
    to reproduce this error currently, do you have any files you can
    share that are problematic? What version of metaflac are you using?<br>
    <br>
    It might be a bug, it might be corruption induced by some other part
    of the system.<br>
    <br>
    <div>op 19-05-14 15:04, Scott Brown schreef:<br>
    </div>
    <blockquote type="cite"><div><div>
      <div dir="ltr">I want to remove padding from flac files, so I ran
        the following command on files with artwork in them:
        <div><br>
        </div>
        <div>metaflac  <span \
style="color:rgb(209,47,27);font-family:Menlo;font-size:11px">--dont-use-padding  \
</span><span style="color:rgb(209,47,27);font-family:Menlo;font-size:11px">--remove  \
</span><span style="color:rgb(209,47,27);font-family:Menlo;font-size:11px">--block-type=PADDING
  [filename]</span></div>
        <div>
          <p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(61,29,129)"><br>
  </p>
          <p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(61,29,129)"><span \
style="color:rgb(0,0,0)"></span></p>  </div>
        <div>but now my files are corrupt. Verifying them reports a
          stream error and they won&#39;t decode.</div>
        <div><br>
        </div>
        <div>If the files had no picture data in them, the remove
          padding command did not corrupt them.</div>
        <div><br>
        </div>
        <div>Is this a bug, or did I run something bad with metaflac?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Scott</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Flac mailing list
<a href="mailto:Flac@xiph.org" target="_blank">Flac@xiph.org</a>
<a href="http://lists.xiph.org/mailman/listinfo/flac" \
target="_blank">http://lists.xiph.org/mailman/listinfo/flac</a> </pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Flac mailing list<br>
<a href="mailto:Flac@xiph.org" target="_blank">Flac@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/flac" \
target="_blank">http://lists.xiph.org/mailman/listinfo/flac</a><br> \
<br></blockquote></div><br></div></div></div></div> \
</blockquote></div><br></div></div></div></div></div>



_______________________________________________
Flac mailing list
Flac@xiph.org
http://lists.xiph.org/mailman/listinfo/flac


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic