
Recherche avancée
Autres articles (33)
-
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 (...) -
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 ) (...)
Sur d’autres sites (8265)
-
ffmpeg non-continuous live streaming
2 août 2022, par xrfangI have an IP camera which is normally power off, and is triggered by Infra-Red signal. I plan to use ffmpeg to pull RTSP stream from it, and convert to HLS video segments.


My question is, can ffmpeg work continuously and output blank MPEGTS chunks while it is not able to connect to the camera, i.e. works 7x24, waiting for video data, instead of crash/exit if it cannot connect to the camera.


-
How to restrict CPU load of FFmpeg call ?
9 septembre 2022, par rattlesnakeAs described here, for example, I'm using FFmpeg to check video file integrity like this :


ffmpeg -v error -i input.mp4 -f null -



Since I plan to run this in the background, I want to limit the CPU load. I already tried
-threads 1
,-filter_threads 1
,-filter_complex_threads 1
. Nothing helps and FFmpeg still uses as many cores as it can get. Which parameter am I overlooking ?

-
Creating a video from data of server-side script
8 mars 2016, par Peter LeupoldMy plan is to display the data that a server-side script generates in a video displayable on my web page. So far my approach is the following :
- A three dimensional integer array in a C script is use to accumulate the image data. Dimensions are width, breadth and color (R, G and B).
- The array is written to a ppm-file.
- The next picture is accumulated and written and so on.
- With ffmpeg a script merges the ppm-files to a mp4-video.
Basically this works, but of course faster would be nicer. I would appreciate proposals for fundamentally different approaches as well as help on the following details :
- Is there a file format simple as ppm that uses the HEX code for colors instead of triplets ? This would reduce the size of my array as well a the number of write operations.
- Do I loose much time if I print every single value to the file with an fprintf operation instead of accumulating lines into a string ? Or do compilers optimize this kind of sequences of writes ?