Recherche avancée

Médias (91)

Autres articles (63)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (4749)

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

  • OpenCV compilation : How to specify the location of FFmpeg library with cmake

    6 juin 2017, par Beanocean

    I want to compile OpenCV-2.13.2 with gcc-4.8.2, but the version installed in system path is gcc-4.4.6. So I installed gcc-4.8.2 in /opt/compiler/gcc-4.8.2. I compiled FFmpeg successfully with gcc-4.8.2. When I tried to compile OpenCV, I met with some problems.

    In linking stage, there were some libraries can not be found by /opt/compiler/gcc-4.8.2/bin/ld. The error message is as follows :
    enter image description here

    The missing libraries are related with FFmpeg, and I have installed FFmpeg in ~/local/lib. Then I checked the file module/core/CMakeFiles/opencv_pref_core.dir/link.txt, It shows as follows :
    enter image description here

    The ld just did not search the path where I installed FFmpeg. I tried two methods :

    1. add FFmpeg path to env : export LD_LIBRARY_PATH=~/local/lib:$LD_LIBRARY_PATH ;
    2. add -D FFMPEG_INCLUDE_DIRS=~/local/include -D FFMPEG_LIBRARAY_DIRS=~/local/lib to cmake options

    They did not work at all.

  • Getting ffprobe or avprobe not found while using youtube_dl module

    26 décembre 2016, par Avinash
    import youtube_dl


    options = {
       'format':'bestaudio/best',
       'extractaudio':True,
       'audioformat': 'mp3',
       'outtmpl':'%(id)s.%(ext)s',
       'noplaylist':True,
       'nocheckcertificate':True,
       'postprocessors': [{
           'key': 'FFmpegExtractAudio',
           'preferredcodec': 'mp3',
           'preferredquality': '192',
       }],

    }

    with youtube_dl.YoutubeDL(options) as ydl:
       ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])

    I am Getting

    "youtube_dl.utils.DownloadError : ERROR : ffprobe or avprobe not found.
    Please install one."

    I downloaded ffmpeg and tried giving its bin folder location in path variable . I also tried copying that bin folder to my youtube_dl package folder. None of them worked.

    Thanks in advance.