
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (99)
-
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 (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (8611)
-
linux video loop : write to named pipe
5 mars 2012, par puchuI am going to create funny video today :P. I am looking for utility that will loop video and write it to named pipe. I like ffmpeg to compress video that's why I am doing :
mkfifo video.looped
ffmpeg -i video.looped ...but how to write to this pipe looped video ? I found a very common solution :
mencoder -o video.looped ... video video video ...
and it works great. but is there something more comfortable ? something like :
mplayer -fixed-vo -loop 5 video -dumpstream -dumpfile video.looped
but this does not work. only first video went into pipe
-
Pipe raw OpenCV images to FFmpeg
15 février 2017, par BrianTheLionHere’s a fairly straightforward example of reading off a web cam using OpenCV’s python bindings :
'''capture.py'''
import cv, sys
cap = cv.CaptureFromCAM(0) # 0 is for /dev/video0
while True :
if not cv.GrabFrame(cap) : break
frame = cv.RetrieveFrame(cap)
sys.stdout.write( frame.tostring() )Now I want to pipe the output to ffmpeg as in :
$ python capture.py | ffmpeg -f image2pipe -pix_fmt bgr8 -i - -s 640x480 foo.avi
Sadly, I can’t get the ffmpeg magic incantation quite right and it fails with
libavutil 50.15. 1 / 50.15. 1 libavcodec 52.72. 2 / 52.72. 2 libavformat 52.64. 2 / 52.64. 2 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.19. 0 / 1.19. 0 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 Output #0, avi, to ’out.avi’ : Stream #0.0 : Video : flv, yuv420p, 640x480, q=2-31, 19660 kb/s, 90k tbn, 30 tbc [image2pipe @ 0x1508640]max_analyze_duration reached [image2pipe @ 0x1508640]Estimating duration from bitrate, this may be inaccurate Input #0, image2pipe, from ’pipe :’ : Duration : N/A, bitrate : N/A Stream #0.0 : Video : 0x0000, bgr8, 25 fps, 25 tbr, 25 tbn, 25 tbc swScaler : 0x0 -> 640x480 is invalid scaling dimension
- The captured frames are definitely 640x480.
- I’m pretty sure the pixel order for the OpenCV image type (IplImage) is GBR, one byte per channel. At least, that’s what seems to be coming off the camera.
I’m no ffmpeg guru. Has anyone done this successfully ?
-
Evolution #2371 : médiatheque : pipe entre les boutons et présentation inhomogene
17 octobre 2011, par cedric -les boutons sont utilisés quand le clic provoque une modification de la base de donnée. Les liens quand le clic permet d’accèder à une autre page (navigation). C’est donc cohérent. pour les pipes disgracieux, a voir.