
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (86)
-
Diogene : création de masques spécifiques de formulaires d’édition de contenus
26 octobre 2010, parDiogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
A quoi sert ce plugin
Création de masques de formulaires
Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...) -
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 (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (10345)
-
Extract part of a video using ffmpeg_extract_subclip - get a clip longer than expected
4 juin 2020, par rightly0716I'm trying to extract a part of a video and find the solution on this page very helpful : 
Extract part of a video using ffmpeg_extract_subclip - black frames



The function
write_videofile
helps get what I need exactly but a bit slow. Theffmpeg_extract_subclip
function is indeed very fast, but somehow generates a weird clip that is slightly longer than what I need. For example, if I use thecmd
below (no matter with or without-copyinkf
),


ffmpeg -y -ss 218.00 -i input.mp4 -t 7.00 -vcodec copy -acodec copy output.mp4




My output.mp4 will be 9 second long, with the last two seconds frozen with no audio. Anyone saw a similar issue before ? Thanks a lot !


-
Combining two FFMPEG filters into single command
31 mai 2022, par shawnI would like to combine two filters and commands to a single ffmpeg command. What I want to achieve is overlay a static image on the video and draw a 90 degree rotated text as well.


Can anyone help with this ?


ffmpeg -y -i input.mp4 -i line.png -filter_complex "[0:v][1:v] overlay=105:625" -c:a copy output_video.mp4



ffmpeg -y -i input.mp4 -i line.png -filter_complex "color=black:100x100[c];[c][0]scale2ref[ct][mv];[ct]setsar=1,split=2[t1][t2];


[t1]drawtext=fontfile=/Library/Fonts/GenerisSansW01Heavy.ttf:
text=$TITLE:line_spacing=10:fontsize=23:fontcolor=white,split[text1][alpha1];
[text1][alpha1]alphamerge,rotate=270*PI/180:ow=rotw(270*PI/180):oh=roth(270*PI/180):c=black@0[txta1]; 

[t2]drawtext=fontfile=/Library/Fonts/GenerisSansW01Heavy.ttf:
text=$CONTENTS:line_spacing=0.5:fontsize=18:fontcolor=white,split[text2][alpha2];
[text2][alpha2]alphamerge,rotate=270*PI/180:ow=rotw(270*PI/180):oh=roth(270*PI/180):c=black@0[txta2]; 


[mv][txta1]overlay=x='min(0,-H*sin(270*PI/180))+40':y='min(0,W*sin(270*PI/180))+751':shortest=1[mv1]; 
[mv1][txta2]overlay=x='min(0,-H*sin(270*PI/180))+138':y='min(0,W*sin(270*PI/180))+752':shortest=1" -c:a copy output_video.mp4



-
ffmpeg datascope filter : How does it works ?
25 octobre 2022, par tonyI'm trying to see how the datascope filter is displaying the color values for a black and white image. I was expecting to see a part of the image with 0xfff and one with 0x000 value,
instead I obtained only the 0xfff for white


ffmpeg \
-f lavfi -i color=white:100x100 \
-f lavfi -i color=black:100x100 \
-lavfi '[0:v][1:v]hstack[out]' \
-map [out] \
-frames 1 \
blackAndWhite.png ; \


ffmpeg \
-i blackAndWhite.png \
-vf 'datascope' \
data.png