Recherche avancée

Médias (91)

Autres articles (69)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

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

Sur d’autres sites (11865)

  • Revision 16459 : document speedlevel

    8 août 2009, par j — Log

    document speedlevel

  • Anomalie #4152 : Statut des rubriques et document joint lorsque l’on passe par calculer_rubrique_p...

    14 juin 2018, par chan kalan

    Hello, je ne constate pas tout à fait pareil...
    Je viens de faire l’essai d’ajouter une balise img dans le champ texte d’un rubrique vide : le statut n’est pas "publié", mais on peut plus "supprimer" la rubrique, et le document est bien attaché.
    Ensuite mettre un article publié dans la rubrique lui donne le statut "publié", ok, et supprimer l’article ne lui retire pas son statut "publié".
    Ensuite détacher le document retire le statut "publié".

    Je trouve pas très logique que si l’action de publier un article change le statut mais que la suppression ou dépublication de cet article (ou du dernier) ne le remette pas si un document existe encore attaché à la rubrique, et que le détachement de ce document change le statut de la rubrique alors qu’il n’a pas changé le statut lors de son ajout.

    Soit le document provoque le changement de statut dans les deux sens, soit pas... ?

  • PHP-FFMpeg Installation and Basic Usage on windows issue

    7 mai 2017, par Miky

    following the README I installed PHP FFmpeg through Composer and I downloaded binaries from https://ffmpeg.zeranoe.com/builds/
    now I’m trying to run the "Basic Usage" example :

    <?php
    require("vendor/autoload.php");
    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open('video.mpg');
    $video
       ->filters()
       ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
       ->synchronize();
    $video
       ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
       ->save('frame.jpg');
    $video
       ->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
       ->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
       ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');
    ?>

    but i receive "Executable not found" errors because I didn’t understand where to put them

    I also tried specifying binaries ffmpeg.exe and ffprobe.exe with :

    $ffmpeg = FFMpeg\FFMpeg::create(array(
       'ffmpeg.binaries'  => '/pathtobin/ffmpeg',
       'ffprobe.binaries' => '/pathtobin/ffprobe',
       'timeout'          => 3600, // The timeout for the underlying process
       'ffmpeg.threads'   => 12   // The number of threads that FFMpeg should use
    ), $logger);

    but still same error... am I making a mountain out of a molehill ? any help is appreciated... Thanks

    EDIT 1

    I added ffmpeg\bin folder to system path and I can run executables from cmd from anywhere, but now I’m getting this error : "Executable not found, proposed : avprobe, ffprobe"...
    instead, if I give binary paths explicitly, I get 'ffprobe failed to execute command "C:/FFmpeg/bin/ffprobe.exe" "-help" "-loglevel" "quiet"'

    what am I doing wrong ?

    EDIT 2

    web server config

    • Windows 10 Pro
    • IIS 10
    • PHP 7.0.9

    site root ---> C:\inetpub\wwwroot\site\
    content :

    - index.php

    - input.mp4

    - vendor/ (PHP-FFMpeg library folder)

    FFmpeg binaries ---> C:\inetpub\wwwroot\FFmpeg\
    content :

    - ffmpeg.exe

    - ffplay.exe

    - ffprobe.exe

    index.php

    <?php
    ini_set('display_errors', 'On'); error_reporting(E_ALL);
    require("vendor/autoload.php");
    $ffmpeg = FFMpeg\FFMpeg::create(array(
       'ffmpeg.binaries'  => 'C:/inetpub/wwwroot/FFmpeg/ffmpeg.exe',
       'ffprobe.binaries' => 'C:/inetpub/wwwroot/FFmpeg/ffprobe.exe',
       'timeout'          => 3600, // The timeout for the underlying process
       'ffmpeg.threads'   => 12,   // The number of threads that FFMpeg should use
    ));
    $video = $ffmpeg->open('input.mp4');
    ?>

    result

    Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffprobe failed to execute command "C:/inetpub/wwwroot/FFmpeg/ffprobe.exe" "-help" "-loglevel" "quiet" in C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php:100 Stack trace: #0 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php(72): Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure('"C:/inetpub/www...') #1 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(209): Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process), Object(SplObjectStorage), false) #2 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(137): Alchemy\BinaryDriver\AbstractBinary->run(Object(Symfony\Component\Process\Process), false, NULL) #3 C:\inetpub\wwwroot\site\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php(61): Alchemy\Binary in C:\inetpub\wwwroot\site\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php on line 63