
Recherche avancée
Autres articles (102)
-
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 ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site
Sur d’autres sites (7388)
-
Revision 5bdecc65b5 : Removing duplicated example file example_xma.c. The same file is in examples fo
18 janvier 2014, par Dmitry KovalevChanged Paths :
Delete /example_xma.c
Removing duplicated example file example_xma.c.The same file is in examples folder now.
Change-Id : I0f541f4424a0f0a67abd95907cb9d32132112f37
-
Why FFMPEG PNG image compression output file bigger than input file ?
8 janvier 2018, par Nuwan ChamaraI have tested following ffmpeg against several images following code for compression.
C:\ffmpeg\bin\ffmpeg -y -i .\ff.png .\ff_out.png
for jpg images its reduces the file size but for some png images it gives output file larger than input file. i got smaller output file only for image which bit depth = 8.
-
Opening a video file from local drive as buffer and write it into new file
19 avril 2017, par laslavincoI have multiple broken video files of one same video I need to join them together as one video again but when I tried this
import os
path = 'C:/temp/test'
files = os.listdir(path)
for file in files:
mainFile = open('C:/temp/main.mp4','ab')
with open(path+'/'+file,'rb') as read:
print (read)
mainFile.write(read)
mainFile.close()It threw an Error saying
TypeError: must be string or buffer, not file
So I don’t know how do I make a video file buffer. I tried googling it and I found something called ffmpeg but it’s a third party app. All I need is buffer of a file.