Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (40)

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

  • Android, AOSP tree, external project (ffmpeg) is built for AMD64

    22 avril 2015, par kagali-san

    I’m trying to build ffmpeg4android on current AOSP tree (from /external), which is lunch-configured to aosp_arm-eng and set to PLATFORM_VERSION=4.2.

    Resulting files are generated for AMD64 (host native) architecture, even though the major rest of tree is built (as expected) ARM :

    readelf -a android/aosp_arm-eng/ffplay|egrep "Class :|Machine :"
    Class : ELF64 Machine :
    Advanced Micro Devices X86-64

    versus

    readelf -a
    aosp/out/target/product/generic/symbols/system/lib/libril.so | egrep "Class :|Machine :"

    Class : ELF32
    Machine : ARM


    I will probably switch to other ways of getting ffmpeg-arm (presumably the one described here) ; the reason of asking this question is to understand, at which build stage does cross-compilation environment breaks.

  • error in ffmpeg when sending image from pipe via php

    12 décembre 2013, par Abdul Ali

    used the following tutorial to send an uploaded image to ffmpeg from php via pipe.

    Image pipe from php to ffmpeg

    however it raises an eror saying that the pipe has invalid data in it.

    pipe:: Invalid data found when processing input

    following is the php code for uploading an image file

    $tempPath = $_FILES['vdofile']['tmp_name'];

    print_r($tempPath);

    $descriptorspec = array(
       0 => array("pipe", "r"), // stdin is a pipe that the child will read from
       1 => array("pipe", "w"), // stdout is a pipe that the child will write to
       2 => array("file", "error-output.txt", "a") // stderr is a file to write to
       );

    $img = imagecreatefromjpeg($tempPath);

    $proc = proc_open("ffmpeg image2pipe -i - -y image.jpg", $descriptorspec, $pipes);

    if (is_resource($proc)) {    
        /*
         * $pipes[0] = write something to command being run
         * $pipes[1] = read something from command
         * $pipes[2] = error from command
         */
          fwrite($pipes[0], $_FILES['vdofile']['tmp_name']);
          fclose($pipes[0]);
    }
    proc_close($proc);
    ?>

    and simple html uploading code is as follows :

    <form action="upload.php" method="post" enctype="multipart/form-data">
           <input type="file" />

           <input type="submit" value="Upload" />
       </form>

    the error file generated is as follows :

       ffmpeg version N-58485-ga12b4bd Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 26 2013 22:07:02 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 55.100 / 52. 55.100
     libavcodec     55. 44.100 / 55. 44.100
     libavformat    55. 21.102 / 55. 21.102
     libavdevice    55.  5.101 / 55.  5.101
     libavfilter     3. 91.100 /  3. 91.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    pipe:: Invalid data found when processing input

    any assistance will be appreciated.

    **

    EDIT

    **

    the code still produces an error :

       ffmpeg version N-58485-ga12b4bd Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 26 2013 22:07:02 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 55.100 / 52. 55.100
     libavcodec     55. 44.100 / 55. 44.100
     libavformat    55. 21.102 / 55. 21.102
     libavdevice    55.  5.101 / 55.  5.101
     libavfilter     3. 91.100 /  3. 91.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    [image2pipe @ 00000000029ee0a0] Could not find codec parameters for stream 0 (Video: none): unspecified size
    Consider increasing the value for the &#39;analyzeduration&#39; and &#39;probesize&#39; options
    pipe:: could not find codec parameters

    the following ffmpeg comand is called from within php like above :

    ffmpeg -f image2pipe -i - -vcodec mjpeg -vframes 1 -an -f mjpeg image.mp4
  • Merge commit ’225e84e74544062706c0159ec0737b0e1d40915f’

    29 février 2016, par Derek Buitenhuis
    Merge commit ’225e84e74544062706c0159ec0737b0e1d40915f’
    

    * commit ’225e84e74544062706c0159ec0737b0e1d40915f’ :
    hls : disallow opening nested files in child demuxers

    Merged-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavformat/hls.c