Shorten (file format)


Shorten is a file format used for compressing audio data. It is a form of data compression of files and is used to losslessly compress CD-quality audio files. Shorten is no longer developed and other lossless audio codecs such as FLAC, Monkey's Audio, TTA, and WavPack have become more popular. However, Shorten is still in use by some people because there are legally traded concert recordings in circulation that are encoded as Shorten files. Shorten files use the.shn file extension.

Handling Shorten files

Since few players or media writers attempt to decompress Shorten files, a standalone decompression program is usually required to convert to a different file format that those applications can handle. Some Rockbox applications can play Shorten files without decompression, and third-party Shorten plug-ins exist for Nero Burning ROM, Foobar2000, and Winamp. All libavcodec based players and converters support the Shorten codec.

Converting on Linux

Current versions of ffmpeg or avconv support the shorten format. To convert all.shn files in the current directory to FLAC on Linux:
for f in *.shn; do ffmpeg -i "$f" "$"; done
There are also various GUI programs which can be used, like SoundConverter

Converting on Windows

A similar command using the freely available ffmpeg for the Microsoft Windows command line:
for /r %i in do ffmpeg -i %~ni%~xi %~ni.flac