[MPlayer-DOCS] [PATCH] new FAQ item: audio-only encoding
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Fri Nov 26 21:02:32 CET 2004
On Friday, 26 November 2004 at 05:34, Diego Biurrun wrote:
> Dominik 'Rathann' Mierzejewski writes:
> >
> > + mplayer -oac pcm -aofile encode dvd://1 &
>
> This is wrong, -oac is a MEncoder option. Do you mean "-ao pcm"?
Of course.
> > +just replace it with your favourite audio encoder in the above command.
>
> I'd say "favorite" here, we use American English.
Done.
Final version attached. Commit?
R.
--
MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
We stand between the darkness ... and the light."
-- Delenn in Grey Council in Babylon 5:"Babylon Squared"
-------------- next part --------------
Index: faq.xml
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/en/faq.xml,v
retrieving revision 1.53
diff -u -r1.53 faq.xml
--- faq.xml 24 Nov 2004 11:23:21 -0000 1.53
+++ faq.xml 26 Nov 2004 20:00:19 -0000
@@ -1439,6 +1439,23 @@
</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:
+<screen>
+ mkfifo encode
+ mplayer -ao pcm -aofile encode dvd://1 &
+ lame <replaceable>your_opts</replaceable> encode music.mp3
+ rm encode
+</screen>
+It allows you to use any encoder, not only <application>LAME</application>,
+just replace it with your favorite audio encoder in the above command.
+</para></answer>
+</qandaentry>
+
</qandadiv>
</qandaset>
More information about the MPlayer-DOCS
mailing list