Well I bothered to find a solid state music player that will play oggs. And then I found that most of my oggs are damaged and make the player freeze.
All of them were converted from mp3 using sox on Slackware 10.1/10.2
When running ogginfo on a broken file, I get something like this:
Processing file "abc.ogg"...
Note: Stream 1 has serial number 0, which is legal but may cause problems with s ome tools.
...
User comments section follows...
TITLE=a
ARTIST=b
ALBUM=c
DATE=1992
COMMENT=d
TRACKNUMBER=1
Warning: Hole in data found at approximate offset 4657500 bytes. Corrupted ogg.
Warning: EOS not set on stream 1
Vorbis stream 1:
Total data length: 4650846 bytes
Playback length: 3m:52.453s
Average bitrate: 160,061112 kb/sfixoggs.sh) with the following contents:# convert spaces to underscores in filenames for NAME in *.ogg do mv -v "$NAME" `echo $NAME | tr ' ' '_'` done # convert from ogg to wav and back for NAME in *.ogg do echo "Fixing $NAME:" sox $NAME `basename $NAME .ogg`.wav sox `basename $NAME .ogg`.wav $NAME done # to see whether there are errors ogginfo *.ogg echo -n "Delete wav files? (y/N) " read DELETE if [ "$DELETE" = "y" ] then rm *.wav fi