Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (105)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (12107)

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