
Recherche avancée
Autres articles (101)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (7946)
-
x264 failed to load avisynth - ubuntu 14.04
23 juin 2015, par ShohamIm trying to reduce a video.mov file (taken with canon dslr).
Im using x264 like so :x264 -o '/home/user/Desktop/MVI_0390.mp4' '/home/user/Desktop/MVI_0390.MOV'
And Im getting following error :
avs [error]: failed to load avisynth
raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `/home/user/Desktop/MVI_0390.MOV' via any method!What am I doing wrong ?
-
MXE compilation, openjpeg.h not found error
19 avril 2021, par HIqI am compiling MXE for the cross-compilation of FFmpeg.
I am following the instructions here and after running the
make
command, the following error occurred :

[build] proj i686-w64-mingw32.static
[done] proj i686-w64-mingw32.static 27156 KiB 0m10.026s
[build] libgeotiff i686-w64-mingw32.static
[done] libgeotiff i686-w64-mingw32.static 41492 KiB 0m19.380s
[build] netcdf i686-w64-mingw32.static
[done] netcdf i686-w64-mingw32.static 114152 KiB 0m22.519s
[build] openjpeg i686-w64-mingw32.static
[done] openjpeg i686-w64-mingw32.static 38572 KiB 0m9.627s
[build] spatialite i686-w64-mingw32.static
[done] spatialite i686-w64-mingw32.static 380204 KiB 0m58.171s
[build] gdal i686-w64-mingw32.static

Failed to build package gdal for target i686-w64-mingw32.static!
------------------------------------------------------------
checking for nc_open in -lnetcdf... no
configure: JasPer (JPEG2000) support disabled.
configure: error: openjpeg.h not found in /home/hiqbal/mxe/usr/i686-w64-mingw32.static/include/openjpeg-2.0 or /home/hiqbal/mxe/usr/i686-w64-mingw32.static/include/openjpeg-2.1 or /home/hiqbal/mxe/usr/i686-w64-mingw32.static/include/openjpeg-2.2 or /home/hiqbal/mxe/usr/i686-w64-mingw32.static/include/openjpeg-2.3
Makefile:851: recipe for target 'build-only-gdal_i686-w64-mingw32.static' failed
make[1]: *** [build-only-gdal_i686-w64-mingw32.static] Error 1
make[1]: Leaving directory '/home/hiqbal/mxe'
real 0m17.644s
user 0m13.999s
sys 0m1.669s
------------------------------------------------------------
[log] /home/hiqbal/mxe/log/gdal_i686-w64-mingw32.static

Makefile:851: recipe for target '/home/hiqbal/mxe/usr/i686-w64-mingw32.static/installed/gdal' failed
make: *** [/home/hiqbal/mxe/usr/i686-w64-mingw32.static/installed/gdal] Error 1



It seems that it was unable to find openjpeg.h and searched in folder openjpeg-2.0 to openjpeg-2.3. However, when I checked /mxe/usr/i686-w64-mingw32.static/include/, it contains openjpeg-2.4.


The log for /mxe/log/gdal_i686-w64-mingw32.static is present here.


Please help fix this. Thanks.


-
Compliing OpenCV with FFMPEG failing
20 mai 2016, par moorejI’m trying to install OpenCV 3.1.0 on Ubuntu 14.04 with ffmpeg and python 2.7 support. I’m able to compile with :
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local
-D INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=ON
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.1.0/modules
-D WITH_FFMPEG=OFF -D BUILD_EXAMPLES=ON ..But -D WITH_FFMPEG=ON fails with the error :
/usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit statusI’m compiling ffmpeg as well and I’ve looked at a number of posts relating to the problem and attempted to add —enable-pic and —enable-shared along with some other options but I have to admit I’m a bit stupid when it comes to anything compilation related. My process for compiling ffmpeg is below. Please help me with my mess. Thanks !
mkdir ~/ffmpeg_sources
#libx264
cd ~/ffmpeg_sources
wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar xjvf last_x264.tar.bz2
cd x264-snapshot*
PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static --enable-shared --enable-pic
PATH="$HOME/bin:$PATH" make -j4
make install
make distclean
#libfdk-aac
cd ~/ffmpeg_sources
wget -O fdk-aac.tar.gz https://github.com/mstorsjo/fdk-aac/tarball/master
tar xzvf fdk-aac.tar.gz
cd mstorsjo-fdk-aac*
autoreconf -fiv
./configure --prefix="$HOME/ffmpeg_build" --enable-shared --enable-pic
make -j4
make install
make distclean
#libmp3lame
sudo apt-get install nasm
cd ~/ffmpeg_sources
wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
tar xzvf lame-3.99.5.tar.gz
cd lame-3.99.5
./configure --prefix="$HOME/ffmpeg_build" --enable-nasm --enable-shared --enable-pic
make -j4
make install
make distclean
#libopus
cd ~/ffmpeg_sources
wget http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz
tar xzvf opus-1.1.tar.gz
cd opus-1.1
./configure --prefix="$HOME/ffmpeg_build" --enable-shared --enable-pic
make -j4
make install
make clean
#libvpx
cd ~/ffmpeg_sources
wget http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.5.0.tar.bz2
tar xjvf libvpx-1.5.0.tar.bz2
cd libvpx-1.5.0
PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-shared --enable-pic
PATH="$HOME/bin:$PATH" make -j4
make install
make clean
#ffmpeg
cd ~/ffmpeg_sources
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure
--prefix="$HOME/ffmpeg_build"
--pkg-config-flags="--static"
--extra-cflags="-I$HOME/ffmpeg_build/include"
--extra-cflags="-fPIC -m64 -I$HOME/ffmpeg_build/include"
--extra-ldflags="-L$HOME/ffmpeg_build/lib"
--bindir="$HOME/bin"
--enable-pic
--enable-shared
--enable-gpl
--enable-libass
--enable-libfdk-aac
--enable-libfreetype
--enable-libmp3lame
--enable-libopus
--enable-libtheora
--enable-libvorbis
--enable-libvpx
--enable-libx264
--enable-nonfree
PATH="$HOME/bin:$PATH" make -j4
make install
make distclean
hash -r