Jump to content

Shorten (codec)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 108.45.142.234 (talk) at 00:13, 30 May 2013. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Shorten
Developer(s)Tony Robinson
Stable release
3.6.1 / 2007-03-19 (final)
Operating systemCross-platform
TypeAudio codec Encoder
LicenseShorten Software License
Websiteetree.org/shnutils/shorten/
Shorten
Filename extension
.shn
Internet media typeapplication/x-shorten
Developed byTony Robinson
Type of formatAudio

Shorten (SHN) 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 (44.1 kHz 16-bit stereo PCM). Shorten is no longer developed and more recent lossless audio codecs such as FLAC, Monkey's Audio (APE), TTA, and WavPack (WV) 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 support the shorten format. To convert all .shn files in the current directory to FLAC:

for f in *.shn; do b=$(basename "$f" ".shn"); ffmpeg -i "$f" "$b.flac"; done

See also