Avuton Olrich
2006-Dec-05 13:19 UTC
[Flac-dev] flac-1.1.3 fails to decode where flac-1.1.2 works
I'm attempting to decode part of a largefile flac whose seektable is broken or missing and the file is shorter then it's supposed to be, when I use 1.1.2 it decodes fine, when I use 1.1.3 it fails flac --decode --skip=719:58.0 --until=1024:58.0 -o \/home\/sbh\/work\/hs\/out.wav \/mnt\/ss\/sdb\/Sound\/Recording\/2006\-11\-29\/in.flac out.wav: ERROR seeking while skipping bytes state = FLAC__STREAM_DECODER_SEEK_ERROR Is there a way I can 'fix' the seektable with flac-1.1.3? What's my best option moving forward here? Thanks! -- avuton -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
Avuton Olrich
2006-Dec-05 13:47 UTC
[Flac] Fwd: flac-1.1.3 fails to decode where flac-1.1.2 works
Attempt to resend this, I don't think it made it last time. This is a big problem for me, as I often need to use --skip and --until on unfinished files, and while it's slow it does continue to work. Thanks, avuton ---------- Forwarded message ---------- From: Avuton Olrich <avuton@gmail.com> Date: Dec 2, 2006 5:33 AM Subject: flac-1.1.3 fails to decode where flac-1.1.2 works To: FLAC dev-ml <flac-dev@xiph.org> I'm attempting to decode part of a largefile flac whose seektable is broken or missing and the file is shorter then it's supposed to be, when I use 1.1.2 it decodes fine, when I use 1.1.3 it fails flac --decode --skip=719:58.0 --until=1024:58.0 -o \/home\/sbh\/work\/hs\/out.wav \/mnt\/ss\/sdb\/Sound\/Recording\/2006\-11\-29\/in.flac out.wav: ERROR seeking while skipping bytes state = FLAC__STREAM_DECODER_SEEK_ERROR Is there a way I can 'fix' the seektable with flac-1.1.3? What's my best option moving forward here? Thanks! -- avuton -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. -- avuton -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
yahoo2
2006-Dec-05 17:32 UTC
[Flac] Fwd: flac-1.1.3 fails to decode where flac-1.1.2 works
At 07:22 PM 12/4/2006, Avuton Olrich wrote:>Attempt to resend this, I don't think it made it last time. This is a >big problem for me, as I often need to use --skip and --until on >unfinished files, and while it's slow it does continue to work. >Thanks, >avuton > >---------- Forwarded message ---------- >From: Avuton Olrich <avuton@gmail.com> >Date: Dec 2, 2006 5:33 AM >Subject: flac-1.1.3 fails to decode where flac-1.1.2 works >To: FLAC dev-ml <flac-dev@xiph.org> > > >I'm attempting to decode part of a largefile flac whose seektable is >broken or missing and the file is shorter then it's supposed to be, >when I use 1.1.2 it decodes fine, when I use 1.1.3 it fails > >flac --decode --skip=719:58.0 --until=1024:58.0 -o >\/home\/sbh\/work\/hs\/out.wav >\/mnt\/ss\/sdb\/Sound\/Recording\/2006\-11\-29\/in.flac > >out.wav: ERROR seeking while skipping bytes > state = > FLAC__STREAM_DECODER_SEEK_ERROR > >Is there a way I can 'fix' the seektable with flac-1.1.3? What's my >best option moving forward here?Use metaflac to fix the seektable. I use metaflac --add-seekpoint=20x filename.flac -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.9/571 - Release Date: 12/5/2006 11:50 AM
Josh Coalson
2006-Dec-11 11:03 UTC
[Flac-dev] flac-1.1.3 fails to decode where flac-1.1.2 works
--- Avuton Olrich <avuton@gmail.com> wrote:> I'm attempting to decode part of a largefile flac whose seektable is > broken or missing and the file is shorter then it's supposed to be, > when I use 1.1.2 it decodes fine, when I use 1.1.3 it fails > > flac --decode --skip=719:58.0 --until=1024:58.0 -o > \/home\/sbh\/work\/hs\/out.wav > \/mnt\/ss\/sdb\/Sound\/Recording\/2006\-11\-29\/in.flac > > out.wav: ERROR seeking while skipping bytes > state > FLAC__STREAM_DECODER_SEEK_ERROR > > Is there a way I can 'fix' the seektable with flac-1.1.3? What's my > best option moving forward here?are you sure it's a problem with the seektable? flac-1.1.3 has a new seeking algorithm and yuo may have hit a bug with it. does it happen on any large file? if so, what is the size threshold? if not, can you host an example for me to debug with? Josh ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
Avuton Olrich
2006-Dec-11 11:13 UTC
[Flac-dev] flac-1.1.3 fails to decode where flac-1.1.2 works
On 12/11/06, Josh Coalson <xflac@yahoo.com> wrote:> --- Avuton Olrich <avuton@gmail.com> wrote: > > I'm attempting to decode part of a largefile flac whose seektable is > > broken or missing and the file is shorter then it's supposed to be, > > when I use 1.1.2 it decodes fine, when I use 1.1.3 it fails > > > > flac --decode --skip=719:58.0 --until=1024:58.0 -o > > \/home\/sbh\/work\/hs\/out.wav > > \/mnt\/ss\/sdb\/Sound\/Recording\/2006\-11\-29\/in.flac > > > > out.wav: ERROR seeking while skipping bytes > > state > > FLAC__STREAM_DECODER_SEEK_ERROR > > > > Is there a way I can 'fix' the seektable with flac-1.1.3? What's my > > best option moving forward here? > > are you sure it's a problem with the seektable? flac-1.1.3 has > a new seeking algorithm and yuo may have hit a bug with it. > > does it happen on any large file? if so, what is the size threshold? > if not, can you host an example for me to debug with?It's definitely happening with largefiles, around 3-4GB. Also, like I was saying I normally like to cut parts of the file before the file has been 'completed' using the --skip and --until. -- avuton -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.