Recherche avancée

Médias (1)

Mot : - Tags -/vidéo

Autres articles (102)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • 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 ;

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (11863)

  • ffmpeg php - shell_exec returns Permission Denied

    21 juin 2013, par Sotiris Akis Mitracos

    i'm integrating ffmpeg into my php webapp (on a windows server). Calling the library through shell_exec like this

    $out_shell = shell_exec("$ffmpeg myfile.avi 2>&1");

    i receive the following output :

     ffmpeg version N-54117-gf9739a3 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun 19 2013 23:42:15 with gcc 4.7.3 (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-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 37.101 / 52. 37.101
     libavcodec     55. 16.100 / 55. 16.100
     libavformat    55.  9.100 / 55.  9.100
     libavdevice    55.  2.100 / 55.  2.100
     libavfilter     3. 77.101 /  3. 77.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    C:\ffmpeg: Permission denied

    what's wrong with the code ? if i run ffmpeg myfile.avi 2>&1 in cmd, I can also read video's meta-data.

    Could anybody help me ?
    thank you

  • FFmpeg avio_open_dir returns -40 on Windows, even when directory exists

    28 janvier, par グルグル

    I'm use ffmpeg7.1 on windows 10. And libavformat's version is 61.
I use a absolute path of a directory on avio_open_dir but it's failed, and return -40.
I use av_err2str got Function not implemented.
What problem it is ?

    


    extern "C"&#xA;{&#xA;#include <libavformat></libavformat>avformat.h>&#xA;}&#xA;&#xA;int main()&#xA;{&#xA;    av_log_set_level(AV_LOG_DEBUG);&#xA;&#xA;    auto dir = "D:\\music";&#xA;    AVIODirContext* dirCtx;&#xA;    auto ret = avio_open_dir(&amp;dirCtx, dir, nullptr);&#xA;    if (ret &lt; 0)&#xA;    {&#xA;        av_log(nullptr, AV_LOG_ERROR, "Can&#x27;t open %s: %s\n", dir, av_err2str(ret));&#xA;        exit(EXIT_FAILURE);&#xA;    }&#xA;}&#xA;

    &#xA;

    output

    &#xA;

    Can&#x27;t open D:\music: Function not implemented&#xA;

    &#xA;

    It's not the path incorrect problem. I used std::filesystem::exists("D:\\music") &amp;&amp; std::filesystem::is_directory("D:\\music") to verify that the path is correct.

    &#xA;

  • FFmpegMediaMetadataRetriever returns setDataSource failed : status = > 0xFFFFFFFF

    26 août 2015, par Alireza

    This is a weird error ! because it sometimes works but sometimes doesn’t work. I’m using FFmpegMediaMetadataRetriever to get the thumbnail from a video using an URL path. retriever.setDataSource(((Video) obj).getVideoAddress()); return following error :

    java.lang.IllegalArgumentException : setDataSource failed : status =
    0xFFFFFFFF

    This is my code :

    FFmpegMediaMetadataRetriever retriever = new FFmpegMediaMetadataRetriever();
               Bitmap bmp;

               retriever.setDataSource(((Video) obj).getVideoAddress
                       ());

               bmp = retriever.getFrameAtTime();

    Note : I checked the INTERNET permission and it exists. The problem is exists with some videos but with the same format ! I mean the only difference between videos is bit rates, length, size and others like this but not the file format.