/tests/TESTING.txt

http://echo-nest-remix.googlecode.com/ · Plain Text · 20 lines · 16 code · 4 blank · 0 comment · 0 complexity · 2df3401eb9dc6aafde9344645345f81e MD5 · raw file

  1. Test that an Echo-Nest-Remix-compatible version of ffmpeg is installed.
  2. Run the tests like this:
  3. python test_ffmpeg.py
  4. If you want to test that your version of ffmpeg can handle a particular file,
  5. (like if you're planning on analyzing OggVorbis files and want to make sure
  6. your ffmpeg can decode them), run like this:
  7. python test_ffmpeg.py my_crazy_audio_file.mp47
  8. If any of these tests fail, chances are you are using a version of ffmpeg
  9. that doesn't have all the codecs it needs installed. To remedy this, either
  10. find and install the missing codecs, or use the version of en-ffmpeg provided
  11. by The Echo Nest. To use the provided en-ffmpeg, copy the binary appropriate
  12. to your OS from external/en-ffmpeg/ to the location where your system keeps
  13. binaries (on mac this is /usr/local/bin/).
  14. The audio file provided for testing, input_file.mp3, is "Guppies" by
  15. Raleigh Moncrief, licensed under a Creative Commons Attribution-NonCommercial License.
  16. http://freemusicarchive.org/music/Raleigh_Moncrief/Vitamins_EP/Raleigh_Moncrief_-_Vitamins_EP_-_02_Guppies