
Recherche avancée
Autres articles (74)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (7068)
-
possible C code implementation ideas for a given shell script(related to ffmpeg)
21 août 2011, par TedThe shell script i'm trying to implement goes like this,
#!/bin/bash
while [ 1 ]
do
nc -l 1234 | ffmpeg -i pipe:0 -vcodec mpeg4 -s qcif -f m4v -y pipe:1 | nc localhost 1235
donewhat it does is to simply take in a stream of video input through network and do live video transcoding(with ffmpeg of course !) and streaming back the video through the net. my question is how should i go by to implement this functionality in a clean C code. i know i can use popen() to pipe such a command from a c code but i would like to do better. may be with sockets and staff... any pointers are appreciated.
AskLearnDo.
-
Convert Cairo ImageSurface to PIL Image object
31 octobre 2015, par SimonI’m trying to convert a Cairo ImageSurface to a PIL Image object so it can be passed to an ffmpeg pipe.
What I have so far is :
where svgstr holds the SVG data of the image as a string.
img = cairo.ImageSurface(cairo.FORMAT_ARGB32, 386,1080)
ctx = cairo.Context(img)
#render the svg as a png
handle= rsvg.Handle(None, svgstr)
handle.render_cairo(ctx)
imgPIL = Image.frombuffer("RGBA",( img.get_width(),img.get_height() ),img.get_data(),"raw","RGBA",0,1)
img44 = imgPIL.convert("RGBA")
img44.save(p.stdin,"PNG")If I save the image to file rather than passing it to the pipe, I get some version of grayscale. When passed to the pipe it gives "IOError : [Errno 32] Broken pipe"
Ultimately I’m just trying to convert SVG data to some sort of object that I can pass to the ffmpeg pipe to concatenate images into a video without having to save the images to disk first.
-
C/C++ pointer to an FFMPEG image stream ?
12 juin 2020, par AVDI'm using FFMPEG to acquire a video stream from an Axis IP camera.



ffmpeg -i rtsp://192.168.0.90/mpeg4/media.amp -f rawvideo -codec copy pipe:1




I would like to pipe the video stream output into another application (LabVIEW) for live viewing however I'm not quite sure how to do this. The function I would like to pipe the image input into requires a C/C++ pointer to the image. How can I get a pointer to the image data in the FFMPEG stream ?