
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (79)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (12738)
-
errors when compiling c code with ffmpeg library
2 mai 2017, par KindermannI’ve installed ffmpeg library in my new ubuntu 16.04 OS. When I tried to compile my c code, I got the following strange errors :
/home/widerstand/ffmpeg_build/lib/libavutil.a(hwcontext_vaapi.o): In function `vaapi_device_free':
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:861: undefined reference to `XCloseDisplay'
/home/widerstand/ffmpeg_build/lib/libavutil.a(hwcontext_vaapi.o): In function `vaapi_device_create':
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:891: undefined reference to `XOpenDisplay'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:896: undefined reference to `vaGetDisplay'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:903: undefined reference to `XDisplayName'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:893: undefined reference to `XDisplayName'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:917: undefined reference to `vaGetDisplayDRM'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:891: undefined reference to `XOpenDisplay'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:893: undefined reference to `XDisplayName'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:898: undefined reference to `XDisplayName'
/home/widerstand/ffmpeg_build/lib/libavutil.a(hwcontext_vdpau.o): In function `vdpau_device_create':
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vdpau.c:431: undefined reference to `XOpenDisplay'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vdpau.c:437: undefined reference to `XDisplayString'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vdpau.c:439: undefined reference to `XDefaultScreen'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vdpau.c:439: undefined reference to `vdp_device_create_x11'
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vdpau.c:433: undefined reference to `XDisplayName'
/home/widerstand/ffmpeg_build/lib/libavutil.a(hwcontext_vdpau.o): In function `vdpau_device_free':
/home/widerstand/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vdpau.c:410: undefined reference to `XCloseDisplay'
collect2: error: ld returned 1 exit status
Makefile:30: recipe for target 'video_analysis' failed
make: *** [video_analysis] Error 1I’ve reinstalled ffmpeg library multiple times 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" makeThe installation process was successful each time. But when I tried to compile my own c code, I always encountered the same errors as mentioned above. I have no idea about that...
Here is the makefile I used :EDIT :
FFMPEG_LIBS= libavdevice \
libavformat \
libavfilter \
libavcodec \
libswresample \
libswscale \
libavutil \
TARGET = video_analysis
LIBS = -lX11 -lm -lvdpau -lva
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)EDIT :
Afer swapping $(LIBS) and $(LDLIBS) to be $(LDLIBS) $(LIBS) at line 30, it looks much better, but the compiler still reports the following errors :
/root/ffmpeg_build/lib/libavutil.a(hwcontext_vaapi.o): In function `vaapi_device_create':
/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:896: undefined reference to `vaGetDisplay'
/ffmpeg_sources/ffmpeg/libavutil/hwcontext_vaapi.c:917: undefined reference to `vaGetDisplayDRM'I have no idea which library is still missing ? It looks as if libva were still missing ?...
I got the answer by myself...Have a look at here : errors of ’vaGetDisplay’ and `vaGetDisplayDRM’ -
Nginx RTMP - restream rtmp or hls with 1h delay
15 août 2015, par Michał PaduchI want to show users with 1h deley my rtmp stream. How to accomplish this task ?
I think about solution :
input : rtmp ://stream...
Record input into small files, e.g such way :recorder chunked {
record all;
record_interval 15s;
record_suffix -%Y-%m-%d-%H%M.flv;
record_path /home/user/capture/chunked;
}Then only how to stream again this small files with hls or rtmp back to end user ?
-
No valid H.264 encoder was found with the ffmpeg installation [closed]
20 juin 2023, par EmJayI installed imageio-ffmpeg properly but encounterd the following error.


Iteration 09990: train_psnr = 20.76 test_psnr = 0.00 mse = 0.008295: 40%|██████▍ | 9999/25000 [13:15<19:53, 12.57it/s]
Traceback (most recent call last):
 File "/home/Code/OR_NeRF_custom/comparison/TensoRF/train.py", line 429, in <module>
 reconstruction(args)
 File "/home/Code/OR_NeRF_custom/comparison/TensoRF/train.py", line 343, in reconstruction
 PSNRs_test = evaluation(test_dataset, tensorf, args, renderer, f'{logfolder}/imgs_vis/', N_vis=args.N_vis,
 File "/home/Home/Install/anaconda3/envs/ornerf/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
 return func(*args, **kwargs)
 File "/home/Code/OR_NeRF_custom/comparison/TensoRF/renderer.py", line 78, in evaluation
 imageio.mimwrite(f'{savePath}/{prtx}video.mp4', np.stack(rgb_maps), fps=30, quality=10)
 File "/home/Home/Install/anaconda3/envs/ornerf/lib/python3.9/site-packages/imageio/v2.py", line 495, in
mimwrite
 return file.write(ims, is_batch=True, **kwargs)
 File "/home/Home/Install/anaconda3/envs/ornerf/lib/python3.9/site-packages/imageio/core/legacy_plugin_wrapper.py", line 253, in write
 writer.append_data(image, metadata)
 File "/home/Home/Install/anaconda3/envs/ornerf/lib/python3.9/site-packages/imageio/core/format.py", line 590, in append_data
 return self._append_data(im, total_meta)
 File "/home/Home/Install/anaconda3/envs/ornerf/lib/python3.9/site-packages/imageio/plugins/ffmpeg.py", line 587, in _append_data
 self._initialize()
 File "/home/Home/Install/anaconda3/envs/ornerf/lib/python3.9/site-packages/imageio/plugins/ffmpeg.py", line 648, in _initialize
 self._write_gen.send(None)
 File "/home/Home/Install/anaconda3/envs/ornerf/lib/python3.9/site-packages/imageio_ffmpeg/_io.py", line
509, in write_frames
 codec = get_first_available_h264_encoder()
 File "/home/Home/Install/anaconda3/envs/ornerf/lib/python3.9/site-packages/imageio_ffmpeg/_io.py", line
130, in get_first_available_h264_encoder
 raise RuntimeError(
RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
</module>


These are the installed libraries starts with 'im' listed by conda.


imagecodecs 2021.8.26 py39hfcb8610_2
imageio 2.31.1 pyh24c5eb1_0 conda-forge
imageio-ffmpeg 0.4.8 pyhd8ed1ab_0 conda-forge
imagemagick 7.1.1_5 pl5321h211c493_1 conda-forge
imgaug 0.4.0 pypi_0 pypi
importlib-metadata 6.6.0 pypi_0 pypi
importlib-resources 5.12.0 pypi_0 pypi



Since I'm not capable of using sudo, I hope the suggested answers to be independent to sudo instruction.