
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (111)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
MediaSPIP Init et Diogène : types de publications de MediaSPIP
11 novembre 2010, parÀ l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)
Sur d’autres sites (6245)
-
Why can't FFmpeg code compile on different ARM 64 bit platforms?
2 septembre 2021, par yanzhang.guoThe same code (test_ffmpeg.c), I have compiled it on the x86_64 platform successfully, and there is no problem. I can successfully push the video to the RTMP server. However, if I switch to the ARM 64-bit platform, there is a problem with the compilation. Why ?


- 

-
Cross compile x264


./configure --enable-shared --disable-asm



Edit config.mak


SRCPATH=.
prefix=/usr/local
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
libdir=${exec_prefix}/lib
includedir=${prefix}/include
SYS_ARCH=aarch64
SYS=LINUX
CC=aarch64-linux-gnu-gcc
CFLAGS=-Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -Wall -I. -I$(SRCPATH) -std=gnu99 -
D_GNU_SOURCE -fPIC -fomit-frame-pointer -fno-tree-vectorize
COMPILER=GNU
COMPILER_STYLE=GNU
DEPMM=-MM -g0
DEPMT=-MT
LD=aarch64-linux-gnu-gcc -o
LDFLAGS= -lm -lpthread -ldl
LIBX264=libx264.a
AR=aarch64-linux-gnu-gcc-ar rc
RANLIB=aarch64-linux-gnu-gcc-ranlib
STRIP=strip
INSTALL=install
AS=
ASFLAGS= -I. -I$(SRCPATH) -f elf64 -DSTACK_ALIGNMENT=64
-DPIC
RC=
RCFLAGS=
EXE=
HAVE_GETOPT_LONG=1
DEVNULL=/dev/null
PROF_GEN_CC=-fprofile-generate
PROF_GEN_LD=-fprofile-generate
PROF_USE_CC=-fprofile-use
PROF_USE_LD=-fprofile-use
HAVE_OPENCL=yes
CC_O=-o $@
default: cli
install: install-cli
SOSUFFIX=so
SONAME=libx264.so.157
SOFLAGS=-shared -Wl,-soname,$(SONAME) -Wl,-Bsymbolic
default: lib-shared
install: install-lib-shared
LDFLAGSCLI = -ldl
CLI_LIBX264 = $(LIBX264)



then,


make && make install



-
Cross compile FFmpeg


./configure --arch=aarch64 --enable-cross-compile --target-os=linux --cc=aarch64-linux-gnu-gcc --
 cross-prefix=aarch64-linux-gnu- --prefix=./ffmpeg_result --enable-shared --disable-static --
 disable-doc --enable-gpl --enable-libx264 --extra-ldflags=-L/usr/local/lib/ --extra-libs=-ldl -
 -extra-cflags=-I/usr/local/include



Add output of ffmpeg configure :output.


then,


make && make install



-
Cross compile file test_ffmpeg.c


aarch64-linux-gnu-gcc test_ffmpeg.c -lavcodec -lavdevice -lavfilter -lavformat -lavutil -L
/data/ffmpeg-4.3/ffmpeg_result/lib -I /data/ffmpeg-4.3/ffmpeg_result/include -g











An error occurred, as detailed below :


test_ffmpeg.c: In function 'main':
test_ffmpeg.c:63:3: warning: 'codec' is deprecated [-Wdeprecated-declarations]
AVStream *out_stream = avformat_new_stream(ofmt_ctx, in_stream->codec->codec);
^~~~~~~~
In file included from test_ffmpeg.c:4:
/data/ffmpeg-4.3/ffmpeg_result/include/libavformat/avformat.h:880:21: note: declared here
AVCodecContext *codec;
^~~~~
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: warning:
libswresample.so.3, needed by /data/ffmpeg-4.3/ffmpeg_result/lib/libavcodec.so, not found (try
using -rpath or -rpath-link)
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: warning:
libswscale.so.5, needed by /data/ffmpeg-4.3/ffmpeg_result/lib/libavfilter.so, not found (try
using -rpath or -rpath-link)
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: warning:
libpostproc.so.55, needed by /data/ffmpeg-4.3/ffmpeg_result/lib/libavfilter.so, not found (try
using -rpath or -rpath-link)
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_freeContext@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `pp_get_context@LIBPOSTPROC_55'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `swr_alloc_set_opts@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `pp_postprocess@LIBPOSTPROC_55'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `swr_get_class@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_scaleVec@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to
`swr_set_channel_mapping@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_getCoefficients@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavcodec.so: undefined reference to `swr_alloc@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_getGaussianVec@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to
`pp_get_mode_by_name_and_quality@LIBPOSTPROC_55'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `swr_next_pts@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavcodec.so: undefined reference to `swr_init@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to
`sws_setColorspaceDetails@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_isSupportedOutput@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_init_context@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavcodec.so: undefined reference to `swr_close@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_alloc_context@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_scale@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `swr_get_delay@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `pp_free_context@LIBPOSTPROC_55'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavcodec.so: undefined reference to `swr_convert@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_freeVec@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavcodec.so: undefined reference to `swr_is_initialized@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_getContext@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `pp_free_mode@LIBPOSTPROC_55'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_isSupportedInput@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_getCachedContext@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `swr_set_matrix@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to `sws_get_class@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavcodec.so: undefined reference to `swr_free@LIBSWRESAMPLE_3'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to
`sws_getColorspaceDetails@LIBSWSCALE_5'
/usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: /data/ffmpeg-
4.3/ffmpeg_result/lib/libavfilter.so: undefined reference to
`sws_isSupportedEndiannessConversion@LIBSWSCALE_5'
collect2: error: ld returned 1 exit status



-
-
broadcast HLS/TS Stream from FFMPEG
2 août 2014, par Dylan LundyI’m still wrapping my head around most of this, so sorry if my issue is an obvious one !
I’m trying to broadcast a FFMPEG ’stream’ to a HLS stream i can load into a webpage.
My understanding is that i need a media server to broadcast it from FFMPEG to a HLS stream ? with FFMPEG feeding the data to the server. I’m probably wrong though.
I previously semi achieved what i want to do with stream-m, however it was too slow (less than 1 FPS) and wasn’t broadcasting in HLS.
Previously, the steps i went through were to launch the stream-m server. then launce FFMPEG with the following command :
ffmpeg.exe -f dshow -i video="screen-capture-recorder" -r 1 -g 2 -vcodec libvpx -vb 1024 -f matroska http://localhost:8080/publish/first?password=secret
I could connect to the stream with Chrome using the following HTML :
<video src="http://localhost/consume" autoplay="autoplay">
</video>The issue is that this was slow, unusable in fact, and it’s not in HLS/H264.
I need the feed in the specific codec as i intend to send it to a WiiU browser, which only supports "M3U8+TS(HTTPLiveStreaming)"
http://www.nintendo.com/wiiu/built-in-software/browser-specs/Cheers
-
iOS compatible live mp4 stream
12 août 2017, par Salvo PassaroI have a video source which gives me a raw h264 stream. I need to re-stream this live input in a way it is cross-compatible and playable without any plugin. I’ve tried using ffmpeg+ffserver to produce a fragmented mp4, but unfortunately my iPhone isn’t playing it.
Is there a way to make it (raw h264 in mp4 container) playable in iOS’s Safari, or maybe another cross-platform container ?
Ps : i’m using a raspberry pi 3 to host ffmpeg processes, so i’m avoiding re encoding tasks ; instead i’m just trying to fit my raw h264 in a "ios-compatible" container and make it accessible through a media server.