
Recherche avancée
Autres articles (17)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (7485)
-
Using ffmpeg dshow option "HP Webcam Splitter" leaves a process running and the webcam light on
7 septembre 2017, par Matt MahonyI am streaming from a webcam using a command line like (simplified) :
ffmpeg.exe -f dshow -i video="HP Webcam Splitter" -c:v libx264 -an -f rtp rtp://localhost:50041
When the "HP Webcam Splitter" option is used, it launches a "HPMediaSmartWebcam.exe" process. This is a process used to stream the webcam to more than one process. My problem is when ffmpeg closes, that executable is still running, and it leaves the webcam light on.
I can manually kill the HPMediaSmartWebcam.exe process, but I’m hoping for a cleaner way to do this. Does ffmpeg have any idea another external process was launched ? Can ffmpeg detect that and close the new process ? Or is this a bug in the HPMediaSmartWebcam.exe program ?
-
How to combine ffmpeg and imagemagick codes which work separately but don't work together ?
3 octobre 2018, par senopsThese codes are getting picture dimensions and combining them one on top of the other.
The first working code :@echo off&setlocal enabledelayedexpansion
for /f "tokens=1,2 delims=:" %%x in ('identify -format %%w:%%h image_1.jpg') do set w1=%%x&set h1=%%y
for /f "tokens=1,2 delims=:" %%x in ('identify -format %%w:%%h image_2.jpg') do set w2=%%x&set h2=%%y
echo %w1% %h1% %w2% %h2%
pauseThe second working code :
@echo off&setlocal enabledelayedexpansion
set /a w1=1000
set /a w2=500
set /a h1=700
set /a h2=400
if !w1! LSS !h1! (
set "p1=oh/mdar:h='max(ih,main_h)'"
If !w2! LSS !h2! (
set "p2=oh/mdar:h='max(ih,main_h)'[1max][0max];[0max][1max]vstack"
) else (
set "p2='max(iw,main_w)':h=ow/mdar[1max][0max];"
)
) else (
set "p1='max(iw,main_w)':h=ow/mdar"
if !w2! LSS !h2! (
set "p2=oh/mdar:h='max(ih,main_h)'[1max][0max];[0max][1max]vstack"
) else (
set "p2='max(iw,main_w)':h=ow/mdar[1max][0max];[0max][1max]vstack"
)
)
ffmpeg -i image_1.jpg -i image_2.jpg -filter_complex "[0][1]scale2ref=w=!p1![0max][1ref];[1ref][0max]scale2ref=w=!p2!" -q:v 1 -y combined.jpgBut when I put them together they don’t work :
@echo off&setlocal enabledelayedexpansion
for /f "tokens=1,2 delims=:" %%x in ('identify -format %%w:%%h image_1.jpg') do set w1=%%x&set h1=%%y
for /f "tokens=1,2 delims=:" %%x in ('identify -format %%w:%%h image_2.jpg') do set w2=%%x&set h2=%%y
if !w1! LSS !h1! (
set "p1=oh/mdar:h='max(ih,main_h)'"
If !w2! LSS !h2! (
set "p2=oh/mdar:h='max(ih,main_h)'[1max][0max];[0max][1max]vstack"
) else (
set "p2='max(iw,main_w)':h=ow/mdar[1max][0max];"
)
) else (
set "p1='max(iw,main_w)':h=ow/mdar"
if !w2! LSS !h2! (
set "p2=oh/mdar:h='max(ih,main_h)'[1max][0max];[0max][1max]vstack"
) else (
set "p2='max(iw,main_w)':h=ow/mdar[1max][0max];[0max][1max]vstack"
)
)
ffmpeg -i image_1.jpg -i image_2.jpg -filter_complex "[0][1]scale2ref=w=!p1![0max][1ref];[1ref][0max]scale2ref=w=!p2!" -q:v 1 -y combined.jpg -
Android's FFmpegMediaMetadataRetriever's getFrameAtTime() returns corrupted Bitmap
18 août 2015, par Miko DikoI have code that retrieves frames from a video.
It works ok, but when it gets to the last frame of a video, it returns a Bitmap which has (width = 1 and height = 8), from a 9:16 video.What are the possible reasons ?