Recherche avancée

Médias (91)

Autres articles (66)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La 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 2013

    Puis-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, par

    Dans 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 Consultan

    I 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

    enter image description here

    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.

    Background image :
    enter image description here

    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 Doe

    I 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 Swaminathan

    I 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