Difference between revisions of "OptimFROG"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
(update the relation to LA)
m (Fixed reference.)
(15 intermediate revisions by 10 users not shown)
Line 1: Line 1:
OptimFROG is a free [[lossless]] audio codec, known by its very high compression ratios.
+
{{Codec Infobox
OptimFROG is developed by Florin Ghido.
+
| name                = OptimFROG
 +
| logo                = [[File:Frog.gif]]
 +
| type                = lossless
 +
| purpose            = "reduce at maximum the size of audio files"
 +
| maintainer          = Florin Ghido
 +
| released = OptimFROG 5.100 (2016-09-02)
 +
| website            = [http://losslessaudio.org/ losslessaudio.org]
 +
}}
 +
'''OptimFROG''' is a [[lossless]] audio [[codec]] with optional support for hybrid lossless/lossy encoding.  It comes with a freeware (closed-source) command-line encoder/decoder and plugins for several players and processing front-ends, and an SDK to use in other applications. It is available for Windows, Linux, FreeBSD and MacOSX, all in both 32-bit and 64-bit versions.  Encoders for its hybrid "DualStream" format, and for floating-point audio, are included in the distributions in separate executables.
  
OptimFROG usually obtains the best lossless audio compression ratios on comparisions against other lossless encoders (practically a tie with the current champion [[LA]]). It has Windows and Linux versions, fully-featured input plug-ins for the foobar2000, Winamp2, Winamp3, dBpowerAMP, XMPlay and XMMS audio players (with bitstream error resilience, [[ID3v1|ID3v1.1]] and [[APEv2]] read tagging support), optimal support for all integer [[PCM]] [[WAV]] formats up to 32 bits and an extensible streamable (error tolerant) compressed format.  
+
OptimFROG is a codec that gives priority to compression size, sacrificing speed.  Its highest presets compress to smaller file sizes than any other codec, possibly except the (legacy/unmaintained) [[Lossless Audio|La]]. These presets are CPU intensive both for decoding and encoding, sometimes a 10x increase over the faster presets, where OptimFrog would compress about the speed of [[Monkey's Audio]] “Extra High” and achieve compression ratios like Monkey's “High”.<ref>http://audiograaf.nl/downloads.html Martijn van Beurden's lossless performance tests. Performance comparisons taken from version 4 and for CDDA audio; OptimFrog version tested 4.910b. Later versions introduced new presets, possibly altering the speed/compression trade-off.</ref>
  
One of its downsides is that there is no source code available, nor format specifications. Another downside is that it is relatively slow at both encoding and decoding.
 
  
OptimFROG uses a new audio compression technology, the generalized stereo decorrelation concept, which was first introduced with OptimFROG 4.0b in December 2001. At the time of its introduction, the new technology yielded significant better (~1.5%) compression than existing state of the art lossless audio compressors.
 
  
== Playback ==
+
 
 +
== Features ==
 +
For an end-user considering OptimFROG as a an audio format - likely due to its compression ratios or possibly its hybrid mode - some of the following features are quite common among lossless codecs, while some are more scarce - in particular, the end of this list. To compare OFR with other lossless codecs, see [[Lossless_comparison| HA Wiki's Lossless Codec Comparison]].
 +
 
 +
* Streaming support
 +
* Seekable playback
 +
* Error handling. Audio checksum for integrity verification optional (use the --md5 option)
 +
* High-resolution audio support up to 32 bits per channel.  Like [[WavPack]] but unlike most other formats, it also supports floating-point format (through a different executable included in the distribution).  OptimFrog works with higher sampling rates, but the maximum supported sampling rate seems undocumented.
 +
* Piping support for encoding, and support for RAW PCM input.
 +
* Tagging: ID3 or APEv2 tags.
 +
* RIFF chunks supported for recreating also non-audio chunks of the original .wav files.
 +
* Can read certain malformed .wav files; in particular, some hacks employed to fit more than the 4 GB size limitation into .wav files.
 +
* Like WavPack, but unlike most other encoders, it can create Windows self-extracting .sfx archives. 
 +
* Hybrid lossy/lossless encoding supported.  Like WavPack, but unlike most (every?) other end-user codecs, OptimFROG can decode both lossy and lossless streams together, to be maintained in the same library. A separate encoder is included in the distribution.
 +
 
 +
 
 +
=== Limitations ===
 +
* Currently there is no hardware supporting the format and software support is limited.  The official encoder/decoder is closed-source (but a an official library can be used in third-party applications).  Also the format has no official specification.
 +
* Encoding and also decoding is CPU intensive, especially in the higher modes.  Given that portable low-power devices are out of consideration as they cannot play the files anyway, speed might not be that much of a limitation with the power of modern computers. Still, users who consider playing OptimFrog files from a battery-powered laptop or tablet, might want to test battery life impact, especially since it varies so much over the settings.
 +
* No multichannel support.
 +
 
 +
Because OptimFrog - like MP3 - can accommodate both APE tags and ID3, tagging ambiguity could be an issue: one application might not read another's tags.  A user would likely want to stick to one tag format.  Mp3tag will by default write APE tags to .ofr files.
 +
 
 +
 
 +
===Software support===
 +
* [[Mp3tag]] for tagging.
 +
* [https://picard.musicbrainz.org/ MusicBrainz Picard] Tagger with audio identification
 
* [[foobar2000]]
 
* [[foobar2000]]
* [[XMMS]]
 
 
* [[Winamp]]
 
* [[Winamp]]
 +
* [[XMMS]]
 +
* [[XMPlay]] – plugin required (OptimFROG input plugin) and (bass library) to play 'OFR' files
 +
* [[dBPoweramp]] music converter
  
  
==Addtional Reading==
+
== Links ==
* [http://www.losslessaudiocompression.com/ Ghido's Data Compression Page]
+
* [http://losslessaudio.org/ Official OptimFROG website]
* [http://home.wanadoo.nl/~w.speek/comparison.htm compression benchmark of many lossless codecs]
+
* [[Lossless_comparison| HA Wiki's Lossless Codec Comparison]] originally by [[User:Rjamorim|Rjamorim]]  
* [[Lossless_comparison|Lossless Codec Comparison]] by Rjamorim
+
* [http://members.home.nl/w.speek/comparison.htm An older (2005) performance comparison of lossless audio compressors] by Speek, using OptimFrog version 4.509 {{webarchive|https://web.archive.org/web/20151027213336/http://members.home.nl/w.speek/comparison.htm|2015-10-27}}
 +
<references/>
 +
{{navbox audio codecs}}
 +
[[Category:Codecs]]

Revision as of 19:46, 16 January 2022

OptimFROG is a lossless audio codec with optional support for hybrid lossless/lossy encoding. It comes with a freeware (closed-source) command-line encoder/decoder and plugins for several players and processing front-ends, and an SDK to use in other applications. It is available for Windows, Linux, FreeBSD and MacOSX, all in both 32-bit and 64-bit versions. Encoders for its hybrid "DualStream" format, and for floating-point audio, are included in the distributions in separate executables.

OptimFROG is a codec that gives priority to compression size, sacrificing speed. Its highest presets compress to smaller file sizes than any other codec, possibly except the (legacy/unmaintained) La. These presets are CPU intensive both for decoding and encoding, sometimes a 10x increase over the faster presets, where OptimFrog would compress about the speed of Monkey's Audio “Extra High” and achieve compression ratios like Monkey's “High”.[1]



Features

For an end-user considering OptimFROG as a an audio format - likely due to its compression ratios or possibly its hybrid mode - some of the following features are quite common among lossless codecs, while some are more scarce - in particular, the end of this list. To compare OFR with other lossless codecs, see HA Wiki's Lossless Codec Comparison.

  • Streaming support
  • Seekable playback
  • Error handling. Audio checksum for integrity verification optional (use the --md5 option)
  • High-resolution audio support up to 32 bits per channel. Like WavPack but unlike most other formats, it also supports floating-point format (through a different executable included in the distribution). OptimFrog works with higher sampling rates, but the maximum supported sampling rate seems undocumented.
  • Piping support for encoding, and support for RAW PCM input.
  • Tagging: ID3 or APEv2 tags.
  • RIFF chunks supported for recreating also non-audio chunks of the original .wav files.
  • Can read certain malformed .wav files; in particular, some hacks employed to fit more than the 4 GB size limitation into .wav files.
  • Like WavPack, but unlike most other encoders, it can create Windows self-extracting .sfx archives.
  • Hybrid lossy/lossless encoding supported. Like WavPack, but unlike most (every?) other end-user codecs, OptimFROG can decode both lossy and lossless streams together, to be maintained in the same library. A separate encoder is included in the distribution.


Limitations

  • Currently there is no hardware supporting the format and software support is limited. The official encoder/decoder is closed-source (but a an official library can be used in third-party applications). Also the format has no official specification.
  • Encoding and also decoding is CPU intensive, especially in the higher modes. Given that portable low-power devices are out of consideration as they cannot play the files anyway, speed might not be that much of a limitation with the power of modern computers. Still, users who consider playing OptimFrog files from a battery-powered laptop or tablet, might want to test battery life impact, especially since it varies so much over the settings.
  • No multichannel support.

Because OptimFrog - like MP3 - can accommodate both APE tags and ID3, tagging ambiguity could be an issue: one application might not read another's tags. A user would likely want to stick to one tag format. Mp3tag will by default write APE tags to .ofr files.


Software support


Links

  1. http://audiograaf.nl/downloads.html Martijn van Beurden's lossless performance tests. Performance comparisons taken from version 4 and for CDDA audio; OptimFrog version tested 4.910b. Later versions introduced new presets, possibly altering the speed/compression trade-off.