
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (54)
-
Support de tous types de médias
10 avril 2011Contrairement à 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 2011MediaSPIP 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, parFormulaire 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 kolloI 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: NOThen 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_64And 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 magicleonI 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 anRTSP
stream withopencv
in python, and I’m out of ideas.
Here’s what I tried so far :- Tried to stream with
ffserver
andffmpeg
but even when I got it working, I could see the stream only in the browser with very high latency, and not working inopencv
- Tried to stream directly to
udp
withffmpeg
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
withffmpeg
support and I’m usingPython 2.7
.
My cam is a Sricam SP09 and myRTSP
url is the following :rtsp://973704:888888@192.168.1.78:554/onvif1
- Tried to stream with
-
Can not build ffmpeg with gpu acceleration on macOS
21 février 2018, par Kirill SerebriakovI’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/libGot 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 ?