Recherche avancée

Médias (91)

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (11124)

  • libavcodec/mpeg12dec : Check input for minimal frame size

    4 septembre 2019, par Michael Niedermayer
    libavcodec/mpeg12dec : Check input for minimal frame size
    

    Fixes : Timeout (35sec -> 6sec)
    Fixes : 16901/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEGVIDEO_fuzzer-5729024726269952
    Fixes : 16901/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEGVIDEO_fuzzer-5642388592132096

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

    • [DH] libavcodec/mpeg12dec.c
  • Finding a minimal configuration for ffmpeg

    28 novembre 2022, par Clemens3000

    i am currently developing a video player for Windows and Mac using JUCE and FFmpeg. For this i want to include FFmpeg as a shared library and compile it myself in a minimal configuration to get rid of features and dependencies i don't need. This turns out to be quite difficult, since FFmpeg has a HUGE load of dependencies. And i am pretty new to this compiling game.

    &#xA;

    Of course i checked all the options for configuration, but there is so many and don't have much knowledge about what all the options actually do. Some are obvious, but many are not.

    &#xA;

    The minimal configuration i am looking for should enable to playback videofiles encoded with h.264 and it should be LGPL compliant. So just decoding, no encoding.

    &#xA;

    What i did :

    &#xA;

      &#xA;
    • i installed some of the dependencies i might need via macports (under /opt/local)
    • &#xA;

    • i downloaded ffmpeg source code, played around with the configure options and compiled it
    • &#xA;

    • i managed to build my app and it even runs
    • &#xA;

    • i created a configuration with "—disable_everything" and then tried to add features one after another until i build something that works. But that's like finding a needle in the haystack.
    • &#xA;

    &#xA;

    For Mac my first attempt for this is :&#xA;./configure --disable-everything --prefix=&#x27;../../osx_arm&#x27; --install-name-dir=&#x27;@executable_path/../libs&#x27; --extra-ldflags=-Wl,-rpath,&#x27;@executable_path/../libs&#x27; --enable-version3 --enable-shared --disable-static --enable-swscale --enable-avfilter --enable-libfdk-aac --enable-audiotoolbox --enable-videotoolbox --enable-pthreads --cc=/usr/bin/clang --extra-ldflags=-L/opt/local/lib

    &#xA;

    I can compile and link my program and as i expected I cannot do much more, which is totally fine for now.

    &#xA;

    My questions are now :

    &#xA;

      &#xA;
    1. How can i find out which configure options are essential to enable simple playback ? How do i find out which options can be discarded ?

      &#xA;

    2. &#xA;

    3. If i run otool on the resulting libs in my current minimal build i still get some dependencies :

      &#xA;

    4. &#xA;

    &#xA;

    otool -L ../../osx_arm/lib/libavcodec.59.37.100.dylib  ../../osx_arm/lib/libavcodec.59.37.100.dylib: @executable_path/../libs/libavcodec.59.dylib (compatibility version 59.0.0, current version 59.37.100) @executable_path/../libs/libavutil.57.dylib (compatibility version 57.0.0, current version 57.28.100) /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5) /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libX11.6.dylib (compatibility version 11.0.0, current version 11.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1775.118.101) /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (compatibility version 1.2.0, current version 1.5.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 1122.33.0)

    &#xA;

    Why does FFmpeg actually need libiconv or libX11 ? I believe those don't have to do much with video/audio, right ? Well, I guess FFmpeg needs them anyway...So do i need to compile them myself to and add them to my Application ? I guess later i'll have even more dependencies.

    &#xA;

      &#xA;
    1. Any other tips on how to accomplish what i want ?
    2. &#xA;

    &#xA;

  • avcodec/pixlet : consider minimum plane header in the minimal packet size

    30 avril 2022, par Michael Niedermayer
    avcodec/pixlet : consider minimum plane header in the minimal packet size
    

    Fixes : Timeout
    Fixes : 46956/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PIXLET_fuzzer-5698161106092032

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

    • [DH] libavcodec/pixlet.c