
Recherche avancée
Autres articles (24)
-
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone. -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (3744)
-
How to properly compress single image videos with ffmpeg ?
6 mars 2016, par ShoshomigaI have a video that I am converting through an automated system that is 7mb, it is basically an mp3 with an image.
Now when its converted it magically becomes 17mb. My guess is its looping through the images instead of compressing them. The video was downloaded from youtube.
Here is my command that I’m converting it with :
/usr/local/bin/ffmpeg -i '/home/site/www-video/Upload/Temp/9d40b683eb2e8e8a036d64c741d04e01.flv' -pass 1 -vcodec libx264 -vpre fast_firstpass -s 480x360 -g 12 -fs 524288000 -vsync 2 -threads 0 -f rawvideo -an -y /dev/null
&&
/usr/local/bin/ffmpeg -i '/home/site/www-video/Upload/Temp/9d40b683eb2e8e8a036d64c741d04e01.flv' -pass 2 -acodec copy -vcodec libx264 -vpre fast -b 512k -g 12 -s 480x360 -fs 524288000 -vsync 2 -threads 0 -y /home/site/www-video/Upload/Temp/15616/video.flvAs you can see I’m converting it to the same format and it magically gains 10mb
-
errors of 'vaGetDisplay' and `vaGetDisplayDRM' [duplicate]
29 novembre 2018, par KindermannThis question already has an answer here :
After 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 !
-
Build ffmpeg in ndk-r9b error
4 février 2014, par HuanpqI build ffmpeg on linux via use ndk-r9b but i can not build and have some error as bellow., So I don't have any ways to resolve this issue., Pls help me., Thanks so much !
/home/phamquochuan/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld : error : cannot find -lavutil
/home/phamquochuan/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld : error : cannot find -lavfilter......
/home/phamquochuan/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld : ./obj/local/armeabi-v7a/objs/basicplayer/BasicPlayer/BasicPlayer.o : in function decode:jni/BasicPlayer/BasicPlayer.c:1263 : error : undefined reference to 'av_rescale_q'
/home/phamquochuan/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld : ./obj/local/armeabi-v7a/objs/basicplayer/BasicPlayer/BasicPlayer.o : in function decode:jni/BasicPlayer/BasicPlayer.c:1266 : error : undefined reference to 'av_seek_frame'
collect2 : ld returned 1 exit status
make : * [obj/local/armeabi-v7a/libbasicplayer.so] Error 1