Recherche avancée

Médias (0)

Mot : - Tags -/tags

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (93)

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

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (10962)

  • FFmpeg : Add alpha channel to a video using a PNG mask

    7 avril 2016, par Rodrigo Polo

    I saw that FFmpeg can merge/blend two videos with alpha channel and can encode video with alpha channel using the qtrle codec, but, It is possible to apply a PNG file mask, either a black and white or a PNG with an alpha channel to a video in order to have a video with the alpha channel of the PNG applied ?

    Here is the concept in images

    Original video :
    Original video

    PNG file with alpha channel, the "mask" :
    PNG file with alpha channel

    And the result :
    Result

    Or even a black and white image as a mask for alpha channel :
    bnw image

    Any help would be appreciated, thank you !

  • How to swap SBS LR 3D videos ?

    21 avril 2016, par Vitalis Hommel

    I have this command

    ffmpeg -i "D:\Neuer Ordner\Test.mkv" -c copy -ss 00:00:00 -t 00:08:00 -sn "D:\Neuer Ordner\Test1.mkv" -c copy -ss 00:08:00 -t 00:08:00 -sn "D:\Neuer Ordner\Test2.mkv" -c copy -ss 00:16:00 -t 00:08:00 -sn "D:\Neuer Ordner\Test3.mkv" -c copy -ss 00:24:00 -sn "D:\Neuer Ordner\Test4.mkv"

    My goal is to upload them to youtube. Yet I need to swap each pair before converting it, so left becomes right and right becomes left.

    I found the complex filter and tried

    ffmpeg -i "D:\Neuer Ordner\Test.mkv" -filter:v "crop=1280:720:0:0" -i "D:\Neuer Ordner\Test.mkv" -filter:v "crop=1280:720:1280:0" -filter_complex "pad=in_w*2:in_h, overlay=main_w/2:0, scale=in_w/2:in_h, scale=-1:720" -c:a copy "D:\Neuer Ordner\output.mkv"

    Which led to

    Option filter:v (set stream filtergraph) cannot be applied to input file D:\Neuer Ordner\Test.mkv -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
    Error parsing options for input file D:\Neuer Ordner\Test.mkv.
    Error opening input files: Invalid argument

    Which command solves this ?

  • Trying to open file with PHP-FFMpeg after it was encoded once

    19 mai 2016, par Shillo Ben David

    in the same PHP process I’m trying to open a file that was manipulated and saved, and then I’m trying to open it with as a new FFMpeg\Video. For example, in the same process :

    Open -> original.MOV
     Manipulate &amp; save to -> new.mp4
       Open -> new.mp4

    However when I’m trying to open the manipulated file I get this InvalidArgumentException exception :

    InvalidArgumentException: Unable to detect file format, only audio and video supported

    It’s thrown by the FFMpeg::open() after it could not detect that it’s a either Video or Audio stream.

    FFMpeg::open()

    public function open($pathfile)
    {
       if (null === $streams = $this->ffprobe->streams($pathfile)) {
           throw new RuntimeException(sprintf('Unable to probe "%s".', $pathfile));
       }

       if (0 &lt; count($streams->videos())) {
           return new Video($pathfile, $this->driver, $this->ffprobe);
       } elseif (0 &lt; count($streams->audios())) {
           return new Audio($pathfile, $this->driver, $this->ffprobe);
       }

       throw new InvalidArgumentException('Unable to detect file format, only audio and video supported');
    }

    The filters I applied to the video are audio mute and speedup (setpts).

    So I wonder, why FFMpeg doesn’t recognise it as video ?