Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (54)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • 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 (8939)

  • Why does OpenCV not compile with ffmpeg support ?

    19 février 2017, par kollo

    I ran the following command to compile opencv :

    cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/Users/user/work/repo/venv/local/ -D INSTALL_C_EXAMPLES=OFF -D PYTHON_PACKAGES_PATH=/Users/user/work/repo/venv/lib/python2.7/site-packages -D INSTALL_PYTHON_EXAMPLES=ON -D PYTHON_EXECUTABLE=/Users/user/work/repo/venv/bin/python -D WITH_CUDA=OFF -D FFMPEG_INCLUDE_DIR=/usr/include/ffmpeg -D FFMPEG_LIB_DIR=/usr/lib64 -D WITH_FFMPEG=YES ..

    Which resulted in :

    --   Video I/O:
    --     DC1394 1.x:                  NO
    --     DC1394 2.x:                  NO
    --     FFMPEG:                      NO
    --       avcodec:                   YES (ver 57.75.100)
    --       avformat:                  YES (ver 57.63.100)
    --       avutil:                    YES (ver 55.45.100)
    --       swscale:                   YES (ver 4.3.101)
    --       avresample:                NO

    Then any Python call to opencv using ffmpeg as a capture source will fail.

    I though I had the proper paths setup, since calling the ffmpeg command line returns :

    $ ffmpeg
    ffmpeg version n3.0.5-19-ga71d22d-rpmfusion Copyright (c) 2000-2016 the FFmpeg developers
     built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
     configuration: --prefix=/usr --bindir=/usr/local/bin/ --shlibdir=/usr/lib64 --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --extra-cflags='-O2 -g' --extra-version=rpmfusion --enable-bzlib --enable-nonfree --enable-libopenjpeg --enable-libx264 --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --enable-runtime-cpudetect --arch=x86_64

    And looking up in those dirs indeed give me the list of codecs listed in the cmakeoutput.

    I’m on OSX Sierra, and both opencv and ffmpeg are compiled manually.

    I can run the ffmpeg command line fine to convert any video file I need. I also can fire a Python shell and import using opencv and opening videos works correctly as long as I used the default capture source instead of cv2.CAP_FFMPEG. This means I can only open mp4 files right now.

  • Getting RTSP stream with Opencv and python

    2 mai 2017, par magicleon

    I know this could be the 100th question of this kind, but I dug up google and everything, and I could not find anything working.
    I need to get an RTSP stream with opencv in python, and I’m out of ideas.
    Here’s what I tried so far :

    • Tried to stream with ffserver and ffmpeg but even when I got it working, I could see the stream only in the browser with very high latency, and not working in opencv
    • Tried to stream directly to udp with ffmpeg but again, no luck
    • Tried this script, but all I got was corrupted and unusable images.

    Any ideas ? I’m running on Mac OSX Sierra, I have compiled OpenCV 3.2.0 with ffmpeg support and I’m using Python 2.7.
    My cam is a Sricam SP09 and my RTSP url is the following :

    rtsp://973704:888888@192.168.1.78:554/onvif1

  • Can not build ffmpeg with gpu acceleration on macOS

    21 février 2018, par Kirill Serebriakov

    I’m trying to use my GPU for video encoding/decoding operations on macOS.

    • OS : MacOS 10.12.5 (Sierra) //hackintosh if it matters
    • CUDA Toolkit 8.0 installed
    • NVidia GTX 1080 with latest web driver

    Followed this guides :

    Config :

    ./configure --enable-cuda --enable-cuvid --enable-nvenc \
    --enable-nonfree --enable-libnpp \
    --extra-cflags=-I/Developer/NVIDIA/CUDA-8.0/include \
    --extra-ldflags=-L/Developer/NVIDIA/CUDA-8.0/lib

    Got this error :

    ERROR: cuvid requested, but not all dependencies are satisfied: cuda

    config.log - full configure log

    I did not install Video Codec SDK (not sure how to make it on macOS, just thought that it may come with cuda toolkit) and according to this page I have a lot of limitations on OSX.

    Is it possible on macOS ? Or this will work only for linux/windows ?