Guest User

Untitled

a guest
Jun 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. SoundGlue
  2. by Phil Christensen
  3. 9-18-2005
  4.  
  5. This is a script that will handle the ins and outs of converting popular lossless
  6. sound formats to mp3. To the purists, I say, "go to hell!", and to everyone else
  7. I recommend not distributing the lossy files back to the world.
  8.  
  9. This has some tie-ins with etree.org, or more specifically, with FurtherNet,
  10. although since the advent of BitTorrent, I guess FN doesn't get used quite as
  11. much anymore.
  12.  
  13.  
  14. INSTALL
  15. --------
  16. You'll need run the install.sh script as root:
  17.  
  18. prompt# sh install.sh
  19.  
  20. which will install the necessary things in the necessary places.
  21.  
  22. You will also need to add /usr/local/bin to your $PATH variable, if you haven't
  23. already. Assuming your shell is bash, you should be able to run the following:
  24.  
  25. prompt# export PATH=$PATH:/usr/local/bin
  26.  
  27. After everything works, you can add that line (minus the prompt, of course) to
  28. your ~/.profile file.
  29.  
  30.  
  31. CONVERTING FLAC
  32. ----------------
  33. If you wish to convert a directory of flac files called 'music' to mp3:
  34.  
  35. prompt# flac2mp3 music/
  36.  
  37. This will create the .mp3 files at the same level as the flac file.
  38.  
  39. You can also add an argument for a folder to extract to:
  40.  
  41. prompt# flac2mp3 music/ converted-music/
  42.  
  43. which is a bit more convenient. You can also convert a single file by specifying
  44. it instead of a directory.
  45.  
  46.  
  47. CONVERTING SHORTEN
  48. -------------------
  49. Shorten conversion works the same way:
  50.  
  51. prompt# shn2mp3 music/
  52.  
  53. -OR-
  54.  
  55. prompt# shn2mp3 music/ converted-music/
  56.  
  57.  
  58. DETAILS
  59. --------
  60. * All mp3s are created at 256kbps, CBR.
  61. * Furthur incomplete directories (featuring a 'DO_NOT_EDIT' file) will be ignored.
  62. * After conversion, the script creates an invisible '.converted' file in the
  63. converted directory. Directories containing this file will be ignored. If you
  64. need to convert a directory again, just delete this file from the command-line.
Add Comment
Please, Sign In to add comment