LoginSignup
0
1

More than 5 years have passed since last update.

linuxコマンドラインで音声ファイルフォーマット変換

Last updated at Posted at 2017-02-24

概要

コマンドラインでささっと音声ファイルのフォーマットやサンプリング周波数変換したい時のコマンドを調べました。

install

Ubuntu系ではapt-getで入ります。Ubuntu 14.04で確認。

sudo apt-get install libav-tools

サンプリング周波数変換

サンプリング周波数44.1KHzに変換します

avconv -i infile.wav -ar 44100 -o outfile.ogg

フォーマット変換

ogg vorbisへ変換します

avconv -i infile.wav -acodec libvorbis -o outfile.ogg

参考リンク

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1