Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (50)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (5961)

  • Anomalie #2854 : mauvais traitement du signe par textwheel

    13 septembre 2012, par jluc -

    PS : "prout" dans le texte est en fait entouré de balises ’code’ entre chevrons

  • Anomalie #2671 : Problème sur #VAL{converser} sur URLs propres sur objet article

    25 avril 2012, par cedric -

    il me semble que oui : cette action n’a pas changé entre les deux versions...

  • FFMpeg PHP : Unable to load FFProbe

    23 septembre 2023, par Artem Konyaev

    I am using the Lumen PHP framework which is the form of Laravel. On the server side I have Bitnami.

    


    I get the 500 error when the code that uses FFMpeg is being executed. My part of the code which leads to the problem :

    


    $ffmpeg = FFMpeg::create([
            'ffmpeg.binaries'   => '/opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg',
            'ffprobe.binaries'  => '/opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFProbe',
            'timeout' => 0
]);


    


    I also tried it without 'timeout'.

    


    Here are the details of the error that I get in the server response :

    


    


    [ExecutableNotFoundException](#trace-box-2) [ExecutableNotFoundException](#trace-box-1)

    


    HTTP 500 Internal Server Error

    


    Unable to load FFProbe

    


    Exceptions 2

    


    FFMpeg\Exception\ExecutableNotFoundException

    


    in /opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php (line 50)

    


      

    1.         $binaries = $configuration->get('ffprobe.binaries', ['avprobe', 'ffprobe']);

      


    2. 


    3.         

      


    4. 


    5.         try {

      


    6. 


    7.             return static::load($binaries, $logger, $configuration);

      


    8. 


    9.         } catch (BinaryDriverExecutableNotFound $e) {

      


    10. 


    11.             throw new ExecutableNotFoundException('Unable to load FFProbe', $e->getCode(), $e);

      


    12. 


    13.         }

      


    14. 


    15.     }

      


    16. 


    17. }

      


    18. 


    


    


    I tried changing the project folder rights by sudo chmod -R 777 /opt/bitnami/apache/htdocs. Not sure if it worked. Here is the current state :

    


    

    $ ls -l /opt/bitnami/apache/htdocs
total 328
drwxrwxrwx 10 bitnami root   4096 Feb 20 16:16 app
-rwxrwxrwx  1 bitnami root   1094 Feb 20 16:16 artisan
drwxrwxrwx  2 bitnami root   4096 Feb 20 16:16 bootstrap
-rwxrwxrwx  1 bitnami root   1076 Jul  2 00:25 composer.json
-rwxrwxrwx  1 bitnami root 274159 Jul  2 00:25 composer.lock
drwxrwxrwx  5 bitnami root   4096 Feb 20 16:16 database
-rwxrwxrwx  1 bitnami root   4871 May 18 15:46 index_default.html
-rwxrwxrwx  1 bitnami root    592 Feb 20 16:16 phpunit.xml
drwxrwxrwx  2 bitnami root   4096 Feb 20 16:16 public
-rwxrwxrwx  1 bitnami root   1920 Feb 20 16:16 README.md
drwxrwxrwx  3 bitnami root   4096 Feb 20 16:16 resources
drwxrwxrwx  2 bitnami root   4096 Feb 20 16:16 routes
drwxrwxrwx  5 bitnami root   4096 Feb 20 16:16 storage
drwxrwxrwx  2 bitnami root   4096 Feb 20 16:16 tests
drwxrwxrwx 36 bitnami root   4096 Jul  2 00:46 vendor


    


    


    Tried adding this to my .env file in /opt/bitnami/apache/htdocs :

    


    

    FFMPEG_BINARIES=/opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg
FFPROBE_BINARIES=/opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFProbe