
Recherche avancée
Autres articles (91)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (3079)
-
Cannot download and install ffmpeg for python
19 février 2017, par ismail yussufI’m having a problem with downloading ffmpeg for python. It seems to me that no matter what I do it just doesn’t work.
Btw ,sorry for the images but I still don’t know how to post my command prompt on here. So here is the error i’m getting.I’ve already tried "pip install ffmpeg-normalize" and when I do that I get this.
FYI I already downloaded imageio and that went totally fine. I even have the ffmpeg.py file in imageio. Does anyone know how I can install it properly ?
-
Error launching ffmpeg in Windows service for screen recording using GDI capture and issue when screen is locked
21 mai 2023, par Артем АртемычI have a Go application that works as Windows service. It launches ffmpeg to record the screen using the Win32 GDI-based screen capture device. However, when the service runs under the SYSTEM account, ffmpeg fails to start, and I receive the following error :


[gdigrab @ 000001ff2a1ea200] Capturing whole desktop as 1024x768x32 at (0,0)
[gdigrab @ 000001ff2a1ea200] Failed to capture image (error 5)
[gdigrab @ 000001ff2a1ea200] Could not find codec parameters for stream 0 (Video: bmp, none, 125831 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, gdigrab, from 'desktop':
 Duration: N/A, bitrate: 125831 kb/s
 Stream #0:0: Video: bmp, none, 125831 kb/s, 5 fps, 1000k tbr, 1000k tbn
Output #0, mpegts, to 'pipe:1':
Output file #0 does not contain any stream




However, if I run ffmpeg using the token of the current user, like this :


token, _ := wintoken.GetInteractiveToken(wintoken.TokenLinked) // using the "github.com/fourcorelabs/wintoken" library
a.cmd = exec.Command("ffmpeg", params...)
a.cmd.SysProcAttr = &syscall.SysProcAttr{
 Token: syscall.Token(token.Token()),
 CreationFlags: 0x08000000,
 HideWindow: true,
}



the screen recording works. But as soon as the UAC prompt appears or the screen is locked (win+L), the recording stops with the following error :


[gdigrab @ 00000258d9efa540] Failed to capture image (error 5)
Error demuxing input file 0: I/O error
desktop: I/O error



I have tried running ffmpeg with psexec :


timeout 10 /NOBREAK && psexec -i -h -d -s ffmpeg -f gdigrab -framerate 5 -i desktop -c:v libx264 -preset veryfast -bf 2 -g 150 out.mp4




If recording starts while the screen is locked, everything works fine, i.e. ffmpeg records the locked screen. However, I haven't been able to reproduce this behavior when launching from Go. Is it possible to achieve continuous screen recording without stopped when the UAC prompt appears or the screen is locked ?
Or maybe there are other approaches in which I can solve my problem


-
how to run ffmpeg commands from browser
3 mai 2016, par Gaurav BoraI have been able to stream live camera feed from my laptop camera to an adobe media server. I am running the commands in command prompt in my laptop. I wanted to know how to connect this to a browser where I can run these commands from a web browser. I mean access the camera from the browser and run the ffmpeg commands to stream the camera feed to the rtmp server.