Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (39)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9872)

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