
Recherche avancée
Autres articles (34)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (5667)
-
FFpyplayer installation on Raspberry Pi 3
2 décembre 2017, par id911first, I’m quite new to posting questions.
I’m trying to install FFPyplayer on Raspberry Pi 3 for the past few weeks, and it keeps failing. I’m frustrated beyond words with myself now. If someone can lend a hand, point me in right direction or tell me what steps I’m missing, I’d be very very grateful.
Below are the steps I followed.- sudo apt-get -y install libsdl2-dev libsdl2-mixer-dev python-dev
- mkdir /ffmpeg_sources
-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$HOME/ffmpeg_build/lib
-
sudo apt-get -y install yasm
- cd /ffmpeg_sources
- wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
- tar xzf yasm-1.3.0.tar.gz
- cd yasm-1.3.0
- ./configure —prefix="$HOME/ffmpeg_build" —bindir="$HOME/ffmpeg_build/bin"
- make
-
make install
-
sudo apt-get -y install nasm
- cd /home/pi/ffmpeg_sources
- wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/nasm-2.13.01.tar.xz
- tar xf nasm-2.13.01.tar.xz
- cd nasm-2.13.01
- ./configure —prefix="/home/pi/ffmpeg_build" ---
bindir="/home/pi/ffmpeg_build/bin" - make
-
make install
-
sudo apt-get -y install libx264-dev
- cd /ffmpeg_sources
- wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
- tar xjf last_x264.tar.bz2
-
cd x264-snapshot*
-
PATH="$HOME/ffmpeg_build/bin :$PATH" ./configure —prefix="$HOME/ffmpeg_build" —bindir="$HOME/ffmpeg_build/bin" —enable-shared —extra-cflags="-fPIC" ;
-
PATH="$HOME/ffmpeg_build/bin :$PATH" make
-
make install
-
sudo apt-get -y install libmp3lame-dev
- sudo apt-get -y install nasm
- cd /ffmpeg_sources
- wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
- tar xzf lame-3.99.5.tar.gz
- cd lame-3.99.5
- ./configure —prefix="$HOME/ffmpeg_build" —enable-nasm —enable-shared
- make
-
make install
-
sudo apt-get -y install libass-dev libfreetype6-dev libtheora-dev libvorbis-dev
- cd /ffmpeg_sources
- wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
- tar xjf ffmpeg-snapshot.tar.bz2
-
cd ffmpeg
-
PATH="$HOME/ffmpeg_build/bin :$PATH" -
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure —prefix="$HOME/ffmpeg_build" —extra-cflags="-I$HOME/ffmpeg_build/include -fPIC" —extra-ldflags="-L$HOME/ffmpeg_build/lib" —bindir="$HOME/ffmpeg_build/bin" —enable-gpl —enable-libass —enable-libfreetype —enable-libmp3lame —enable-libtheora —enable-libvorbis —enable-libx264 —enable-shared ; -
PATH="$HOME/ffmpeg_build/bin :$PATH" make
-
make install
-
pip install —upgrade cython nose
-
pip install ffpyplayer
Reference I used :
-
errors of 'vaGetDisplay' and `vaGetDisplayDRM'
30 août 2016, par KindermannAfter updating my ubuntu OS from 14.04 to 16.04, I installed the ffmpeg library using the following configurations :
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-ldflags="-L$HOME/ffmpeg_build/lib" \
--bindir="$HOME/bin" \
--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
make installIt seemed to me the installation process was ok. After that, I tried to compile my own C source code with the following Makefile :
EDITTED(adding -lva-drm -lva-x11 at line 10)
FFMPEG_LIBS= libavdevice \
libavformat \
libavfilter \
libavcodec \
libswresample \
libswscale \
libavutil \
TARGET = video_analysis
LIBS = -lva -lX11 -lvdpau -lm -lva-drm -lva-x11
CC = gcc
CFLAGS += -O2 -g -O0
CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)
.PHONY: default all clean
default: $(TARGET)
all: default
OBJECTS = $(patsubst %.c, %.o, $(wildcard *.c))
HEADERS = $(wildcard *.h)
%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -c $< -o $@
.PRECIOUS: $(TARGET) $(OBJECTS)
$(TARGET): $(OBJECTS)
$(CC) $(OBJECTS) $(LDLIBS) $(LIBS) -o $@
clean:
-rm -f *.o
-rm -f $(TARGET)However, my compiler complained the following errors :
/root/ffmpeg_build/lib/libavutil.a(hwcontext_vaapi.o): In function `vaapi_device_create':
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:896: undefined reference to `vaGetDisplay'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:917: undefined reference to `vaGetDisplayDRM'
collect2: error: ld returned 1 exit status
Makefile:30: recipe for target 'video_analysis' failed
make: *** [video_analysis] Error 1My question is : in which library do ’vaGetDisplay’ and `vaGetDisplayDRM’ exist ? It’s for sure that libva functions properly. I have no clue how to fix the bugs...Thank you in advance !
-
Undefined reference to av_log
12 novembre 2017, par Dana PrakosoI am cross-compiling FFMPEG source in Linux for Windows using i686-w64-mingw32 using this script :
../ffmpeg/configure --disable-ffmpeg --disable-ffprobe --disable-ffplay --disable-shared --enable-static --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-cross-compile
And it generates all static library files with extension *.a inside "lib" folder. Then I try to link those libraries with my own source, with this script :
i686-w64-mingw32-gcc -m32 -c videoplayer.c -o videoplayer.o -w $(INCLUDEDIR) -Wl,--add-stdcall-alias
i686-w64-mingw32-gcc -static -m32 -o libvideoplayer.dll videoplayer.o -Wl,--out-implib,libvideoplayer_dll.lib -Wl,--add-stdcall-alias -L../../ffmpeg/lib -lavdevice -lavformat -lavcodec -lavutil -lwsock32 -lswresample ../../ffmpeg/lib/libWs2_32.libAnd I got this bunch of error messages :
../../ffmpeg/lib/libavformat.a(rtpproto.o): In function `rtp_resolve_host':
/home/dana/Sources/build-ffmpeg/src/libavformat/rtpproto.c:140: undefined reference to `_imp__getaddrinfo@16'
../../ffmpeg/lib/libavformat.a(rtpproto.o): In function `rtp_parse_addr_list':
/home/dana/Sources/build-ffmpeg/src/libavformat/rtpproto.c:282: undefined reference to `_imp__freeaddrinfo@4'
/home/dana/Sources/build-ffmpeg/src/libavformat/rtpproto.c:277: undefined reference to `_imp__freeaddrinfo@4'
../../ffmpeg/lib/libavformat.a(tcp.o): In function `tcp_open':
/home/dana/Sources/build-ffmpeg/src/libavformat/tcp.c:112: undefined reference to `_imp__getaddrinfo@16'
/home/dana/Sources/build-ffmpeg/src/libavformat/tcp.c:114: undefined reference to `_imp__getaddrinfo@16'
/home/dana/Sources/build-ffmpeg/src/libavformat/tcp.c:177: undefined reference to `_imp__freeaddrinfo@4'
/home/dana/Sources/build-ffmpeg/src/libavformat/tcp.c:192: undefined reference to `_imp__freeaddrinfo@4'How do I resolve this ? Do I miss something in my script ? Big thanks for someone replying.