Recherche avancée

Médias (91)

Autres articles (44)

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

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (6532)

  • OpenCV3.1 compilation error 'ffmpeg/avformat.h' file not found

    15 décembre 2016, par aquagremlin

    On MacOS 10.9.5 Mavericks. I used homebrew to install Python, cmake, ffmpeg.
    Entering ffmpeg in terminal shows it is installed.
    I downloaded Opencv3 and opencv_contrib

    Then cmake with this :

    cmake -D CMAKE_BUILD_TYPE=RELEASE \
       -D WITH_CUDA=OFF -D CMAKE_INSTALL_PREFIX=/Users/stefan/Downloads/opencv-3.1.0dl/build \
       -D PYTHON2_LIBRARIES=/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/bin \
       -D PYTHON2_PACKAGES_PATH=~/.virtualenvs/cv/lib/python2.7/site-packages \
       -D PYTHON2_NUMPY_INCLUDE_DIRS=~/.virtualenvs/cv/lib/python2.7/site-packages/numpy/core/include \
       -D PYTHON2_INCLUDE_DIR=/usr/local/Frameworks/Python.framework/Headers \
       -D INSTALL_PYTHON_EXAMPLES=ON -D WITH_TBB=ON  -D INSTALL_C_EXAMPLES=ON \
       -D FFMPEG_INCLUDE_DIR=/usr/local/Cellar/ffmpeg/3.0.2/include \
       -D FFMPEG_LIB_DIR=/usr/local/Cellar/ffmpeg/3.0.2/lib \
       -D BUILD_EXAMPLES=ON \
       -D OPENCV_EXTRA_MODULES_PATH=~/Downloads/opencv_contrib-3.0.0/modules ..

    Terminal output included this :

    --   Video I/O:
    --     DC1394 1.x:                  NO
    --     DC1394 2.x:                  NO
    --     FFMPEG:                      YES
    --       codec:                     YES (ver 57.24.102)
    --       format:                    YES (ver 57.25.100)
    --       util:                      YES (ver 55.17.103)
    --       swscale:                   YES (ver 4.0.100)
    --       resample:                  YES (ver 3.0.0)
    --       gentoo-style:              YES

    But CMakeError.log had this as its only error :

    ffmpeg/avformat.h file not found

    The file does exist at

    /usr/local/Cellar/ffmpeg/3.0.2/include/libavformat/avformat.h

    I do not understand why I am getting this error if I properly specified the FFMPEG include directories in the cmake command. Also the variables FMPEG_INCLUDE_DIR and FFMPEG_LIB_DIR do not exist in the file, CMakeLists.txt.
    Does that make my use of those variables in the cake command useless ?

  • dxva2_h264 : Unbreak compilation after 3176217c6

    25 avril 2016, par Martin Storsjö
    dxva2_h264 : Unbreak compilation after 3176217c6
    

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/dxva2_h264.c
  • ffmpeg compilation error in windows 10 x64 for Visual Studio 2015 CE

    12 avril 2016, par Anqush

    So i was trying to use FFmpegInterop for win10 UWP application. And followed the specification given on https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT.

    here is some environment information :

    VS2015 Community Edition with 10.0.10240.0 SDK

    OS : Windows 10 Enterprise x64

    PATH were set to:Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/x64_ARM

    So when i did this in msys2_shell.bat

    ../../../configure \
    --toolchain=msvc \
    --disable-programs \
    --disable-d3d11va \
    --disable-dxva2 \
    --arch=x86_64 \
    --enable-shared \
    --enable-cross-compile \
    --target-os=win32 \
    --extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" \
    --extra-ldflags="-APPCONTAINER WindowsApp.lib" \
    --prefix=../../../Build/Windows10/x64

    I got a warning regarding some pkg file that can’t be found and may cause library detection issues.

    For then i ignored it. After that i entered

    make

    this started a series of processing in which there is a lot of possibly harmful warnings. Like :-

    c:\ffmpeginterop\ffmpeg\libavcodec\get_bits.h(307): warning C4101: 're_cache': unreferenced local variable
    CC libavformat/srtdec.o
    srtdec.c
    c:\ffmpeginterop\ffmpeg\libavutil\libm.h(438): warning C4211: nonstandard extension used: redefined extern to static
    c:\ffmpeginterop\ffmpeg\libavformat\subtitles.h(189): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data

    So my question is that. Is this dangerous to proceed with. Can you help me for i should proceed with my project without any worry or not ? And i would be gratefull if anyone can guide me to watc out for specific errors that this could generate.

    I know this is a lot to ask. But i would be gratefull.
    Thanks

    Edit : Now i cant run the samples included in the ffmpeginterop package. The sample project wont debug. saying these are out of date.