search for: sfoddfix

Displaying 3 results from an estimated 3 matches for "sfoddfix".

2007 Nov 02
1
Re: Welcome to the "Flac" mailing list
that's why i asked the original poster if the files were odd size, i had that issue before with a 24 bit mono file and wrote this script to fix it: #!/bin/sh # # sfoddfix - Sound File ODD size FIXer # # NOTE: flac v1.1.2 pukes on files that have an odd byte count, this pads them files=${*:-*.wav} for file in $files do size=$(stat --printf='%s' $file) if [ $(($size%2)) -ne 0 ]; then echo "size=$size" echo "echo -e \"\\0377\\c...
2007 Nov 02
2
Re: Welcome to the "Flac" mailing list
dd if=$file ibs=1 count=$(($(stat --printf='%s' $file)-2)) of=$file.new of course if you run this on one of the files that doesn't have the extra 2 bytes you're gonna lose something you didn't want to On 11/1/07, Alex Brims <alex.brims@gmail.com> wrote: > Ok, we actually worked this out - there were 2 extra bytes doing nothing at > the end of the files. Opening
2007 Jun 10
4
Flac woes
Howdy, Flac-1.1.4 is refusing to encode some WAV files (amd64, gentoo): % flac Song\ Name-Track01.wav Song Name-Track01.wav: WARNING: legacy WAVE file has format type 1 but bits-per-sample=24 Song Name-Track01.wav: 100% complete, ratio=0.546Song Name-Track01.wav: ERROR during read of data pad byte % sfinfo Song\ Name-Track01.wav File Name Song Name-Track01.wav File Format Microsoft RIFF