Audio thumbnailing & spectrograms, media plugins use sniffing
authorJoar Wandborg <git@wandborg.com>
Tue, 28 Feb 2012 20:59:38 +0000 (21:59 +0100)
committerJoar Wandborg <git@wandborg.com>
Tue, 28 Feb 2012 20:59:38 +0000 (21:59 +0100)
commit10085b77391c0ca0b33a6ba82ca46da1babbea8f
treed6e02200d728a0bcc64ae4fd0970cb70b7eb729b
parent9f46a79ddebcc3b2a8bc1dd1ef4f67575bfb53c6
Audio thumbnailing & spectrograms, media plugins use sniffing

* Added extlib/freesound/audioprocessing.py
* config_spec
  * Added create_spectrogram setting
  * Added media:medium and media:thumb max_{width,height} settings
* Added sniffing logic to
  - audio.processing:sniff_handler
  - video.processing:sniff_handler
* Changed audio.processing:sniff_handler logic
* Added audio thumbnailing functionality to audio.processing
  (works only with create_spectrogram enabled)
* Refractored contexts in audio.processing
* Added audio.transcoders:AudioThumbnailer
  Used for creating spectrograms and spectrogram thumbnails -
  Wadsworth's Constant, we meet again :)
* audio.transcoders:AudioTranscoder
  - Added mux_string kwarg
  - Delete self.pipeline on self.halt()
* Changed str.format formatting in image.processing:sniff_handler
  Had {1} without an {0}, changed to {0}
* Refractored VideoTranscoder to use transcode() for transcoding instead
  of __init__()
* Added discover() method to video.transcoders:VideoTranscoder
* Added spectrogram display to media_displays/audio.html
* Updated test_submission to reflect changes in media plugin delegation
extlib/freesound/audioprocessing.py [new file with mode: 0644]
mediagoblin/config_spec.ini
mediagoblin/media_types/ascii/processing.py
mediagoblin/media_types/audio/audioprocessing.py [new symlink]
mediagoblin/media_types/audio/processing.py
mediagoblin/media_types/audio/transcoders.py
mediagoblin/media_types/image/processing.py
mediagoblin/media_types/video/processing.py
mediagoblin/media_types/video/transcoders.py
mediagoblin/templates/mediagoblin/media_displays/audio.html
mediagoblin/tests/test_submission.py