Recherche avancée

Médias (91)

Autres articles (67)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le 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, par

    L’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, par

    Il 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 Rheinhardt
    swresample/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>

    • [DH] libswresample/resample.c
  • Multiple extra-cflags of a makefile

    24 octobre 2020, par lulliezy

    so 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 error ERROR: opus not found using pkg-config. Now I have two problems :

    &#xA;

    --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.

    &#xA;

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

    &#xA;

    PRE_JS = build/pre.js&#xA;POST_JS_SYNC = build/post-sync.js&#xA;&#xA;COMMON_FILTERS = aresample scale crop overlay hstack vstack&#xA;COMMON_DEMUXERS = matroska ogg mov mp3 wav image2 concat&#xA;COMMON_DECODERS = vp8 vp9 h264 vorbis opus mp3 aac pcm_s16le mjpeg png&#xA;&#xA;COMMON_BSFS = vp9_superframe&#xA;&#xA;MUXERS = mp4 mp3 webm ogg null&#xA;ENCODERS = libx264 libmp3lame aac libvpx_vp8 libopus&#xA;FFMPEG_BC = build/ffmpeg/ffmpeg.bc&#xA;FFMPEG_PC_PATH = ../x264/dist/lib/pkgconfig&#xA;SHARED_DEPS = \&#xA;    build/lame/dist/lib/libmp3lame.so \&#xA;    build/x264/dist/lib/libx264.so \&#xA;    build/opus/dist/lib/libopus.so \&#xA;    build/libvpx/dist/lib/libvpx.so&#xA;&#xA;all: ffmpeg.js&#xA;&#xA;clean: clean-js \&#xA;    clean-opus clean-libvpx clean-lame \&#xA;    clean-x264 clean-ffmpeg&#xA;clean-js:&#xA;    rm -f ffmpeg*.js&#xA;clean-opus:&#xA;    cd build/opus &amp;&amp; git clean -xdf&#xA;clean-libvpx:&#xA;    cd build/libvpx &amp;&amp; git clean -xdf&#xA;clean-lame:&#xA;    cd build/lame &amp;&amp; git clean -xdf&#xA;clean-x264:&#xA;    cd build/x264 &amp;&amp; git clean -xdf&#xA;clean-ffmpeg:&#xA;    cd build/ffmpeg-mp4 &amp;&amp; git clean -xdf&#xA;&#xA;build/opus/configure:&#xA;    cd build/opus &amp;&amp; ./autogen.sh&#xA;&#xA;build/opus/dist/lib/libopus.so: build/opus/configure&#xA;    cd build/opus &amp;&amp; \&#xA;    emconfigure ./configure \&#xA;        CFLAGS=-O3 \&#xA;        --prefix="$$(pwd)/dist" \&#xA;        --disable-static \&#xA;        --disable-doc \&#xA;        --disable-extra-programs \&#xA;        --disable-asm \&#xA;        --disable-rtcd \&#xA;        --disable-intrinsics \&#xA;        --disable-hardening \&#xA;        --disable-stack-protector \&#xA;        &amp;&amp; \&#xA;    emmake make -j &amp;&amp; \&#xA;    emmake make install&#xA;&#xA;build/libvpx/dist/lib/libvpx.so:&#xA;    cd build/libvpx &amp;&amp; \&#xA;    git reset --hard &amp;&amp; \&#xA;    patch -p1 &lt; ../libvpx-fix-ld.patch &amp;&amp; \&#xA;    emconfigure ./configure \&#xA;        --prefix="$$(pwd)/dist" \&#xA;        --target=generic-gnu \&#xA;        --disable-dependency-tracking \&#xA;        --disable-multithread \&#xA;        --disable-runtime-cpu-detect \&#xA;        --enable-shared \&#xA;        --disable-static \&#xA;        \&#xA;        --disable-examples \&#xA;        --disable-docs \&#xA;        --disable-unit-tests \&#xA;        --disable-webm-io \&#xA;        --disable-libyuv \&#xA;        --disable-vp8-decoder \&#xA;        --disable-vp9 \&#xA;        &amp;&amp; \&#xA;    emmake make -j &amp;&amp; \&#xA;    emmake make install&#xA;&#xA;build/lame/dist/lib/libmp3lame.so:&#xA;    cd build/lame/lame &amp;&amp; \&#xA;    git reset --hard &amp;&amp; \&#xA;    patch -p2 &lt; ../../lame-fix-ld.patch &amp;&amp; \&#xA;    emconfigure ./configure \&#xA;        CFLAGS="-DNDEBUG -O3" \&#xA;        --prefix="$$(pwd)/../dist" \&#xA;        --host=x86-none-linux \&#xA;        --disable-static \&#xA;        \&#xA;        --disable-gtktest \&#xA;        --disable-analyzer-hooks \&#xA;        --disable-decoder \&#xA;        --disable-frontend \&#xA;        &amp;&amp; \&#xA;    emmake make -j &amp;&amp; \&#xA;    emmake make install&#xA;&#xA;build/x264/dist/lib/libx264.so:&#xA;    cd build/x264 &amp;&amp; \&#xA;    emconfigure ./configure \&#xA;        --prefix="$$(pwd)/dist" \&#xA;        --extra-cflags="-Wno-unknown-warning-option" \&#xA;        --host=x86-none-linux \&#xA;        --disable-cli \&#xA;        --enable-shared \&#xA;        --disable-opencl \&#xA;        --disable-thread \&#xA;        --disable-interlaced \&#xA;        --bit-depth=8 \&#xA;        --chroma-format=420 \&#xA;        --disable-asm \&#xA;        \&#xA;        --disable-avs \&#xA;        --disable-swscale \&#xA;        --disable-lavf \&#xA;        --disable-ffms \&#xA;        --disable-gpac \&#xA;        --disable-lsmash \&#xA;        &amp;&amp; \&#xA;    emmake make -j &amp;&amp; \&#xA;    emmake make install&#xA;&#xA;FFMPEG_COMMON_ARGS = \&#xA;    --cc=emcc \&#xA;    --ranlib=emranlib \&#xA;    --enable-cross-compile \&#xA;    --target-os=none \&#xA;    --arch=x86 \&#xA;    --disable-runtime-cpudetect \&#xA;    --disable-asm \&#xA;    --disable-fast-unaligned \&#xA;    --disable-pthreads \&#xA;    --disable-w32threads \&#xA;    --disable-os2threads \&#xA;    --disable-debug \&#xA;    --disable-stripping \&#xA;    --disable-safe-bitstream-reader \&#xA;    \&#xA;    --disable-all \&#xA;    --enable-ffmpeg \&#xA;    --enable-avcodec \&#xA;    --enable-avformat \&#xA;    --enable-avfilter \&#xA;    --enable-swresample \&#xA;    --enable-swscale \&#xA;    --disable-network \&#xA;    --disable-d3d11va \&#xA;    --disable-dxva2 \&#xA;    --disable-vaapi \&#xA;    --disable-vdpau \&#xA;    $(addprefix --enable-bsf=,$(COMMON_BSFS)) \&#xA;    $(addprefix --enable-decoder=,$(COMMON_DECODERS)) \&#xA;    $(addprefix --enable-demuxer=,$(COMMON_DEMUXERS)) \&#xA;    --enable-protocol=file \&#xA;    $(addprefix --enable-filter=,$(COMMON_FILTERS)) \&#xA;    --disable-bzlib \&#xA;    --disable-iconv \&#xA;    --disable-libxcb \&#xA;    --disable-lzma \&#xA;    --disable-sdl2 \&#xA;    --disable-securetransport \&#xA;    --disable-xlib \&#xA;    --enable-zlib&#xA;&#xA;build/ffmpeg/ffmpeg.bc: $(SHARED_DEPS)&#xA;    cd build/ffmpeg-mp4 &amp;&amp; \&#xA;    EM_PKG_CONFIG_PATH=$(FFMPEG_PC_PATH) emconfigure ./configure \&#xA;        $(FFMPEG_COMMON_ARGS) \&#xA;        $(addprefix --enable-encoder=,$(ENCODERS)) \&#xA;        $(addprefix --enable-muxer=,$(MUXERS)) \&#xA;        --enable-gpl \&#xA;        --enable-libmp3lame \&#xA;        --enable-libx264 \&#xA;        --enable-libopus \&#xA;        --enable-libvpx \&#xA;        --extra-cflags="-s USE_ZLIB=1 -I../lame/dist/include -I../libvpx/dist/include" \&#xA;        --extra-ldflags="-L../lame/dist/lib -L../libvpx/dist/lib" \&#xA;        &amp;&amp; \&#xA;    emmake make -j &amp;&amp; \&#xA;    cp ffmpeg ffmpeg.bc&#xA;&#xA;EMCC_COMMON_ARGS = \&#xA;    -O3 \&#xA;    --closure 1 \&#xA;    --memory-init-file 0 \&#xA;    -s WASM=0 \&#xA;    -s WASM_ASYNC_COMPILATION=0 \&#xA;    -s ASSERTIONS=0 \&#xA;    -s EXIT_RUNTIME=1 \&#xA;    -s NODEJS_CATCH_EXIT=0 \&#xA;    -s NODEJS_CATCH_REJECTION=0 \&#xA;    -s TOTAL_MEMORY=67108864 \&#xA;    -lnodefs.js -lworkerfs.js \&#xA;    --pre-js $(PRE_JS) \&#xA;    -o $@&#xA;&#xA;ffmpeg.js: $(FFMPEG_BC) $(PRE_JS) $(POST_JS_SYNC)&#xA;    emcc $(FFMPEG_BC) $(SHARED_DEPS) \&#xA;        --post-js $(POST_JS_SYNC) \&#xA;        $(EMCC_COMMON_ARGS) -O2&#xA;

    &#xA;

    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.

    &#xA;

    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.

    &#xA;

  • libavutil : include assembly with full path from source root

    18 janvier 2022, par Alexander Kanavin
    libavutil : 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>

    • [DH] libavutil/x86/cpuid.asm
    • [DH] libavutil/x86/emms.asm
    • [DH] libavutil/x86/fixed_dsp.asm
    • [DH] libavutil/x86/float_dsp.asm
    • [DH] libavutil/x86/lls.asm
    • [DH] libavutil/x86/pixelutils.asm
    • [DH] libavutil/x86/tx_float.asm