Shorten (file format)

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 other 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.

Shorten
Developer(s)Tony Robinson
Initial releaseMarch 30, 1993 (1993-03-30)
Stable release
3.6.1 / 2007-03-19 (final)
Operating systemCross-platform
TypeAudio codec Data compression
LicenseShorten Software License
Websiteetree.org/shnutils/shorten/
Shorten
Filename extension
.shn
Developed byTony Robinson
Type of formatAudio

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" "${f/%.shn/.flac}"; done

There are also various GUI programs which can be used, like SoundConverter [1]

Converting on Windows

A similar command using the freely available ffmpeg for the Microsoft Windows command line:

for /r %i in (*.shn) do ffmpeg -i %~ni%~xi %~ni.flac
gollark: It's the easiest example I could come up with. You could probably look at history or sports too.
gollark: That isn't really a goal. Virioids aren't going around thinking about their goals and how best to satisfy them. They just do things related to that due to the output of blind optimisation processes.
gollark: Things winning is often not determined by actual merit but unrelated factors and random chance. This happens a lot in computing, where a terrible standard comes first or is supported by big companies or something, and nobody can ever get everyone to switch.
gollark: I think it's just the sugar molecules on their own and presumably very concentrated.
gollark: I agree.

See also

References


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.