Skip to content
adding info about the -q option authored by Eric F's avatar Eric F
...@@ -7,7 +7,7 @@ For the base command to convert, I use: ...@@ -7,7 +7,7 @@ For the base command to convert, I use:
ffmpeg -i "<file>" -ab 320k "<file>.mp3" ffmpeg -i "<file>" -ab 320k "<file>.mp3"
But, it has a check for `ffmpeg` and can take multiple inputs. But, it has a check for `ffmpeg` and can take multiple inputs. You can also set the “kbps” manually with option `-q`. Default is 320.
...@@ -25,12 +25,12 @@ I use `/usr/local/xbin` for most of my own (junk) scripts, to not mix with all t ...@@ -25,12 +25,12 @@ I use `/usr/local/xbin` for most of my own (junk) scripts, to not mix with all t
## Usage ## Usage
Quality defaults to 100 (%), but can be altered. Kbps defaults to 320k, but can be altered.
2mp3 <move or audiofile> 2mp3 <move or audiofile>
2mp3 "/path/to/some/movie.flv" # -> movie.mp3 2mp3 "/path/to/some/movie.flv" # -> movie.mp3
2mp3 "/path/to/some/web clip.mp4" # -> web_clip.mp3 2mp3 "/path/to/some/web clip.mp4" # -> web_clip.mp3
2mp3 -q 192 "/path/to/some/movie.mp4" # kbps = 192k (default: 320k)
[2mp3]: https://github.com/iEFdev/junkyard/blob/master/2mp3 "2mp3" [2mp3]: https://github.com/iEFdev/junkyard/blob/master/2mp3 "2mp3"