Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (59)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (7543)

  • 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
  • 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;

  • 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