
Recherche avancée
Autres articles (69)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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 (...)
Sur d’autres sites (6842)
-
c# - WAV file trimming and adding silence
2 janvier 2017, par Piotr CI have two recordings of same event, different lengths, started at different times. I want to synchronize them, time offset is known. I want to achieve the following :
- Align second one in time by the time offset.
- Trim second one to match the length of the first one
- When there is nothing to trim, add silence to match the length of the first one.
I found the way to trim the audio, but I couldn’t find solution for adding silence. Is there any way to do this with NAudio, ffmpeg or Aurio ?
-
c# - WAV file trimming and adding silence
16 mai 2018, par Piotr CI have two recordings of same event, different lengths, started at different times. I want to synchronize them, time offset is known. I want to achieve the following :
- Align second one in time by the time offset.
- Trim second one to match the length of the first one
- When there is nothing to trim, add silence to match the length of the first one.
I found the way to trim the audio, but I couldn’t find solution for adding silence. Is there any way to do this with NAudio, ffmpeg or Aurio ?
-
How to put a png onto an mp4/gif using imagemagick ?
24 juillet 2022, par HarrisonTLDR : How do I convert an MP4 to GIF without sacrificing quality ? How can I lay a PNG on a GIF without sacrificing quality ? And how to get rid of the flicker from combining them ?


So I have an MP4 that is 3000x3000 and a PNG that is 1000x1000.


The end result that I want is a GIF that is 1000x1000 where the PNG is layered on top of the MP4 as a background.


These are the step I tried and the issues I am running into. Mainly the issues I am running into are a loss in quality.


MP4 to GIF :


- 

-
I have converted the MP4 to a gif with
ffmpeg -i background.mp4 background.gif
. Result : A major loss of quality in the gif.

-
Instead of that - I tried an online converter. Works better but would like to do it on my own. But I will use this GIF from the online converter in the next examples. Still a slight loss of quality but not near as bad.


-
I have sized down my gif using
convert temporary.gif -coalesce -resize 1000x1000 smaller.gif
. (Have also tried with specifying the-size 3000x3000
but no difference really.) Another minor loss of quality there.









PNG ontop of GIF - Trial 1


- 

- I have converted my PNG to a single page GIF with
convert front.png front.gif
(Along with some other options). Loses quality, anything that fades or is semi see through gets turned into a solid pixel. - Duplicated this page a bunch of times to match number of pages in my background gif using
convert front.gif front.gif front.gif
multiple times. - Merged background and front together with
convert background.gif -coalesce null: front.gif -layers composite both.gif
. Little more lose of quality and some flickering on the foreground..? Tried some other variations but thats the best I got.








PNG on GIF - Trial 2


- 

- Instead of making a GIF of the PNG, I am just using the original PNG with the background.gif like this
convert smaller.gif -coalesce null: front.png -layers composite -layers optimize both.gif
. This one comes out weird. The from image is very different looking in color and flickery. Not gonna work. - Tried without optimization.
convert smaller.gif -coalesce null: front.png -layers composite test.gif
. This on is closer. The foreground looks great, but is just flickery still ! Again the background is not great but it doesn't seem to have much more impact from after the original mp4 conversion. Did this without-coalesce
and still get the same output.






The best I can get is a decent front image with details preserved - but flickery. On top of a lossy background.


How can I go about doing this with imagemagick or some other library ?


-