
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (60)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (7438)
-
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 ?
-
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