
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (67)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)
Sur d’autres sites (10133)
-
swresample/resample : Properly empty MMX state
11 juin 2022, par Andreas Rheinhardtswresample/resample : Properly empty MMX state
There is a x86-32 MMXEXT implementation for resampling
planar 16bit data. multiple_resample() therefore calls
emms_c() if it thinks that this needed. And this is bad :1. It is a maintenance nightmare because changes to the
x86 resample DSP code would necessitate changes to the check
whether to call emms_c().
2. The return value of av_get_cpu_flags() does not tell
whether the MMX DSP functions are in use, as they could
have been overridden by av_force_cpu_flags().
3. The MMX DSP functions will never be overridden in case of
an x86-32 build with —disable-sse2. In this scenario lots of
resampling tests (like swr-resample_exact_lin_async-s16p-8000-48000)
fail because the cpuflags indicate that SSE2 is available
(presuming that the test is run on a CPU with SSE2).
4. The check includes a call to av_get_cpu_flags(). This is not
optimized away for arches other than x86-32.
5. The check takes about as much time as emms_c() itself,
making it pointless.This commit therefore removes the check and calls emms_c()
unconditionally (it is a no-op for non-x86).Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Multiple extra-cflags of a makefile
24 octobre 2020, par lulliezyso there is this library am trying to use ffmpeg.js and am customizing the
Makefile
. I have done everything that I wanted to do but on building, I got the errorERROR: opus not found using pkg-config
. Now I have two problems :

--extra-cflags="-s USE_ZLIB=1 -I../lame/dist/include -I../libvpx/dist/include"
this configuration was initially--extra-cflags="-s USE_ZLIB=1 -I../lame/dist/include"
but I wanted to include two folders, so is the merging correct or that's where I went wrong.

The complete
Makefile
is as below (there are alot of changes from the original one from the repository), is there anything I did wrong ?

PRE_JS = build/pre.js
POST_JS_SYNC = build/post-sync.js

COMMON_FILTERS = aresample scale crop overlay hstack vstack
COMMON_DEMUXERS = matroska ogg mov mp3 wav image2 concat
COMMON_DECODERS = vp8 vp9 h264 vorbis opus mp3 aac pcm_s16le mjpeg png

COMMON_BSFS = vp9_superframe

MUXERS = mp4 mp3 webm ogg null
ENCODERS = libx264 libmp3lame aac libvpx_vp8 libopus
FFMPEG_BC = build/ffmpeg/ffmpeg.bc
FFMPEG_PC_PATH = ../x264/dist/lib/pkgconfig
SHARED_DEPS = \
 build/lame/dist/lib/libmp3lame.so \
 build/x264/dist/lib/libx264.so \
 build/opus/dist/lib/libopus.so \
 build/libvpx/dist/lib/libvpx.so

all: ffmpeg.js

clean: clean-js \
 clean-opus clean-libvpx clean-lame \
 clean-x264 clean-ffmpeg
clean-js:
 rm -f ffmpeg*.js
clean-opus:
 cd build/opus && git clean -xdf
clean-libvpx:
 cd build/libvpx && git clean -xdf
clean-lame:
 cd build/lame && git clean -xdf
clean-x264:
 cd build/x264 && git clean -xdf
clean-ffmpeg:
 cd build/ffmpeg-mp4 && git clean -xdf

build/opus/configure:
 cd build/opus && ./autogen.sh

build/opus/dist/lib/libopus.so: build/opus/configure
 cd build/opus && \
 emconfigure ./configure \
 CFLAGS=-O3 \
 --prefix="$$(pwd)/dist" \
 --disable-static \
 --disable-doc \
 --disable-extra-programs \
 --disable-asm \
 --disable-rtcd \
 --disable-intrinsics \
 --disable-hardening \
 --disable-stack-protector \
 && \
 emmake make -j && \
 emmake make install

build/libvpx/dist/lib/libvpx.so:
 cd build/libvpx && \
 git reset --hard && \
 patch -p1 < ../libvpx-fix-ld.patch && \
 emconfigure ./configure \
 --prefix="$$(pwd)/dist" \
 --target=generic-gnu \
 --disable-dependency-tracking \
 --disable-multithread \
 --disable-runtime-cpu-detect \
 --enable-shared \
 --disable-static \
 \
 --disable-examples \
 --disable-docs \
 --disable-unit-tests \
 --disable-webm-io \
 --disable-libyuv \
 --disable-vp8-decoder \
 --disable-vp9 \
 && \
 emmake make -j && \
 emmake make install

build/lame/dist/lib/libmp3lame.so:
 cd build/lame/lame && \
 git reset --hard && \
 patch -p2 < ../../lame-fix-ld.patch && \
 emconfigure ./configure \
 CFLAGS="-DNDEBUG -O3" \
 --prefix="$$(pwd)/../dist" \
 --host=x86-none-linux \
 --disable-static \
 \
 --disable-gtktest \
 --disable-analyzer-hooks \
 --disable-decoder \
 --disable-frontend \
 && \
 emmake make -j && \
 emmake make install

build/x264/dist/lib/libx264.so:
 cd build/x264 && \
 emconfigure ./configure \
 --prefix="$$(pwd)/dist" \
 --extra-cflags="-Wno-unknown-warning-option" \
 --host=x86-none-linux \
 --disable-cli \
 --enable-shared \
 --disable-opencl \
 --disable-thread \
 --disable-interlaced \
 --bit-depth=8 \
 --chroma-format=420 \
 --disable-asm \
 \
 --disable-avs \
 --disable-swscale \
 --disable-lavf \
 --disable-ffms \
 --disable-gpac \
 --disable-lsmash \
 && \
 emmake make -j && \
 emmake make install

FFMPEG_COMMON_ARGS = \
 --cc=emcc \
 --ranlib=emranlib \
 --enable-cross-compile \
 --target-os=none \
 --arch=x86 \
 --disable-runtime-cpudetect \
 --disable-asm \
 --disable-fast-unaligned \
 --disable-pthreads \
 --disable-w32threads \
 --disable-os2threads \
 --disable-debug \
 --disable-stripping \
 --disable-safe-bitstream-reader \
 \
 --disable-all \
 --enable-ffmpeg \
 --enable-avcodec \
 --enable-avformat \
 --enable-avfilter \
 --enable-swresample \
 --enable-swscale \
 --disable-network \
 --disable-d3d11va \
 --disable-dxva2 \
 --disable-vaapi \
 --disable-vdpau \
 $(addprefix --enable-bsf=,$(COMMON_BSFS)) \
 $(addprefix --enable-decoder=,$(COMMON_DECODERS)) \
 $(addprefix --enable-demuxer=,$(COMMON_DEMUXERS)) \
 --enable-protocol=file \
 $(addprefix --enable-filter=,$(COMMON_FILTERS)) \
 --disable-bzlib \
 --disable-iconv \
 --disable-libxcb \
 --disable-lzma \
 --disable-sdl2 \
 --disable-securetransport \
 --disable-xlib \
 --enable-zlib

build/ffmpeg/ffmpeg.bc: $(SHARED_DEPS)
 cd build/ffmpeg-mp4 && \
 EM_PKG_CONFIG_PATH=$(FFMPEG_PC_PATH) emconfigure ./configure \
 $(FFMPEG_COMMON_ARGS) \
 $(addprefix --enable-encoder=,$(ENCODERS)) \
 $(addprefix --enable-muxer=,$(MUXERS)) \
 --enable-gpl \
 --enable-libmp3lame \
 --enable-libx264 \
 --enable-libopus \
 --enable-libvpx \
 --extra-cflags="-s USE_ZLIB=1 -I../lame/dist/include -I../libvpx/dist/include" \
 --extra-ldflags="-L../lame/dist/lib -L../libvpx/dist/lib" \
 && \
 emmake make -j && \
 cp ffmpeg ffmpeg.bc

EMCC_COMMON_ARGS = \
 -O3 \
 --closure 1 \
 --memory-init-file 0 \
 -s WASM=0 \
 -s WASM_ASYNC_COMPILATION=0 \
 -s ASSERTIONS=0 \
 -s EXIT_RUNTIME=1 \
 -s NODEJS_CATCH_EXIT=0 \
 -s NODEJS_CATCH_REJECTION=0 \
 -s TOTAL_MEMORY=67108864 \
 -lnodefs.js -lworkerfs.js \
 --pre-js $(PRE_JS) \
 -o $@

ffmpeg.js: $(FFMPEG_BC) $(PRE_JS) $(POST_JS_SYNC)
 emcc $(FFMPEG_BC) $(SHARED_DEPS) \
 --post-js $(POST_JS_SYNC) \
 $(EMCC_COMMON_ARGS) -O2



What I was trying to achieve was combine some of the webm encoders and muxers into the mp4 module so I use only that one module for all webm and mp4 format types.


Also one thing to know about me, the whole Makefile and C and building it is totally new territory for me, I just did what I thought was right, thanks in advance.


-
libavutil : include assembly with full path from source root
18 janvier 2022, par Alexander Kanavinlibavutil : include assembly with full path from source root
Otherwise nasm writes the full host-specific paths into .o
output, which breaks binary reproducibility.Signed-off-by : Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by : Anton Khirnov <anton@khirnov.net>