Recherche avancée

Médias (91)

Autres articles (66)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (7615)

  • docs : Fix simple typo, numer -> number

    17 septembre 2020, par timgates42
    docs : Fix simple typo, numer -> number
    

    There is a small typo in test/vendor/mocha.js.

    Should read `number` rather than `numer`.

  • 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 remove 2 sec from middle of video and concat the parts. Single line solution

    15 janvier 2019, par Aaron Broderick

    I have a video file that is 22 seconds long.
    I want to remove the segment from 10 seconds to 12 seconds.
    Then return a concatenated video file of seconds 1-10 and 12-22.

    I want to do this in a single FFmpeg command.

    This is the easy way

    Source
    https://www.labnol.org/internet/useful-ffmpeg-commands/28490/

    ffmpeg -i input.mp4 -ss 00:00:00.0 -codec copy -t 10 output_1.mp4

    and

    ffmpeg -i input.mp4 -ss 00:00:12.0 -codec copy -t 10 output_2.mp4

    then create an input file with all the source file names and run

    ffmpeg -f concat -i file-list.txt -c copy output.mp4

    But I’m looking for a one line solution

    Any help would be appreciated.