Mercurial > mplayer.hg
changeset 14060:9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
author | rathann |
---|---|
date | Mon, 29 Nov 2004 12:47:02 +0000 |
parents | 384ae6f896cf |
children | 682ddd07f14e |
files | DOCS/xml/en/faq.xml |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/xml/en/faq.xml Mon Nov 29 11:28:02 2004 +0000 +++ b/DOCS/xml/en/faq.xml Mon Nov 29 12:47:02 2004 +0000 @@ -1439,6 +1439,26 @@ </para></answer> </qandaentry> +<qandaentry> +<question><para> +How do I encode only sound from a music video? +</para></question> +<answer><para> +It's not possible directly, but you can try this (note the +<emphasis role="bold">&</emphasis> at the end of +<command>mplayer</command> command): +<screen> + mkfifo encode + mplayer -ao pcm -aofile encode dvd://1 & + lame <replaceable>your_opts</replaceable> encode music.mp3 + rm encode +</screen> +This allows you to use any encoder, not only <application>LAME</application>, +just replace <command>lame</command> with your favorite audio encoder in the +above command. +</para></answer> +</qandaentry> + </qandadiv> </qandaset>