
Recherche avancée
Autres articles (43)
-
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5395)
-
Révision 20668 : Amélioration du debug des traductions :
24 juin 2013, par Eric Lupinacci- on normalise le nom des classes et leur coloration : vert pour les chaines ok, jaune pour les chaines provenant du module écrire et rouge pour les chaines non trouvées
- on repère dans la bulle d’info le module qui contient la chaine traduite en le mettant entre deux étoiles
- on évite de passer dans le traitement minimal qui enlève les underscores si on est en var_mode=traduction -
FFmpeg and Ruby linkage
9 août 2012, par Thomas Kobber PanumI'm getting this error :
Failed encoding. Errors: no output file created. Full output: dyld: Library not loaded: /usr/local/lib/libogg.0.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: Incompatible library version: ffmpeg requires version 9.0.0 or later, but libogg.0.dylib provides version 6.0.0I've installed ffmpeg through brew, and installed both the 'ffmpeg' gem and the 'streamio-ffmpeg' gem.
Running :
otool -L /usr/local/lib/libogg.0.dylib
gives me this output :
/usr/local/lib/libogg.0.dylib:
/usr/local/lib/libogg.0.dylib (compatibility version 9.0.0, current version 9.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)The file I'm using ffmpeg in, looks like this :
# lib/carrierwave/ffmpeg.rb
require 'streamio-ffmpeg'
module CarrierWave
module FFMPEG
module ClassMethods
def resample( bitrate )
process :resample => bitrate
end
end
def resample( bitrate )
directory = File.dirname( current_path )
tmpfile = File.join( directory, "tmpfile" )
FileUtils.mv( current_path, tmpfile )
file = ::FFMPEG::Movie.new(tmpfile)
file.transcode( current_path, :audio_bitrate => bitrate)
File.delete( tmpfile )
end
end
end -
Convert AAC (.m4a) files to .mp3 in directory
25 juillet 2012, par elithrarI'm writing a script to convert AAC files to MP3 - specifically so I can burn them to MP3 CD's as iTunes won't transcode on the fly. I've adapted the code from Write a simple python script to convert all .wav files in a specific folder to .mp3 using lame
It currently converts the first file in the directory and then stops.
I have a cursory knowledge of Python, but not the subprocess module. Went through the docs and can't see why it is not continuing to process the files.
#!/usr/bin/env python
import os
import os.path
import sys
import subprocess
OUTPUT_DIR = '/Users/matt/Desktop/mp3/'
def main():
path = os.getcwd()
filenames = [
filename
for filename
in os.listdir(path)
if filename.endswith('.m4a')
]
for filename in filenames:
subprocess.call([
"ffmpeg", "-i",
os.path.join(path, filename),
"-acodec", "libmp3lame", "-ab", "256k",
os.path.join(OUTPUT_DIR, '%s.mp3' % filename[:-4])
])
return 0
if __name__ == '__main__':
status = main()
sys.exit(status)