mktoc.1 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH MKTOC 1 "2018-01-11" "1.3" "SlackBuilds.org"
  4. .SH NAME
  5. mktoc \- create TOC files for audio CDs
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .\" RST source for mktoc(1) man page. Convert with:
  34. .
  35. .\" rst2man.py mktoc.rst > mktoc.1
  36. .
  37. .\" rst2man.py comes from the SBo development/docutils package.
  38. .
  39. .\" Upstream's README is already RST, I just added some stuff to make
  40. .
  41. .\" it format in man page style.
  42. .
  43. .SH SYNOPSIS
  44. .INDENT 0.0
  45. .INDENT 3.5
  46. .sp
  47. .nf
  48. .ft C
  49. mktoc [OPTIONS] < CUE_FILE
  50. mktoc [OPTIONS] [[\-f] CUE_FILE] [[\-o] TOC_FILE]
  51. mktoc [OPTIONS] \-w WAV_FILES [[\-o] TOC_FILE]
  52. .ft P
  53. .fi
  54. .UNINDENT
  55. .UNINDENT
  56. .SH DESCRIPTION
  57. .\" Mktoc // (c) 2011, Patrick C. McGinty
  58. .
  59. .\" mktoc[@]tuxcoder[dot]com
  60. .
  61. .sp
  62. Mktoc simplifies the steps needed to create audio CD TOC files for the
  63. cdrdao CD burning program. For users familiar with ExactAudioCopy or CdrWin,
  64. TOC files are synonymous with CUE sheets. The primary goal of mktoc is to
  65. create TOC files using a previously generated CUE sheet.
  66. .SH FEATURES
  67. .INDENT 0.0
  68. .IP \(bu 2
  69. Create a TOC file from a list of WAV files.
  70. .IP \(bu 2
  71. Convert an ExactAudioCopy (EAC) CUE file to the TOC format that
  72. is usable by cdrdao.
  73. .IP \(bu 2
  74. Multi\-session aware CUE parsing, necessary for making CDDB and
  75. AccurateRip matchable discs.
  76. .IP \(bu 2
  77. Non\-compliant CUE sheet support.
  78. .IP \(bu 2
  79. Support for various pregap methods.
  80. .IP \(bu 2
  81. Can create offset corrected WAV files for true \(aqbit\-for\-bit\(aq
  82. accurate copies.
  83. .IP \(bu 2
  84. Fuzzy file name logic can correct common file name spelling
  85. variations.
  86. .IP \(bu 2
  87. Workaround known TOC file parsing bugs in cdrdao.
  88. .UNINDENT
  89. .SH USAGE
  90. .sp
  91. \fBCUE_FILE\fP must contain a valid CUE format. When \fB*_FILE\fP is not
  92. provided, the program will read from \fBSTDIN\fP\&. All output will be sent to
  93. \fBSTDOUT\fP\&.
  94. .sp
  95. All attempts will be made to preserve any and all information from the input
  96. file. For any case where the CUE file contains unknown or bad values, the
  97. user will be notified on \fBSTDERR\fP\&.
  98. .SH OPTIONS
  99. .INDENT 0.0
  100. .TP
  101. .B \-\-version
  102. show program\(aqs version number and exit
  103. .TP
  104. .B \-h
  105. show help message and exit
  106. .TP
  107. .B \-\-help
  108. show detailed usage instructions and exit
  109. .TP
  110. .B \-a\fP,\fB \-\-allow\-missing\-wav
  111. do not abort when WAV file(s) are missing, (experts only). It is possible
  112. when using this option that a bug in cdrdao will create a CD that ignores
  113. the pregap definitions in the TOC file. Only use this option if the CUE
  114. file does not contain pregaps, or if you do not wish to retain the pregap
  115. information.
  116. .TP
  117. .BI \-c \ <WAV_OFFSET>\fP,\fB \ \-\-offset\-correction\fB= <WAV_OFFSET>
  118. correct reader/writer offset by creating WAV file(s) shifted by
  119. WAV_OFFSET samples (original data is not modified)
  120. .TP
  121. .B \-d\fP,\fB \-\-debug
  122. enable debugging statements
  123. .TP
  124. .BI \-f \ <CUE_FILE>\fP,\fB \ \-\-file\fB= <CUE_FILE>
  125. specify the input CUE file to read
  126. .TP
  127. .B \-m\fP,\fB \-\-multi
  128. for safety, this option must be set when creating a mulit\-session TOC
  129. file
  130. .TP
  131. .BI \-o \ <TOC_FILE>\fP,\fB \ \-\-output\fB= <TOC_FILE>
  132. specify the output TOC file to write
  133. .TP
  134. .B \-t\fP,\fB \-\-use\-temp
  135. write offset corrected WAV files to /tmp directory
  136. .TP
  137. .B \-w\fP,\fB \-\-wave
  138. write a TOC file using list of WAV files
  139. .TP
  140. .B \-z\fP,\fB \-\-no\-multi
  141. disable multi\-session support; program assumes TOC will be written in
  142. single\-session mode
  143. .UNINDENT
  144. .SH EXAMPLES
  145. .INDENT 0.0
  146. .IP 1. 3
  147. Create a TOC file from a set of WAV files:
  148. .INDENT 3.0
  149. .INDENT 3.5
  150. .sp
  151. .nf
  152. .ft C
  153. mktoc \-w *.wav
  154. .ft P
  155. .fi
  156. .UNINDENT
  157. .UNINDENT
  158. .IP 2. 3
  159. Write a TOC file to \fBtoc_file.toc\fP, from a set of WAV files:
  160. .INDENT 3.0
  161. .INDENT 3.5
  162. .sp
  163. .nf
  164. .ft C
  165. mktoc \-w *.wav toc_file.toc
  166. mktoc \-w *.wav > toc_file.toc
  167. mktoc \-w *.wav \-o toc_file.toc
  168. .ft P
  169. .fi
  170. .UNINDENT
  171. .UNINDENT
  172. .IP 3. 3
  173. Create a TOC file from a valid CUE file:
  174. .INDENT 3.0
  175. .INDENT 3.5
  176. .sp
  177. .nf
  178. .ft C
  179. mktoc cue_file.cue
  180. mktoc < cue_file.cue
  181. mktoc \-f cue_file.cue
  182. .ft P
  183. .fi
  184. .UNINDENT
  185. .UNINDENT
  186. .IP 4. 3
  187. Write a TOC file to \fBtoc_file.toc\fP, given an input CUE file:
  188. .INDENT 3.0
  189. .INDENT 3.5
  190. .sp
  191. .nf
  192. .ft C
  193. mktoc cue_file.cue toc_file.toc
  194. mktoc < cue_file.cue > toc_file.toc
  195. mktoc \-f cue_file.cue \-o toc_file.toc
  196. .ft P
  197. .fi
  198. .UNINDENT
  199. .UNINDENT
  200. .IP 5. 3
  201. Tell mktoc to ignore missing WAV file errors. There is a potential that
  202. the result TOC file will cause cdrdao to lose pregap information during
  203. the burn process (see above):
  204. .INDENT 3.0
  205. .INDENT 3.5
  206. .sp
  207. .nf
  208. .ft C
  209. mktoc \-a cue_file.cue
  210. .ft P
  211. .fi
  212. .UNINDENT
  213. .UNINDENT
  214. .IP 6. 3
  215. Adjust WAV files for a CD writer offset value. For example, if your CD
  216. writer has a \-30 sample write offset, it can be corrected by offsetting
  217. the input WAV files by +30 samples. New WAV files will be placed in the
  218. working directory in a new dir called \fBwav+30\fP:
  219. .INDENT 3.0
  220. .INDENT 3.5
  221. .sp
  222. .nf
  223. .ft C
  224. mktoc \-c 30 < cue_file.cue
  225. .ft P
  226. .fi
  227. .UNINDENT
  228. .UNINDENT
  229. .IP 7. 3
  230. Adjust WAV files for a CD writer offset value, but create new files in
  231. the \fB/tmp\fP directory:
  232. .INDENT 3.0
  233. .INDENT 3.5
  234. .sp
  235. .nf
  236. .ft C
  237. mktoc \-c 30 \-t < cue_file.cue
  238. .ft P
  239. .fi
  240. .UNINDENT
  241. .UNINDENT
  242. .UNINDENT
  243. .SH CONTACT
  244. .SS E\-mail
  245. .nf
  246. mktoc[@]tuxcoder[dot]com
  247. .fi
  248. .sp
  249. .SS Info
  250. .nf
  251. \fI\%http://packages.python.org/mktoc/\fP
  252. \fI\%https://github.com/cmcginty/mktoc\fP
  253. \fI\%http://blog.tuxcoder.com\fP
  254. .fi
  255. .sp
  256. .\" Generated by docutils manpage writer.
  257. .