Recherche avancée

Médias (91)

Autres articles (50)

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

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

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

  • FFMPEG running in Command Line but not PHP

    17 avril 2013, par Freeman

    I am using ffmpeg build for windows to make video thumbnails . The command works well in command line but not from PHP exec method. am using PHP 5.2.11

    Here is the command.

    "E:/Documents and Settings/x/WINDOWS/ffmpeg" -itsoffset -4 -v "E:/Program Files/Apache Software Foundation/Apache2.2/htdocs/bs/files/videogal/c08c3d20eeb9083ed033577bd154cba6.flv" -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 "E:/Program Files/Apache Software Foundation/Apache2.2/htdocs/bs/files/gallery/8ff43b72b932d2a34e7a6733672ad4d6.jpg" 2>&1

    Can somebody help. I checked the permissions they seem fine. GD is installed.

    The error msg is 'E:/Documents' is not recognized as an internal or external command, operable program or batch file

    Am using forward slashes in my paths except when escaping double quotes

    The PHP function

    function ExtractThumb($in, $out)
    {$path=dbconf::FFMPEG_PATH;
       $thumb_stdout;
       $errors;
       $retval = 0;
    echo $in;
       // Delete the file if it already exists
       if (file_exists($out)) { unlink($out); }

       // Use ffmpeg to generate a thumbnail from the movie
       $cmd = "$path -itsoffset -4 -i $in -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 $out 2>&1";
      echo $cmd;

      exec($cmd, $thumb_stdout, $retval);

       // Queue up the error for processing
       if ($retval != 0) { $errors[] = "FFMPEG thumbnail generation failed"; }

       if (!empty($thumb_stdout))
       {
           foreach ($thumb_stdout as $line)
           {
               echo $line . "\n";
           }
       }

       if (!empty($errors))
       {
           foreach ($errors as $error)
           {
               echo $error . "\n";
           }
       }
    }

    funny enough if I run without the $in and $out absolute path this is what I get

    Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --extra-cflags=-fno-common --enable-memalign-hack --enable-pthreads --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaac --enable-libgsm --enable-libx264 --enable-libschroedinger --enable-avisynth --enable-swscale --enable-gpl libavutil 49.12. 0 / 49.12. 0 libavcodec 52.10. 0 / 52.10. 0 libavformat 52.23. 1 / 52.23. 1 libavdevice 52. 1. 0 / 52. 1. 0 libswscale 0. 6. 1 / 0. 6. 1 built on Jan 13 2009 02:57:09, gcc: 4.2.4 822ae86a93810dade2843e822390d723.flv: no such file or directory
  • avcodec/loco : Check for end of input in the first line

    25 septembre 2019, par Michael Niedermayer
    avcodec/loco : Check for end of input in the first line
    

    Fixes : Timeout (85sec -> 0.1sec)
    Fixes : 17634/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LOCO_fuzzer-5666410809786368

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/loco.c
  • How to make Fringe Font by using ffmpeg using command line CLI in windows ?

    21 juin 2015, par Ehtesham Shami

    I have a code of ffmpeg of command line. First I have a input image of letter A and then I am using my sample code on that image and getting another output image with different style of letter A.

    I want to make a border on that output letter A.
    I can’t be attached the photos. I have pasted that code sample.

    Please tell me what is the modification is required in that code sample.

    Code Sample :

    ffmpeg -y -i back.jpg -filter_complex "drawtext=fontfile=/Windows/Fonts/meiryo.ttc:text=A:fontcolor=red:x=100:y=100:fontsize=200" output.jpg