Browse Source

README: update Usage & title

master
Matteo Cypriani 2 years ago
parent
commit
20f4e61f26
1 changed files with 15 additions and 7 deletions
  1. 15
    7
      README.md

+ 15
- 7
README.md View File

@@ -1,5 +1,5 @@
1
-NRGrip - extract audio track and cue sheet from an NRG audio CD image
2
-=====================================================================
1
+NRGrip - extract audio data and cue sheet from an NRG audio CD image
2
+====================================================================
3 3
 
4 4
 This program works on a Nero Burning ROM's NRG image of an audio CD and is able
5 5
 to:
@@ -35,18 +35,26 @@ on your system, then:
35 35
 Usage
36 36
 -----
37 37
 
38
-At the moment, NRGrip doesn't take any options, you just invoke it with the name
39
-of an NRG image:
38
+To see the full usage, run:
40 39
 
41
-    nrgrip image.nrg
40
+    nrgrip --help
41
+
42
+Basically, you can display the metadata and extract the data with:
43
+
44
+    nrgrip -ix image.nrg
42 45
 
43 46
 The cue sheet will be extracted as `image.cue`, and the audio data as
44 47
 `image.raw`.
45 48
 
46
-To play the extracted raw audio data, you may use `aplay`, from the ALSA utils
47
-(you can also do that directly on the NRG file):
49
+The raw audio data from a CD is 16 bit, little endian, 44100 Hz, stereo. To
50
+play it, you may use, for instance, `aplay` from the ALSA utils, or `ffplay`
51
+from `FFmpeg`:
48 52
 
49 53
     aplay -f cd image.raw
54
+    ffplay -f s16le -ac 2 image.raw
55
+
56
+Note that you can also play the NRG file directly, if the sector size is 2352
57
+(no sub-channel).
50 58
 
51 59
 To encode the raw audio data to FLAC (and embed the cue sheet in it):
52 60
 

Loading…
Cancel
Save