
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (44)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 -
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" ;
Sur d’autres sites (9356)
-
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 ?


-
-
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 ?
-
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 ?