aboutsummaryrefslogtreecommitdiff
path: root/miragextract.rst
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-05-07 13:44:26 -0400
committerB. Watson <yalhcru@gmail.com>2020-05-07 13:44:26 -0400
commit5f414352d6b1acafa8c1ac5f1452d2c7eb7876ad (patch)
tree21ce9a369e1032a5fffebf0364d7b5ded61f35f2 /miragextract.rst
parent6da702b80b131da67e50b7ec5fafe9f2a6fba43b (diff)
downloadmiragextract-5f414352d6b1acafa8c1ac5f1452d2c7eb7876ad.tar.gz
add -a and -d options
Diffstat (limited to 'miragextract.rst')
-rw-r--r--miragextract.rst19
1 files changed, 16 insertions, 3 deletions
diff --git a/miragextract.rst b/miragextract.rst
index 5a097f8..3ae82db 100644
--- a/miragextract.rst
+++ b/miragextract.rst
@@ -41,6 +41,10 @@ OPTIONS
-l Lists the tracks in the image without extracting them.
+-a Extract only audio tracks.
+
+-d Extract only data tracks.
+
-s Swaps bytes in audio tracks. Use this if your audio files sound
like white noise or gibberish.
@@ -48,12 +52,19 @@ OPTIONS
Default behaviour is to extract all tracks.
-b Sets the base filename for the output files. Default is 'track'.
+ See also the -n option. Beware of using filenames with directory
+ separators in them: the output files will be written in the same
+ dir as the input file. Hopefully you have permission to write there.
+
+-n Set the base filename to the input filename, minus its extension.
+ E.g. for foo.cue, this is the same as saying "-b foo".
-f Sets the format and filename extension for the output files.
- Choices are 'wav', 'ogg', 'flac', 'cdda' (raw CD audio). Default is 'wav'.
+ Choices are **wav**, **ogg**, **flac**, **cdda** (raw CD audio). Default is **wav**.
--q Quality setting for .ogg and .flac output files. Integer from 0
- to 10. Default is 7.
+-q Quality setting for ogg and flac output files. Integer from 0
+ to 10. Default is 7. Has very little effect on flac, and no effect on
+ wav or cdda output.
NOTES
=====
@@ -61,6 +72,8 @@ NOTES
Image-file is e.g. a .cue, .ccd, .nrg, .mds, or anything else supported
by libmirage. See the README for your version of libmirage for details.
+Output files will be overwritten if they already exist, with no prompting.
+
Output audio files are named track01.wav, track02.wav, etc by default. The
'track' part of the name can be set with -b, and the extension will
match the encoding set with -f. Note that mp3 is NOT a valid -f option.