
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (41)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (5959)
-
Python OpenCV real-time blurring with saving to output
10 janvier 2024, par Oleg NovosadI have a live video stream via RTSP from my IP camera. I want to blur faces on that stream and output for mobile usage (HLS, H.264, etc). All this should ideally happen in real-time — with the minimum of resources consumed. I plan to deploy this later to some cloud, so the less money I spend on resources the better.


Currently I have a working solution like so :


- 

- I capture video using OpenCV
- I update every frame with Gaussian Blur and save it to some folder
- After some amount of frames I create MP4 / AVI / whatever video and make it accessible via HTTP URL
- All of it is running on Django for now










I know I am doing something wrong, can someone suggest a better solution ?


-
How to make video loop properly ?
28 mai 2019, par woopwoop399I want to play this video in a loop https://www.nicovideo.jp/watch/sm16617386 . I want to play an mp4 file in such a way, that whenever it gets to some point in the video (let’s say, 30.3 seconds), it will loop back (to for example 5.85 seconds).
I tried to add this code in ffplay.c , it didn’t work well enough, I can hear the transition. I guess seeking isn’t fast enough, or audio needs to be looped in an independant way somehow.
static void video_refresh(void *opaque, double *remaining_time)
{
(original code here...)
time = get_master_clock(is);
if (isnan(time))
time = (double)is->seek_pos / AV_TIME_BASE;
if (time > jump_when) {
stream_seek(is, (int64_t)(6.0 * AV_TIME_BASE), (int64_t)(0.0 * AV_TIME_BASE), 0);
}
}My current plan is to just dig into ffmpeg, understand how video and audio decoders work, and savestate/loadstate the decoders.
-
How do I use find and ffmpeg to batch convert a bunch of .flac files to .mp3 ?
30 avril 2019, par KeithI have a directory with a bunch of .flac files that I need to convert to .mp3. I plan to use
ffmpeg
from the command line to do the conversions and I’d like to avoid doing this manually for every file. I’m familiar with thefind
command but I’m having difficulty using it with ffmpeg which requires both input and output filenames. I imagine using something likefind . -name "*.flac" -exec ffmpeg -i {}.flac {}.mp3 +
But of course this doesn’t work. For one thing it fails to strip prefixes and suffixes from the filename being passed to ffmpeg.
Please also note that the filenames include whitespace so the solution has to ignore whitespace successfully. I’m also on OS X having built ffmpeg with homebrew.