
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (64)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (13277)
-
AndroidBitmap_lockPixels always failing
25 avril 2013, par user1568549In my
jni
module I copy images tobitmaps
, which were previously
passed from my java application.I do this using
AndroidBitmap_lockPixels/AndroidBitmap_unlockPixels
.
Basically, it renders the image correctly, but there're strange
effects : sometimes the application gets stuck, or after some time
AndroidBitmap_lockPixels
always returns -3(ANDROID_BITMAP_RESULT_ALLOCATION_FAILED)
. I guess this is because I
update these bitmaps not from theGUI
thread, isn't it ?If so, what would be correct way to "post" this operation to the GUI
thread ? Is it possible in
jni
?Thanks.
-
AndroidBitmap_lockPixels failing with -3 code
24 avril 2013, par user1568549In my
jni
module I copy images tobitmaps
, which were previously
passed from my java application.I do this using
AndroidBitmap_lockPixels/AndroidBitmap_unlockPixels
.
Basically, it renders the image correctly, but there're strange
effects : sometimes the application gets stuck, or after some time
AndroidBitmap_lockPixels
always returns -3(ANDROID_BITMAP_RESULT_ALLOCATION_FAILED)
. I guess this is because I
update these bitmaps not from theGUI
thread, isn't it ?If so, what would be correct way to "post" this operation to the GUI
thread ? Is it possible in
jni
?Thanks.
-
How do I use ffmpeg with Python by passing File Objects (instead of locations to files on disk)
1er mai 2012, par Lyle PrattI'm trying to use ffmpeg with Python's subprocess module to convert some audio files. I grab the audio files from a URL and would like to just be able to pass the Python File Objects to ffmpeg, instead of first saving them to disk. It would also be very nice if I could just get back a file stream instead of having ffmpeg save the output to a file.
For reference, this is what I'm doing now :
tmp = "/dev/shm"
audio_wav_file = requests.get(audio_url)
## ## ##
## This is what I don't want to have to do ##
wavfile = open(tmp+filename, 'wrb')
wavfile.write(audio_wav_file.content)
wavfile.close()
## ## ##
conversion = subprocess.Popen('ffmpeg -i "'+tmp+filename+'" -y "'+tmp+filename_noext+'.flac" 2>&1', shell = True, stdout = subprocess.PIPE).stdout.read()Does anyone know how to do this ?
Thanks !