Changes between Version 3 and Version 4 of audio types
- Timestamp:
- Jun 11, 2015, 7:21:19 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
audio types
v3 v4 44 44 The default for encoding .wav files it uses is pcm_s16le, you can change it by specifying an "acodec" and using the .wav file extension: 45 45 46 {{{ ffmpeg -i input -acodec pcm_s32le yo.wav }}}46 {{{ ffmpeg -i input -acodec pcm_s32le output.wav }}} 47 47 48 48 Which will create a .wav file containing audio with that codec (not a raw file) (there are also other containers that can contain raw audio packets, like pcm_bluray). If you want to create a raw file, don't use the ".wav" ending: 49 49 50 {{{ ffmpeg -i input - acodec pcm_s32le yo.raw }}}50 {{{ ffmpeg -i input -f s16le -acodec pcm_s16le output.raw }}}