Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (52)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (9568)

  • Problem compiling ffmpeg with nvenc using visual studio 2015 community edition

    23 février 2020, par Uri Raz

    I’m trying to build ffmpeg w/ nvenc on Windows 10 64 bit and visual studio 2015 community edition. The command from step 10 in the Using FFmpeg with NVIDIA GPU Hardware Acceleration doc :

    ./configure —enable-nonfree —enable-cuda-sdk —enable-libnpp –-toolchain=msvc —extra-cflags=-I../nv_sdk —extraldflags=-libpath :../nv_sdk

    Gives me the error ’Unknown option "–-toolchain=msvc"’

    Background : I’ve executed the commands (changed the path in the first, I’m not sure its right) :

    export PATH="/C/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/" :$PATH
    export PATH="/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/bin/" :$PATH

    And ../nv_sdk has the subdirectories include & bin, copied from the NVIDIA GPU Computing Toolkit directory.

  • exception on ffmpeg dll from a c++ visual studio 2015 project

    1er juillet 2017, par user1019140

    I want to use ffmpeg library in a Visual Studio project.
    I want to build an app for WIN32, so I downloaded :

    C:\Users\exa\Downloads\ffmpeg-3.3.2-win32-shared.zip
    C:\Users\exa\Downloads\ffmpeg-3.3.2-win32-dev.zip

    I copied the dlls from the shared zip to the same directory as my generated exe file. And I unzipped the dev zip into a directory of a different project of the same solution called MEDIA_IO.

    Then in the project properties , I added "additional include directories" :

    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\include

    and under the linker, I added "Link library dependencies" :

    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\lib

    and "Additional dependencies" :

    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\lib\swscale.lib
    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\lib\avutil.lib
    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\lib\avcodec.lib
    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\lib\avformat.lib
    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\lib\avfilter.lib
    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\lib\postproc.lib
    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\lib\swresample.lib
    ..\MEDIA_IO\ffmpeg-3.3.2-win32-dev\lib\avdevice.lib

    I include the headers using :

    extern "C"
    {
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavformat></libavformat>avformat.h>
    #include <libavutil></libavutil>imgutils.h>
    #include <libavutil></libavutil>samplefmt.h>
    #include <libswscale></libswscale>swscale.h>
    #include <libavutil></libavutil>avstring.h>
    #include <libavutil></libavutil>intreadwrite.h>
    }

    The app compiles fine, but when running it, I’m getting exceptions on many different ffmpeg functions.

    For examples, when running :

    SwsContext * ctx = sws_getContext(560, 320, AV_PIX_FMT_YUV420P, 560,320, AV_PIX_FMT_RGB24, 0, NULL, NULL, NULL);

    I get exception :

    Exception thrown at 0x57E05140 (swscale-4.dll) in UnitTest1.exe: 0xC0000006: In page error executing location 0x57E05140 (status code 0xC0000008).
    Unhandled exception at 0x57E05140 (swscale-4.dll) in UnitTest1.exe: 0xC0000006: In page error executing location 0x57E05140 (status code 0xC0000008).

    It does not tell what are status codes 0xC0000006 and 0xC0000008.
    I dug a lot and could not find the source of the problem.

  • configure : instruct MSVC 2015 to properly process UTF-8 string literals

    3 février 2017, par Hendrik Leppkes
    configure : instruct MSVC 2015 to properly process UTF-8 string literals
    

    Without the /UTF-8 switch, the MSVC compiler treats all files as in the
    system codepage, instead of in UTF-8, which causes UTF-8 string literals
    to be interpreted wrong.

    This switch was only introduced in VS2015 Update 2, and any earlier
    versions do not have an equivalent solution.

    Fixes fate-sub-scc on MSVC 2015+

    • [DH] configure