audio.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 13 Jul 2012 22:32:19 +0300
changeset 1334 9bf0d5a1f0cf
parent 1192 544e05263a39
child 1350 69dff9ee90aa
permissions -rw-r--r--
Include common header with quick links.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

========
 Audio.
========
.. contents::

Sound in Debian.
================

 * http://wiki.debian.org/ALSA
 * http://wiki.debian.org/SoundFAQ

Suitable convertors?
====================
::

  $ sudo apt-get install ffmpeg

or::

  $ sudo apt-get install sox

List of sox supported format.
=============================

See sox(1).

List of ffmpeg supported format.
================================
::

  $ ffmpeg -formats

How convert amr to ogg/mp3?
===========================

TODO

How easy convert between mp3/wav/ogg?
=====================================
::

  $ sox in.mp3 out.ogg
  $ sox in.ogg out.wav
  ... etc

How convert flac to mp3?
========================
::

  $ flac -c -d $file.flac | lame -m j -q 0 -V 0 -s 44.1 - $file.mp3

How convert wma to mp3?
=======================
::

  $ mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader $file.wma
  $ lame -m s audiodump.wav -o "$file.mp3
  $ rm audiodump.wav

How convert m4a to mp3?
=======================
::

  $ faad -o - $file.m4a | lame -V 0 - $file.mp3

How split mp3/ogg files?
========================

Split mp3 and ogg files::

  $ mp3splt

See::

  http://mp3splt.sourceforge.net/mp3splt_page/home.php
                home page