Recherche avancée

Médias (91)

Autres articles (28)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (5669)

  • Invoking ffmpeg command line from C#

    17 juillet 2014, par hyde

    I have a bunch of images in a directory that I want to make a video out of.

    For example the images could have the following path :

    C:\dirpath with spaces\a.tiff

    C:\dirpath with spaces\b.tif

    C:\dirpath with spaces\c.tif

    ...

    C:\dirpath with spaces\zzz.tif

    (the file names themselves do not have a pattern)

    And ffmpeg is invoked in the server (ASP.Net WebAPI) when a user submits a query.

    Right now I am having a hard time getting it to work because part of the problem might be how I am passing the file names to ffmpeg.

    The command I am using is :

    ffmpeg -y -pix_fmt rgb24 -s 640x540 -framerate 24 -i "C:\dirpath with spaces\a.tif" "C:\dirpath with spaces\b.tif" "C:\dirpath with spaces\c.tif" ... "C:\dirpath with spaces\zzz.tif" -an out.mp4

    The problem is that the resulting video is 0 seconds long and ffmpeg does not throw any error.

    My question is, is how do I make this work while working with a set of images using their full path, maybe using a wrapper library around it ?

  • Symfony PHP-FFMPEG (pulse00/ffmpeg-bundle) doesn't work

    8 juillet 2014, par harisK92

    I installed pulse00/ffmpeg-bundle

    and set it up like in documentation

    dubture_f_fmpeg:
       ffmpeg_binary:  C:\FFMPEG\bin\ffmpeg
       ffprobe_binary: C:\FFMPEG\bin\ffprobe

    But I got errors

    Unable to load FFProbe

    ..\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php at line 50

       try {
      }       return static::load($binaries, $logger, $configuration);
      catch (BinaryDriverExecutableNotFound $e) {
           throw new ExecutableNotFoundException('Unable to load FFProbe', $e->getCode(), $e);
       }
    }

    When I add .exe

    dubture_f_fmpeg:
       ffmpeg_binary:  C:\FFMPEG\bin\ffmpeg.exe
       ffprobe_binary: C:\FFMPEG\bin\ffprobe.exe

      Unable to probe C:\Users\XXX\XXX\ProjectFolder\src\vendor\Bundle\Entity/../../../../web/uploads/videos/e4cbef010c42d819fd6c326011fb2434c4b43c68.mp4

    Code in my controller

    private  function getThumbnail(Video $videoObject)
       {
           $ffmpeg=$this->getFFMPEG();
           $video=$ffmpeg->open($videoObject->getAbsolutePath());
           $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
                 ->save($videoObject->getImagesUploadDir().'/'."image.jpg");

       }
  • Symfony PHP-FFMPEG (pulse00/ffmpeg-bundle) questions

    8 juillet 2014, par harisK92

    I installed pulse00/ffmpeg-bundle

    and set it up like in documentation

    dubture_f_fmpeg:
       ffmpeg_binary:  C:\FFMPEG\bin\ffmpeg
       ffprobe_binary: C:\FFMPEG\bin\ffprobe

    But I got errors

    Unable to load FFProbe

    ..\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php at line 50

       try {
      }       return static::load($binaries, $logger, $configuration);
      catch (BinaryDriverExecutableNotFound $e) {
           throw new ExecutableNotFoundException('Unable to load FFProbe', $e->getCode(), $e);
       }
    }

    When I add .exe

    dubture_f_fmpeg:
       ffmpeg_binary:  C:\FFMPEG\bin\ffmpeg.exe
       ffprobe_binary: C:\FFMPEG\bin\ffprobe.exe

      Unable to probe C:\Users\XXX\XXX\ProjectFolder\src\vendor\Bundle\Entity/../../../../web/uploads/videos/e4cbef010c42d819fd6c326011fb2434c4b43c68.mp4

    Code in my controller

    private  function getThumbnail(Video $videoObject)
       {
           $ffmpeg=$this->getFFMPEG();
           $video=$ffmpeg->open($videoObject->getAbsolutePath());
           $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
                 ->save($videoObject->getImagesUploadDir().'/'."image.jpg");

       }