
Recherche avancée
Autres articles (111)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
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 (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (7423)
-
How to edit Video metadata while in Binary State using Python
16 juin 2021, par DeadUserI want to download a Video file from internet using requests library and before saving that endit metadata of the video.



import requests

url = 'https://www.sample-videos.com/video123/mp4/720/big_buck_bunny_720p_5mb.mp4'

r = requests.get(url, stream=True)

with open('video.mp4', 'wb') as file:
 file.write(r.content)





I just want to change the metadata to video before saving the file.


-
How to restore a recorded mkv video back to its original state [closed]
5 avril 2023, par itpotatoesThe mkv video recorded with the Kinect camera was converted to mp4 after converting the color, depth, and ir video to avi using mkvtoolnix.
When I try to convert this back to avi with ffmpeg, it says that the depth and ir images cannot contain rawvideo gray16be in the avi container. Does anyone know of another way ?


I could change it to another codec, but I couldn't convert it to rawvideo gray16be format.


-
Download a stream via ffmpeg in Node.js
16 juillet 2018, par loretoparisiI’m using
ffmpeg
to download an audio stream in Node.js. I usechild_process
for that :var downloadStream = function(uri,opath) {
var self=this;
// defaults
var loglevel= self.logger.isDebug() ? 'debug' : 'warning';
return new Promise((resolve, reject) => {
const args = [
'-y',
'-loglevel', loglevel,
'-v', 'quiet',
'-i', uri,
opath
];
const opts = {
cwd: self._options.tempDir
};
cp.spawn('ffmpeg', args, opts)
.on('message', msg => self.logger.info(msg))
.on('error', reject)
.on('close', resolve)
.on('exit', function (code, signal) {
console.log('child process exited with ' +
`code ${code} and signal ${signal}`);
resolve(code);
});
});
}//downloadStreamWhat happens is that the
close
event is called before the file has been written to the disk. I have also registered theexit
that is called with theclose
. While executing the command inbash
I get the stream saved in theopath
as expected. Which event listener shall I register for that ?