Changeset e08ddbe
- Timestamp:
- 04/16/07 22:55:38 (6 years ago)
- Branches:
- master, crem, crem2, dev, diadems, forma, generic, instru_search, lam, nlivemulti, production, release/1.4.4, security, social, storage, test, video
- Children:
- 8398a9c
- Parents:
- 7ac66203
- git-author:
- yomguy <> (04/16/07 22:55:38)
- git-committer:
- yomguy <> (04/16/07 22:55:38)
- Files:
-
- 8 added
- 4 edited
-
AUTHORS (modified) (1 diff)
-
telemeta/__init__.py (modified) (1 diff)
-
telemeta/export/__init__.py (modified) (1 diff)
-
telemeta/export/api.py (modified) (4 diffs)
-
telemeta/export/core.py (added)
-
telemeta/export/default.py (added)
-
telemeta/export/flac.py (added)
-
telemeta/export/ogg.py (added)
-
telemeta/export/wav.py (added)
-
tests/export_test.py (added)
-
tests/samples/wav/Cellar - Show Me - 02.wav (added)
-
tests/telemeta (added)
Legend:
- Unmodified
- Added
- Removed
-
AUTHORS
r3a10201 re08ddbe 1 1 Guillaume Pellerin <yomguy@altern.org> 2 Olivier Guilyardi <olivier@samalyse.com> -
telemeta/__init__.py
rf04d8d5 re08ddbe 1 # -*- coding: utf-8 -*- 2 3 """ 4 Telemeta 5 Parisson SARL 6 7 U{http://svn.parisson.org/telemeta} 8 9 @author: Guillaume Pellerin <pellerin@parisson.com> 10 @author: Olivier Guilyardi <olivier@samalyse.com> 11 """ 12 13 __docformat__ = 'epytext en' 14 __version__ = '0.2.8' 15 __url__ = 'http://svn.parisson.org/telemeta' 16 __copyright__ = '(C) 2007 Parisson' 17 __license__ = 'BSD' 18 __license_long__ = """ 19 Copyright (C) 2007 Parisson 20 All rights reserved. 21 22 Redistribution and use in source and binary forms, with or without 23 modification, are permitted provided that the following conditions 24 are met: 25 26 1. Redistributions of source code must retain the above copyright 27 notice, this list of conditions and the following disclaimer. 28 2. Redistributions in binary form must reproduce the above copyright 29 notice, this list of conditions and the following disclaimer in 30 the documentation and/or other materials provided with the 31 distribution. 32 3. The name of the author may not be used to endorse or promote 33 products derived from this software without specific prior 34 written permission. 35 36 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 37 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 38 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 39 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 40 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 41 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 42 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 43 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 44 IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 45 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 46 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 47 """ 48 49 1 50 from telemeta.util.logger import Logger 2 51 -
telemeta/export/__init__.py
rd4a79f6 re08ddbe 1 from telemeta.export.api import * 2 from telemeta.export.core import * 3 from telemeta.export.ogg import * 4 from telemeta.export.flac import * 5 from telemeta.export.wav import * -
telemeta/export/api.py
rd4a79f6 re08ddbe 1 # -*- coding: utf-8 -*- 2 # 3 # Copyright (C) 2007 Parisson SARL 4 # Copyright (c) 2007 Olivier Guilyardi <olivier@samalyse.com> 5 # Copyright (c) 2007 Guillaume Pellerin <pellerin@parisson.com> 6 # All rights reserved. 7 # 8 # This software is licensed as described in the file COPYING, which 9 # you should have received as part of this distribution. The terms 10 # are also available at http://svn.parisson.org/telemeta/TelemetaLicense. 11 # 12 # Author: Olivier Guilyardi <olivier@samalyse.com> 13 # Guillaume Pellerin <pellerin@parisson.com> 1 14 2 15 class IExporter: … … 25 38 """Return the mime type corresponding to this export format""" 26 39 27 def set_cache_dir ectory(path):40 def set_cache_dir(path): 28 41 """Set the directory where cached files should be stored. Does nothing 29 42 if the exporter doesn't support caching. … … 40 53 resource 41 54 42 source is the audio/video source file absolute path. For audio that should43 be a WAV file55 source is the audio/video source file absolute path. For audio that 56 should be a WAV file 44 57 45 58 metadata is a dictionary … … 48 61 should be considered temporary/volatile by the caller. 49 62 50 It is highly recommended that export drivers implement some sort of cache51 instead of re-encoding each time process() is called. 63 It is highly recommended that export drivers implement some sort of 64 cache instead of re-encoding each time process() is called. 52 65 53 It should be possible to make subsequent calls to process() with different54 items, using the same driver instance.66 It should be possible to make subsequent calls to process() with 67 different items, using the same driver instance. 55 68 """ 56
Note: See TracChangeset
for help on using the changeset viewer.
