
Recherche avancée
Autres articles (73)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (5074)
-
How to stop ffmpeg-lavfi from changing output frame rate per second
23 mars 2020, par rupinderjeetI have an MP4 video from Giphy. This video is 200ms long with 10 fps as reported by
mediainfo
. I am trying to use ffmpeg to add filters to this video.1) Following command works perfectly. The output video keeps fps=10 and duration=200ms
ffmpeg3 \
-y \
-i input.mp4 \
-i watermark.jpg \
-filter_complex "[0][1]overlay=W-w-20:H-h-20" \
-c:a aac \
-preset ultrafast \
output.mp4But, for more filters, I need to use
lavfi
(for e.g. to place a text-source above or below video, bg color, etc)2) Following command with
lavfi
outputs a video of fps=25 and duration =520msffmpeg3 \
-y \
-i input.mp4 \
-f lavfi -i color=c=#FFFF0000@1.0:s=1022x682:d=0.5,format=rgba \
-i watermark.jpg \
-filter_complex "[0]scale=1022:682[S3];[S3][2]overlay=W-w-20:H-h-20[O4];[1][O4]overlay=0:0" \
-c:a aac \
-preset ultrafast \
output.mp43) If I add
r=10
tolavfi
input, fps changes to 10 but duration length is 500ms-f lavfi -i color=c=#FFFF0000@1.0:s=1022x682:r=10:d=0.5,format=rgba \
Even then, the output duration is wrong. And, video just freezes for remaining duration. I can’t use some kind of frame specifier because I do not know input framerate before this command. All video inputs are from user/client of this software I am writing. This is not a one off task.
This happens only when I use
lavfi
.I want
output.mp4
to have same fps and duration as first input(i.e.0
orinput.mp4
). How can I do this (preferably in single command) ? -
Evolution #4350 : Faire l’ajout de la config mini dans le paquet.xml d’ecrire
24 septembre 2019, par cedric -Allez on y va pour 5.6 mini sur la 3.3
-
Detect duplicate frames to create seamless loops in FFMPEG
19 septembre 2017, par Yasath DiasI feel like this should be possible, after I saw a method created with MoviePy for Python (this article). Essentially, I want to import an MP4 at 1920x1080 with say 12000kbps bitrate and have FFMPEG detect when there are duplicate frames that aren’t consecutive and export each one of these small sequences to small individual MP4 files that loop seamlessly (the first frame is almost the same as the last frame like this one).
A 1920x1080 file may be far too large (in resolution) to process, so I would be fine with downscaling that to around 120px wide. Also, I know that FFMPEG can detect duplicate frames because I’ve often used
mpdecimate
previously.I hope I described the issue well enough, but will be willing to clarify, of course :)