Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp123 authored Oct 18, 2017
1 parent 05ea197 commit 5108c77
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p>A small Python script to convert mp4 video files to mp3 audio. Useful for turning video from sites such as www.ted.com into audio files useable on any old mp3 player.<br>
It uses mplayer and lame to do the actual conversion.</p>

<b>usage</b>: python mp4tomp3.py [input directory [output directory]]<br>
<b>Usage</b>: python mp4tomp3.py [input directory [output directory]]<br>
&nbsp;&nbsp;<i><b>input directory</b></i> (optional) - set directory containing mp4 files to convert (defaults to current folder)<br>
&nbsp;&nbsp;<i><b>output directory</b></i> (optional) - set directory to export mp3 files to (defaults to input)<br>
<b>example</b>: python mp4tomp3.py ./video ./audio<br>
Expand All @@ -14,3 +14,10 @@ sudo apt-get install python3.6 -- for python 3
sudo apt-get install mplayer
sudo apt-get install lame
</pre>

<b>Mac Support</b>: Thanks to jdingus for this tip.<br>
First install Homebrew (https://brew.sh/). Once installed you will be able to install dependencies with the following commands.<br>
<pre>
brew install mplayer
brew install lame
</pre>

0 comments on commit 5108c77

Please sign in to comment.