Difference between revisions of "Raw"

From VideoLAN Wiki
Jump to navigation Jump to search
m (→‎Source code: Fix formatting)
m (→‎See also: See also: ADPCM)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{codec audio|id=raw|mod=araw}}
+
<!-- dummy edit -->{{codec audio|id=raw|mod=araw}}
 
{{wikipedia|PCM}}
 
{{wikipedia|PCM}}
 
{{mmwiki|PCM}}
 
{{mmwiki|PCM}}
Line 34: Line 34:
 
== See also ==
 
== See also ==
 
* [[dummy]]
 
* [[dummy]]
 +
* [http://www.digitalpreservation.gov/formats/fdd/fdd000011.shtml US Library of Congress Linear Pulse Code Modulated Audio (LPCM)] - Potentially useful documentation on LPCM and PCM by digital preservationists
 +
* [[ADPCM]]
  
 
== Source code ==
 
== Source code ==
 
{{file|modules/codec/araw.c|audio codec}}
 
{{file|modules/codec/araw.c|audio codec}}

Latest revision as of 05:19, 31 January 2019

raw
This is an audio codec. The name to use at the command line is raw.
This codec is from the araw module.

VLC's raw codec decodes raw audio data in the PCM format.

Pulse-code modulation or PCM is the simplest way of storing audio data. At regular time intervals the audio is sampled, and the amplitude is stored.

PCM is the basis for WAVE audio files.

Fourcc

The following fourccs are used for this codec:

  • araw
  • "pcm "
  • aflt
  • twos
  • sowt
  • alaw
  • ulaw
  • fl64
  • fl32
  • s32l
  • s32b
  • s24l
  • s24b
  • s16l
  • s16b
  • "s8 "
  • "u8 "
  • in24
  • in32

See also

Source code