
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (66)
-
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 -
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 (...)
Sur d’autres sites (5106)
-
FFMPEG : Fill/Change (part of) audio waveform color as per actual progress with respect to time progress
13 août 2018, par Software Development ConsultanI am trying to make command which is generating waveform from mp3 file and show on background image and play audio.
Togethr with this, I want to change waveform color left to right (something like progressbar) as per overall video time elapses.I have created following command which shows progress bar using drawbox to fill box color as per current time position.
ffmpeg -y -loop 1 -threads 0 -i sample_background.png -i input.mp3 -filter_complex "color=red@0.5:s=1280x100[Color] ;[0:v]drawbox=0:155:1280:100:gray@1:t=fill[baserect] ;[1:a]aformat=channel_layouts=mono,showwaves=s=1280x100:rate=7:mode=cline:scale=sqrt:colors=0xffffff[waveform] ; [baserect][waveform] overlay=0:155 [v1] ;[v1][Color] overlay=x=’if(gte(t,0), -W+(t)*64, NAN)’:y=155:format=yuv444[v2]" -map "[v2]" -map 1:a -c:v libx264 -crf 35 -ss 0 -t 20 -c:a copy -shortest -pix_fmt yuv420p -threads 0 output_withwave_and_progresbar.mp4
But I want to show progress inside generated audio waveform instead of making / filling rectangle using drawbox.
So I have tried to make 2 waveform of 2 different color and overlay on each other and I wanted to show such a way that top waveform should display only part from x position (left) respective to current time.
ffmpeg -y -loop 1 -threads 0 -i sample_background.png -i input.mp3 -filter_complex "[0:v]drawbox=0:155:1280:100:gray@1:t=fill[baserect] ;[1:a]aformat=channel_layouts=mono,showwaves=s=1280x100:rate=7:mode=cline:scale=sqrt:colors=0xff0000[waveform] ;[1:a]aformat=channel_layouts=mono,showwaves=s=1280x100:rate=7:mode=cline:scale=sqrt:colors=0xffffff[waveform2] ; [baserect][waveform] overlay=0:155 [v1] ;[v1][waveform2] overlay=x=’if(gte(t,0), -W+(t)*64, NAN)’:y=155:format=yuv444[v2]" -map "[v2]" -map 1:a -c:v libx264 -crf 35 -ss 0 -t 20 -c:a copy -shortest -pix_fmt yuv420p -threads 0 test.mp4
But I am not able to find way to do Wipe effect from left to right, currently it is sliding (as I am changing x of overlay)
It might be done using alpha merge and setting all other pixel to transparent and only show pixels which are less than x pos.
but I am not able to find how to do this.we can use any mp3 file file, currently I have set 20 sec duration.
Can someone please guide how we can do this ?
Thanks.
-
FFmpeg + Dshow + filter_complex How do I identify the input ?
11 février 2020, par John DoeI have a command which will draw a waveform over a background image using the input audio from [1:a] however when I try to feed my microphone as the input the waveform no longer works. No error messages, the waveform simply doesn’t get drawn. What am I missing ? I basically wish to create a waveform for audio picked up via my microphone. Here’s what I have so far :
ffmpeg -re -framerate 10 -loop 1 -i background.jpg -f dshow -i audio="Microphone (Realtek High Defini" -filter_complex "[1:a]showwaves=mode=cline:s=170x54:r=10:scale=sqrt:colors=0x222222,colorkey=0x000000:0.01:0.1,format=yuva420p[v];[0][v]overlay=555:416,scale=1280:720[outv]" -map "[outv]" -map 1:a -c:v libx264 -c:a aac -tune stillimage -pix_fmt yuv420p -shortest -maxrate 3000k -bufsize 4000k -r 10 -g 20 -f flv rtmp://a.rtmp.youtube.com/live2/XXXX-XXXX-XXXX-XXXX
UPDATE :
I also tried piping the data but no luck :ffmpeg -y -re -f dshow -i audio="Microphone (Realtek High Defini" -f mp3 - | ffmpeg -y -framerate 10 -loop 1 -i background.jpg -i - -filter_complex "[1:a]showwaves=mode=cline:s=170x54:r=10:scale=sqrt:colors=0x222222,colorkey=0x000000:0.01:0.1,format=yuva420p[v];[0][v]overlay=555:416,scale=1280:720[outv]" -map "[outv]" -map 1:a -c:v libx264 -c:a aac -tune stillimage -pix_fmt yuv420p -shortest -maxrate 3000k -bufsize 4000k -r 10 -g 20 test.mp4
-
MXF D10 PAL encoded with FFMPEG
1er février 2019, par Kumar SwaminathanI have a MXF D10 input that I am trying to encode using FFMPEG. This input is 720x512 but its actual height is 486 (as per mediainfo). I process via FFMPEG and I see black lines at top.
Can FFMPEG interpret MXF D10 correctly ? I realize that many players have problem displaying MXF D10 but the question is does FFMPEG decode this correctly ?
Also, which players would play MXF D10 correctly without black lines at top.
I am using FFMPEG 3.2