
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (101)
-
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 (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (11776)
-
encoding video with HEVC codec in opencv (ffmpeg)
8 décembre 2020, par 404pioI have read documentation(https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu and https://docs.opencv.org/master/d2/de6/tutorial_py_setup_in_ubuntu.html) about opencv and ffmpeg, so I have compiled both parts. And when I call :


import cv2
writer = cv2.VideoWriter('test.mkv', cv2.VideoWriter_fourcc(*'HEVC'), 30, (1080, 1920))



or


import cv2
writer = cv2.VideoWriter('test.mp4', cv2.VideoWriter_fourcc(*'HEVC'), 30, (1080, 1920))



I'm getting following error
OpenCV: FFMPEG: tag 0x43564548/'HEVC' is not found (format 'mp4 / MP4 (MPEG-4 Part 14)')'
. What is interesting, it works with h264 codec, previous version without compiling doesn't support h264. Do I have problem with ffmpeg or opencv ?

I have docker image as follows :


FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -y --fix-missing && \
 apt-get install -y git cmake gcc g++ build-essential curl \
 vim wget unzip yasm python3-dev \
 python3-numpy libavcodec-dev libavformat-dev \
 libswscale-dev libpng-dev libjpeg-dev libwebp-dev && \
 rm -rf /var/lib/apt/lists/*

# compile ffmpeg
RUN apt-get install -y autoconf automake build-essential cmake \
 git-core libass-dev libfreetype6-dev \
 libgnutls28-dev libsdl2-dev libtool \
 libunistring-dev libva-dev libvdpau-dev \
 libvorbis-dev libxcb1-dev \
 libxcb-shm0-dev libxcb-xfixes0-dev \
 pkg-config texinfo wget yasm \
 zlib1g-dev libx264-dev libx265-dev libnuma-dev && \
 mkdir -p ~/ffmpeg_sources && \
 cd ~/ffmpeg_sources && \
 git -C x265_git pull 2> /dev/null || git clone --depth 1 https://bitbucket.org/multicoreware/x265_git && \
 cd x265_git/build/linux && \
 cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED=off ../../source && \
 make && \
 make install && \
 cd ~/ffmpeg_sources && \
 wget -q -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 && \
 tar xjf 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-ldflags="-L$HOME/ffmpeg_build/lib" \
 --extra-libs="-lpthread -lm" \
 --bindir="/usr/local/bin" \
 --enable-gpl \
 --enable-gnutls \
 --enable-libass \
 --enable-libfreetype \
 --enable-libvorbis \
 --enable-libx264 \
 --enable-libx265 \
 --enable-nonfree && \
 PATH="$HOME/bin:$PATH" make && \
 make install && \
 hash -r && \
 rm -rf /var/lib/apt/lists/*

# compile opencv
RUN mkdir -p ~/opencv_sources && \
 git clone --depth 1 --branch 4.5.0 https://github.com/opencv/opencv.git ~/opencv_sources && \
 mkdir -p ~/opencv_sources/build && cd ~/opencv_sources/build && \
 cmake -D WITH_FFMPEG=ON ../ &&
 make && make install



-
Libsourcey : Segmentation fault
12 décembre 2018, par Iranna PattarI am running WebRTC Native Video Recorder demo Application,but getting Segmentation fault (core dumped).
here is the cmake command :
cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_SHARED_LIBS=OFF -DBUILD_MODULES=OFF -DBUILD_APPLICATIONS=OFF \
-DBUILD_SAMPLES=ON -DBUILD_TESTS=OFF -DWITH_WEBRTC=ON -DWITH_FFMPEG=ON -DBUILD_MODULE_base=ON \
-DBUILD_MODULE_crypto=ON -DBUILD_MODULE_http=ON -DBUILD_MODULE_json=ON -DBUILD_MODULE_av=ON \
-DBUILD_MODULE_net=ON -DBUILD_MODULE_socketio=ON -DBUILD_MODULE_symple=ON -DBUILD_MODULE_stun=ON \
-DBUILD_MODULE_turn=ON -DBUILD_MODULE_util=ON -DBUILD_MODULE_uv=ON -DBUILD_MODULE_webrtc=ON \
-DBUILD_SAMPLES_webrtc=ON -DWEBRTC_INCLUDE_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/include \
-DWEBRTC_LIBRARIES=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/lib/ \
-DWEBRTC_ROOT_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64 \
-DBUILD_MODULE_openssl=ON -DOPENSSL_ROOT_DIR=/usr/local/ssl -DOPENSSL_LIBRARIES=/usr/local/ssl/lib/ \
-DOPENSSL_INCLUDE_DIR=/usr/local/ssl/include/openssl/and Resolution is 640*480 , bit rate 128000, profile level is 3.2 .
[libx264 @ 0x7f63dc001600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 LZCNT BMI1
[libx264 @ 0x7f63dc001600] profile High, level 3.2
Segmentation fault (core dumped)I have tried to track with gdb and backtrace but couldnt find
[libx264 @ 0x7fffa4001600] profile High, level 3.2
Thread 19 "IncomingVideoSt" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd76fd700 (LWP 21381)]
0x00000001000001e0 in ?? ()
bt
#0 0x00000001000001e0 in ?? ()
#1 0x00007ffff5380c6c in x264_stack_align () from /usr/lib/x86_64-linux-gnu/libx264.so.155
#2 0x00007fffd76f710c in ?? ()
#3 0x00007fffd76f7110 in ?? ()
#4 0x0000000000000000 in ?? ()How to resolve this error ?
-
Libsourcey : Segmentation fault
12 décembre 2018, par Iranna PattarI am running WebRTC Native Video Recorder demo Application,but getting Segmentation fault (core dumped).
here is the cmake command :
cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_SHARED_LIBS=OFF -DBUILD_MODULES=OFF -DBUILD_APPLICATIONS=OFF \
-DBUILD_SAMPLES=ON -DBUILD_TESTS=OFF -DWITH_WEBRTC=ON -DWITH_FFMPEG=ON -DBUILD_MODULE_base=ON \
-DBUILD_MODULE_crypto=ON -DBUILD_MODULE_http=ON -DBUILD_MODULE_json=ON -DBUILD_MODULE_av=ON \
-DBUILD_MODULE_net=ON -DBUILD_MODULE_socketio=ON -DBUILD_MODULE_symple=ON -DBUILD_MODULE_stun=ON \
-DBUILD_MODULE_turn=ON -DBUILD_MODULE_util=ON -DBUILD_MODULE_uv=ON -DBUILD_MODULE_webrtc=ON \
-DBUILD_SAMPLES_webrtc=ON -DWEBRTC_INCLUDE_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/include \
-DWEBRTC_LIBRARIES=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64/lib/ \
-DWEBRTC_ROOT_DIR=/home/ubuntu/temp/webrtc-22215-ab42706-linux-x64 \
-DBUILD_MODULE_openssl=ON -DOPENSSL_ROOT_DIR=/usr/local/ssl -DOPENSSL_LIBRARIES=/usr/local/ssl/lib/ \
-DOPENSSL_INCLUDE_DIR=/usr/local/ssl/include/openssl/and Resolution is 640*480 , bit rate 128000, profile level is 3.2 .
[libx264 @ 0x7f63dc001600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 LZCNT BMI1
[libx264 @ 0x7f63dc001600] profile High, level 3.2
Segmentation fault (core dumped)I have tried to track with gdb and backtrace but couldnt find
[libx264 @ 0x7fffa4001600] profile High, level 3.2
Thread 19 "IncomingVideoSt" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd76fd700 (LWP 21381)]
0x00000001000001e0 in ?? ()
bt
#0 0x00000001000001e0 in ?? ()
#1 0x00007ffff5380c6c in x264_stack_align () from /usr/lib/x86_64-linux-gnu/libx264.so.155
#2 0x00007fffd76f710c in ?? ()
#3 0x00007fffd76f7110 in ?? ()
#4 0x0000000000000000 in ?? ()How to resolve this error ?