I had a look at FLAC.pm in the SS source, but I don't really understand
perl so I'm guessing at what it does.  I notice that it emits warnings
when there are problems, but I don't know how to switch that on.

One thing I notice is that if the FLAC file looks like it's from a CD,
the parser will abort if the sample numbers are not exact multiples of
588 (which your numbers are not, obviously).  Your sample numbers are,
I guess, multiples of 640 (the first non-zero one is, anyway).

But I don't know how the scanner comes up with its 'isCD' flag (maybe
some value is set inside the FLAC file?).  We need some input from a SS
developer, I think.

Regarding the problem you had originally, which led you to using sample
numbers: is it possible to just tell the FLAC encoder to assume a sample
rate of 48000 instead of 44100?  I know that Josh responded in that
thread to warn of problems when the AC3 bitrate varies, but the output
padding ensures that (in all cases that I've seen) the size of a frame
remains constant.  That might be enough to make it just work.


-- 
smst
------------------------------------------------------------------------
smst's Profile: http://forums.slimdevices.com/member.php?userid=752
View this thread: http://forums.slimdevices.com/showthread.php?t=28297

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to