Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (79)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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 (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (14794)

  • FFmpeg : How to color-key all colors except blue and white ?

    21 février 2018, par DanielNg

    I know how to colorkey a specific color from an overlay video based on the documentation from FFmpeg. Here is the code I used to colorkey the black color out of a video then overlay it with a base video keeping the audio from the overlaid video :

    "ffmpeg -i " + baseVid + " -i " + overlayVid + " -y" + ' -filter_complex "[1:v]colorkey=0x000000:0.6:0.0[ckout];[0:v][ckout]overlay=shortest=1[out]" -shortest -map 1:a -map "[out]" ' + output

    However, my problem is that the overlaid video also contains other colors such as blue, white, brown, grey, green. Even though they are only small portions compared to the black that has been removed, they make the colorkeyed overlaid video look really dirty. I want to keep only the two main colors (blue and white) and removing the rest from the overlaid video. How do I do this using FFmpeg. I tried this code but it did not work.

  • How to use -filter_complex and -vf together in ffmpeg ?

    11 juillet 2021, par ChhengRavy

    I want to use -filter_complex and -vf together in one line but I can't do that and get error.

    


    First code :

    


    ffmpeg -i 1.mp4 -filter_complex "[0:v]setpts=0.87*PTS[v];[0:a]atempo=1.15[a]" -map "[v]" -map "[a]" e1.mp4


    


    Second code :

    


    ffmpeg -i 1.mp4 -vf "scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:-1:-1:color=black" e1.mp4


    


    So I combine two code above together. Combined code :

    


    ffmpeg -i 1.mp4 -filter_complex "[0:v]setpts=0.87*PTS[v];[0:a]atempo=1.15[a]" -map "[v]" -map "[a]" -vf "scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:-1:-1:color=black" e1.mp4


    


    I can can't run code I get the error :

    


    -vf/-af/-filter and -filter_complex cannot be used together for the same stream.


    


  • How to combine multiple images horizontally and vertically using ffmpeg [duplicate]

    7 février 2020, par user3625087

    I’m attempting to create a script that can stitch together images side by side. These images are basically letters that I want to create words with (think of those ransom letters in Hollywood movies with randomly cut out letters from magazines). I need to specifically use these images, so I don’t want ffmpeg to type out some words into images itself. I’ve seen some similar answers using hstack and tile filter complexes but those didn’t work for me. Here is what I’ve tried so far :

    ffmpeg -pattern_type glob -i h.png -i e.png -i l.png -i l.png -i o.png -filter_complex tile=5x1 test.png

    For this one, -pattern_type didn’t exist as an option (I’m using ffmpeg 4.2 on Windows), so I removed it and the result was 1 letter and black space for the rest.

    ffmpeg -y -i h.png -i e.png -i l.png -i l.png -i o.png -filter_complex hstack test.png

    For this one, the result was 2 letters side by side, and then black space for the rest.

    All of my images are of the same height and variable width. Is there a command that can achieve this ?