
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (67)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (11773)
-
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)