Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (47)

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

  • Anomalie #4242 : [BUG : aucun moyen de définir les constantes utilisé dans l’écran de sécurité] : ...

    13 décembre 2018, par jluc -

    je répète pour l’ecran_securite_options.php d’un site particulier :

    1. <span class="CodeRay"><span class="keyword">global</span> <span class="local-variable">$ecran_securite_raison</span>;
    2.  
    3. <span class="comment">//</span>
    4. <span class="comment">// Filtrages inapplicables par prepend apache à l'échelle d'un serveur</span>
    5. <span class="comment">// mais valables pour tous les SPIP</span>
    6. <span class="comment">//</span>
    7. <span class="keyword">if</span> (<span class="predefined">isset</span> (<span class="predefined">$_REQUEST</span>[<span class="string"><span class="delimiter">'</span><span class="content">page</span><span class="delimiter">'</span></span>])
    8. <span class="keyword">and</span> <span class="predefined">preg_match</span>(<span class="string"><span class="delimiter">'</span><span class="content">/</span><span class="content">\W</span><span class="content">/</span><span class="delimiter">'</span></span>, <span class="predefined">$_REQUEST</span>[<span class="string"><span class="delimiter">'</span><span class="content">page</span><span class="delimiter">'</span></span>]))
    9. <span class="local-variable">$ecran_securite_raison</span> = <span class="string"><span class="delimiter">'</span><span class="content">page</span><span class="delimiter">'</span></span>;
    10.  
    11. <span class="comment">//</span>
    12. <span class="comment">// Filtrages pour un site SPIP particulier</span>
    13. <span class="comment">// Ajoutez ici les filtrages pour votre site particulier</span>
    14. <span class="comment">//</span>
    15. <span class="keyword">if</span> ((<span class="predefined">isset</span>(<span class="predefined">$_GET</span>[<span class="string"><span class="delimiter">'</span><span class="content">geo_departement</span><span class="delimiter">'</span></span>])
    16.         <span class="keyword">and</span> <span class="predefined">strlen</span> (<span class="predefined">$_GET</span>[<span class="string"><span class="delimiter">'</span><span class="content">geo_departement</span><span class="delimiter">'</span></span>])><span class="integer">3</span>)
    17.     <span class="keyword">or</span> (<span class="predefined">isset</span>(<span class="predefined">$_POST</span>[<span class="string"><span class="delimiter">'</span><span class="content">geo_departement</span><span class="delimiter">'</span></span>])
    18.         <span class="keyword">and</span> <span class="predefined">strlen</span> (<span class="predefined">$_POST</span>[<span class="string"><span class="delimiter">'</span><span class="content">geo_departement</span><span class="delimiter">'</span></span>])><span class="integer">3</span>)
    19.     <span class="keyword">or</span> (<span class="predefined">isset</span>(<span class="predefined">$GLOBALS</span>[<span class="string"><span class="delimiter">'</span><span class="content">geo_departement</span><span class="delimiter">'</span></span>])
    20.         <span class="keyword">and</span> <span class="predefined">strlen</span> (<span class="predefined">$GLOBALS</span>[<span class="string"><span class="delimiter">'</span><span class="content">geo_departement</span><span class="delimiter">'</span></span>])><span class="integer">3</span>))
    21.     <span class="local-variable">$ecran_securite_raison</span> = <span class="string"><span class="delimiter">'</span><span class="content">geo_departement</span><span class="delimiter">'</span></span>;
    22. </span>

    Télécharger

  • How to setup ffmpeg for linux server

    1er décembre 2014, par hitesh

    I need to create a screen shot from video,

    I have followed this tutorial to do the intial setup in window 8, php 5.3

    1) I downloaded the ffmpeg from here -[
    http://ffmpeg.zeranoe.com/builds/ ] for 64 bit operating system.

    2) I followed the https://www.youtube.com/watch?v=gU49GiWGGAI , video and did all configuration successfully and phpinfo() shows that ffmpeg has been installed.

    3) Then I tried this to find out whether it is working or not,

    It worked successfully

    4) Next I followed this video tutorial here and thumbnails were created successfully.

    below is my code

    /**
    * FFMPEG-PHP Test Script
    *
    * Special thanks to http://www.sajithmr.me/ffmpeg-sample-code for this code example!
    * See the tutorial at http://myownhomeserver.com on how to install ffmpeg-php.
    */
    error_reporting(1);
    error_reporting(E_ALL ^ E_NOTICE);
    // Check if the ffmpeg-php extension is loaded first
    extension_loaded('ffmpeg') or die('Error in loading ffmpeg');

    // Determine the full path for our video
    $vid = realpath('./videos/myvideo.mp4');
    $videosize = filesize($vid);
    $remoteVideo = 'http://video-js.zencoder.com/oceans-clip.mp4';

    //ffmpeg

    $ffmpeg = dirname(__FILE__) . "\\ffmpeg\\bin\\ffmpeg";
    $imageFile = "1.png";
    $image2 = "2.png";
    $size = "120x90";
    $getfromsecond = 7;
    $cmd = "$ffmpeg -i $vid -an -ss $getfromsecond -s $size $imageFile";
    $cmd2 = "$ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size $image2";
    if(!shell_exec($cmd)){
       echo "Thumbnail created";
    }else{
       echo "Error Creating thumbnail";
    }

    if(!shell_exec($cmd2)){
       echo "Thumbnail for remote url was created";
    }else{
       echo "Error Creating thumbnail for remote url ";
    }

     OUTPUT
       Thumbnail created
       Thumbnail for remote url was created

    Now above code works as expected in my local, in window machine , I need to do it in my server environment(Linux server) with php 5.5. How do I do the configuration for ffmpeg in linux server with php 5.5.

  • Anomalie #4515 (Fermé) : Fatal error en php 8.0

    9 juillet 2020, par Franck D

    Hello, :)

    Windows 10 (1909)
    Firefox 78.0.2
    Easyphp
    Apache 2.4.43 x64
    PHP 8.0.0 alpha1 x64
    MySQL 8.0.20 x64
    PhpMyAdmin 5.0.2

    memory_limit 512M
    post_max_size 130M
    upload_max_filesize 64M
    max_execution_time 300
    max_input_time -1

    Comme php 8.0 sort le 26 novembre, https://wiki.php.net/todo/php80 et que spip 3.4 ne sortira sans doute pas avant 2022... Je commence à faire des tests avec php 8 (plus c’est tôt mieux c’est) histoire de voir si cela posera de gros problèmes avec spip 3.3 !
    J’ai donc fait l’installation d’un spip 3.3 (24642) en php 7.4 puis, je change la version de php de esayphp pour lui mettre php 8.0 alpha1

    Résultat, j’ai de suite une page blanche avec :
    Fatal error : Uncaught Error : Call to undefined function get_magic_quotes_gpc() in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test3\config\ecran_securite.php:350 Stack trace : #0 C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test3\ecrire\inc_version.php(130) : include() #1 C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test3\ecrire\index.php(22) : include(’C :\Program File...’) #2 main thrown in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test3\config\ecran_securite.php on line 350

    Je monte la priorité du ticket à "haut" car cela serait bien que spip 3.3 fonctionne en php 8, mais après, c’est discutable !