
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (56)
-
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" ; -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (5162)
-
How to Run FFPlay from lua ?
25 avril 2016, par NSAI have put together a windows C++ based lua shell application to test my media server. As part of this I need to launch FFPlay and have it play rtsp uri’s. I have tried :
os.execute('ffplay.exe rtsp://uri')
And I have tried creating a C++ hook into my shell where I added a C++ function that then did :
system("ffplay.exe rtsp://uri");
Unfortunately in both cases FFPlay starts but doesn’t create a window with the video in it. I am able to confirm that FFPlay is running by checking the list of processes running. Can explain how I can run FFPlay from my process and get it to create its video window on windows ?
Thank you
-
FFMPEG command not running in script
5 novembre 2012, par vivI have created a shell script to convert video, the command is working properly inside the shell script if the file to be converted is in the current directory, whereas if the file is inside directory then i am getting error.
When I echoed the command inside script and ran it manually then it's running properly.Below is the command :
ffmpeg -i $1 -strict experimental -vcodec libx264 -vf "scale=-1:$video_height" -y $tmp_file 2>&1
Any ideas ?
-
Ffmpeg map and filter_complex subprocess - Python
4 décembre 2015, par jlarschI want to crop and re encode videos via ffmpeg from within python using subprocesses.
I managed starting a subprocess using a pure string command and shell=True but I want to build more complex commands and would prefer to use shell=False and passing a list of arguments.
So what works is this form (this is a simplified example, there will be multiple streams in the final version) :
import subprocess as sp
sp.Popen('ffmpeg.exe -i Test.avi -filter_complex "[0:v]crop=1024:1024:0:0[out1]" -map [out1] out1.mp4', shell=True)This script produces the expected cropped output video.
For a list of arguments, I tried :
FFMPEG_PATH = 'ffmpeg.exe'
aviP='Test.avi'
sp.Popen([FFMPEG_PATH,
'-i', aviP,
'-filter_complex', '[0:v]crop=1024:1024:0:0[out1]',
'-map', '[out1] out1.mp4'])When I execute this second version, simply nothing happens. (no error, no output)
I suspect I am messing up something in the map command syntax ?