Mercurial > mplayer.hg
comparison DOCS/xml/en/faq.xml @ 14060:9f7c1022627b
FAQ about audio-only encoding (approved by Diego)
author | rathann |
---|---|
date | Mon, 29 Nov 2004 12:47:02 +0000 |
parents | 0d9e27059495 |
children | 682ddd07f14e |
comparison
equal
deleted
inserted
replaced
14059:384ae6f896cf | 14060:9f7c1022627b |
---|---|
1437 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, | 1437 Just pass the <option>-sub <filename></option> (or <option>-sid</option>, |
1438 respectively) option to <application>MEncoder</application>. | 1438 respectively) option to <application>MEncoder</application>. |
1439 </para></answer> | 1439 </para></answer> |
1440 </qandaentry> | 1440 </qandaentry> |
1441 | 1441 |
1442 <qandaentry> | |
1443 <question><para> | |
1444 How do I encode only sound from a music video? | |
1445 </para></question> | |
1446 <answer><para> | |
1447 It's not possible directly, but you can try this (note the | |
1448 <emphasis role="bold">&</emphasis> at the end of | |
1449 <command>mplayer</command> command): | |
1450 <screen> | |
1451 mkfifo encode | |
1452 mplayer -ao pcm -aofile encode dvd://1 & | |
1453 lame <replaceable>your_opts</replaceable> encode music.mp3 | |
1454 rm encode | |
1455 </screen> | |
1456 This allows you to use any encoder, not only <application>LAME</application>, | |
1457 just replace <command>lame</command> with your favorite audio encoder in the | |
1458 above command. | |
1459 </para></answer> | |
1460 </qandaentry> | |
1461 | |
1442 </qandadiv> | 1462 </qandadiv> |
1443 </qandaset> | 1463 </qandaset> |
1444 | 1464 |
1445 </chapter> | 1465 </chapter> |