mktoc.rst 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. .. RST source for mktoc(1) man page. Convert with:
  2. .. rst2man.py mktoc.rst > mktoc.1
  3. .. rst2man.py comes from the SBo development/docutils package.
  4. .. Upstream's README is already RST, I just added some stuff to make
  5. .. it format in man page style.
  6. .. |version| replace:: 1.3
  7. .. |date| date::
  8. =====
  9. mktoc
  10. =====
  11. ------------------------------
  12. create TOC files for audio CDs
  13. ------------------------------
  14. :Manual section: 1
  15. :Manual group: SlackBuilds.org
  16. :Date: |date|
  17. :Version: |version|
  18. SYNOPSIS
  19. ========
  20. ::
  21. mktoc [OPTIONS] < CUE_FILE
  22. mktoc [OPTIONS] [[-f] CUE_FILE] [[-o] TOC_FILE]
  23. mktoc [OPTIONS] -w WAV_FILES [[-o] TOC_FILE]
  24. DESCRIPTION
  25. ===========
  26. .. Mktoc // (c) 2011, Patrick C. McGinty
  27. .. mktoc[@]tuxcoder[dot]com
  28. Mktoc simplifies the steps needed to create audio CD TOC files for the
  29. cdrdao CD burning program. For users familiar with ExactAudioCopy or CdrWin,
  30. TOC files are synonymous with CUE sheets. The primary goal of mktoc is to
  31. create TOC files using a previously generated CUE sheet.
  32. Features
  33. ========
  34. * Create a TOC file from a list of WAV files.
  35. * Convert an ExactAudioCopy (EAC) CUE file to the TOC format that
  36. is usable by cdrdao.
  37. * Multi-session aware CUE parsing, necessary for making CDDB and
  38. AccurateRip matchable discs.
  39. * Non-compliant CUE sheet support.
  40. * Support for various pregap methods.
  41. * Can create offset corrected WAV files for true 'bit-for-bit'
  42. accurate copies.
  43. * Fuzzy file name logic can correct common file name spelling
  44. variations.
  45. * Workaround known TOC file parsing bugs in cdrdao.
  46. Usage
  47. =====
  48. ``CUE_FILE`` must contain a valid CUE format. When ``*_FILE`` is not
  49. provided, the program will read from ``STDIN``. All output will be sent to
  50. ``STDOUT``.
  51. All attempts will be made to preserve any and all information from the input
  52. file. For any case where the CUE file contains unknown or bad values, the
  53. user will be notified on ``STDERR``.
  54. Options
  55. =======
  56. --version
  57. show program's version number and exit
  58. -h
  59. show help message and exit
  60. --help
  61. show detailed usage instructions and exit
  62. -a, --allow-missing-wav
  63. do not abort when WAV file(s) are missing, (experts only). It is possible
  64. when using this option that a bug in cdrdao will create a CD that ignores
  65. the pregap definitions in the TOC file. Only use this option if the CUE
  66. file does not contain pregaps, or if you do not wish to retain the pregap
  67. information.
  68. -c <WAV_OFFSET>, --offset-correction=<WAV_OFFSET>
  69. correct reader/writer offset by creating WAV file(s) shifted by
  70. WAV_OFFSET samples (original data is not modified)
  71. -d, --debug
  72. enable debugging statements
  73. -f <CUE_FILE>, --file=<CUE_FILE>
  74. specify the input CUE file to read
  75. -m, --multi
  76. for safety, this option must be set when creating a mulit-session TOC
  77. file
  78. -o <TOC_FILE>, --output=<TOC_FILE>
  79. specify the output TOC file to write
  80. -t, --use-temp
  81. write offset corrected WAV files to /tmp directory
  82. -w, --wave
  83. write a TOC file using list of WAV files
  84. -z, --no-multi
  85. disable multi-session support; program assumes TOC will be written in
  86. single-session mode
  87. Examples
  88. ========
  89. 1. Create a TOC file from a set of WAV files::
  90. mktoc -w *.wav
  91. 2. Write a TOC file to ``toc_file.toc``, from a set of WAV files::
  92. mktoc -w *.wav toc_file.toc
  93. mktoc -w *.wav > toc_file.toc
  94. mktoc -w *.wav -o toc_file.toc
  95. 3. Create a TOC file from a valid CUE file::
  96. mktoc cue_file.cue
  97. mktoc < cue_file.cue
  98. mktoc -f cue_file.cue
  99. 4. Write a TOC file to ``toc_file.toc``, given an input CUE file::
  100. mktoc cue_file.cue toc_file.toc
  101. mktoc < cue_file.cue > toc_file.toc
  102. mktoc -f cue_file.cue -o toc_file.toc
  103. 5. Tell mktoc to ignore missing WAV file errors. There is a potential that
  104. the result TOC file will cause cdrdao to lose pregap information during
  105. the burn process (see above)::
  106. mktoc -a cue_file.cue
  107. 6. Adjust WAV files for a CD writer offset value. For example, if your CD
  108. writer has a -30 sample write offset, it can be corrected by offsetting
  109. the input WAV files by +30 samples. New WAV files will be placed in the
  110. working directory in a new dir called ``wav+30``::
  111. mktoc -c 30 < cue_file.cue
  112. 7. Adjust WAV files for a CD writer offset value, but create new files in
  113. the ``/tmp`` directory::
  114. mktoc -c 30 -t < cue_file.cue
  115. Contact
  116. =======
  117. E-mail
  118. ------
  119. | mktoc[@]tuxcoder[dot]com
  120. Info
  121. ----
  122. | http://packages.python.org/mktoc/
  123. | https://github.com/cmcginty/mktoc
  124. | http://blog.tuxcoder.com