Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (60)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour 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 (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (8184)

  • Error in building FFMPEG-3.4 with Android-NDK-16.1

    30 avril 2018, par Sagar Trehan

    Trying to compile the FFMPEG-3.4 with Android-NDK-16.1.

    Compiling the source on Mac.

    Getting below Warnings/Errors :

    1. WARNING : /Users/strehan/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-pkg-config not found, library detection may fail.

    2. Error : In file included from libavdevice/avdevice.c:19:0 :./libavutil/avassert.h:30:20 : fatal error : stdlib.h : No such file or directory

    3. Error : /Users/strehan/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include/stdint.h:9:26 : fatal error : stdint.h : No such file or directory

    4. Error : /libavutil/common.h:33:19 : fatal error : errno.h : No such file or directory

    Below is the build_script.sh using for build :

    #!/bin/bash
    NDK=/Users/strehan/Library/Android/sdk/ndk-bundle
    SYSROOT=$NDK/platforms/android-21/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
    function build_one
    {
    ./configure \
    --prefix=$PREFIX \
    --enable-shared \
    --disable-static \
    --disable-doc \
    --disable-ffmpeg \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-doc \
    --disable-symver \
    --enable-protocol=concat \
    --enable-protocol=file \
    --enable-muxer=mp4 \
    --enable-demuxer=mpegts \
    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
    --target-os=linux \
    --arch=arm \
    --enable-cross-compile \
    --sysroot=$SYSROOT \
    --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
    --extra-ldflags="$ADDI_LDFLAGS" \
    $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make -j3
    make install
    }
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one

    Terminal output :

    Enabled indevs:
    lavfi

    Enabled outdevs:

    License: LGPL version 2.1 or later

    WARNING: /Users/strehan/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-pkg-config not found, library detection may fail.
    config.h is unchanged
    libavutil/avconfig.h is unchanged
    libavcodec/bsf_list.c is unchanged
    libavformat/protocol_list.c is unchanged
    ffbuild/config.sh is unchanged
    GEN libavutil/libavutil.version
    GEN libswscale/libswscale.version
    GEN libswresample/libswresample.version
    GEN libavcodec/libavcodec.version
    GEN libavformat/libavformat.version
    GEN libavfilter/libavfilter.version
    GEN libavdevice/libavdevice.version
    CC  libavdevice/alldevices.o
    CC  libavdevice/avdevice.o
    CC  libavdevice/lavfi.o
    In file included from libavdevice/avdevice.c:19:0:
    ./libavutil/avassert.h:30:20: fatal error: stdlib.h: No such file or directory
    #include
                       ^
    compilation terminated.
    make: *** [libavdevice/avdevice.o] Error 1
    make: *** Waiting for unfinished jobs....
    In file included from ./libavutil/avutil.h:296:0,
                    from ./libavutil/log.h:25,
                    from libavdevice/avdevice.h:48,
                    from libavdevice/alldevices.c:23:
    ./libavutil/common.h:33:19: fatal error: errno.h: No such file or directory
    #include
                      ^
    compilation terminated.
    In file included from ./libavutil/avstring.h:25:0,
                    from ./libavutil/bprint.h:27,
                    from libavdevice/lavfi.c:30:
    /Users/strehan/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
    # include_next
                             ^
    make: *** [libavdevice/alldevices.o] Error 1
    compilation terminated.
    make: *** [libavdevice/lavfi.o] Error 1
    INSTALL doc/examples/avio_dir_cmd.c
    INSTALL doc/examples/avio_reading.c
    INSTALL doc/examples/decode_audio.c
    INSTALL doc/examples/decode_video.c
    INSTALL doc/examples/demuxing_decoding.c
    INSTALL doc/examples/encode_audio.c
    INSTALL doc/examples/encode_video.c
    INSTALL doc/examples/extract_mvs.c
    INSTALL doc/examples/filter_audio.c
    INSTALL doc/examples/filtering_audio.c
    INSTALL doc/examples/filtering_video.c
    INSTALL doc/examples/http_multiclient.c
    INSTALL doc/examples/hw_decode.c
    INSTALL doc/examples/metadata.c
    INSTALL doc/examples/muxing.c
    INSTALL doc/examples/qsvdec.c
    INSTALL doc/examples/remuxing.c
    INSTALL doc/examples/resampling_audio.c
    INSTALL doc/examples/scaling_video.c
    INSTALL doc/examples/transcode_aac.c
    INSTALL doc/examples/transcoding.c
    INSTALL doc/examples/vaapi_encode.c
    INSTALL doc/examples/README
    INSTALL doc/examples/Makefile
    INSTALL doc/examples/avio_dir_cmd.c
    INSTALL doc/examples/avio_reading.c
    INSTALL doc/examples/decode_audio.c
    INSTALL doc/examples/decode_video.c
    INSTALL doc/examples/demuxing_decoding.c
    INSTALL doc/examples/encode_audio.c
    INSTALL doc/examples/encode_video.c
    INSTALL doc/examples/extract_mvs.c
    INSTALL doc/examples/filter_audio.c
    INSTALL doc/examples/filtering_audio.c
    INSTALL doc/examples/filtering_video.c
    INSTALL doc/examples/http_multiclient.c
    INSTALL doc/examples/hw_decode.c
    INSTALL doc/examples/metadata.c
    INSTALL doc/examples/muxing.c
    INSTALL doc/examples/qsvdec.c
    INSTALL doc/examples/remuxing.c
    INSTALL doc/examples/resampling_audio.c
    INSTALL doc/examples/scaling_video.c
    INSTALL doc/examples/transcode_aac.c
    INSTALL doc/examples/transcoding.c
    INSTALL doc/examples/vaapi_encode.c
    INSTALL doc/examples/README
    INSTALL doc/examples/Makefile
    CC  libavdevice/alldevices.o
    In file included from ./libavutil/avutil.h:296:0,
                    from ./libavutil/log.h:25,
                    from libavdevice/avdevice.h:48,
                    from libavdevice/alldevices.c:23:
    ./libavutil/common.h:33:19: fatal error: errno.h: No such file or directory
    #include
                      ^
    compilation terminated.
    make: *** [libavdevice/alldevices.o] Error 1

    Please help to fix these errors. Due to these errors/warnings compilation is getting terminated.

    Note :
    Android directory is getting created even after these errors. But I think library is not compiled properly due to above errors.

    Let me know if anything else needed. Please help.

  • incompatible types when assigning to type 'atomic_int' from type 'int'

    20 décembre 2017, par Lenge
    src/libavcodec/h264_slice.c: In function 'ff_h264_execute_decode_slices': src/libavcodec/h264_slice.c:2757:36: error: incompatible types when assigning to type 'atomic_int' from type 'int'
                    sl->er.error_count = 0;
                                       ^ src/libavcodec/h264_slice.c:2781:48: error: invalid operands to binary
    + (have 'atomic_int' and 'atomic_int')
                    h->slice_ctx[0].er.error_count += h->slice_ctx[i].er.error_count;
                                                   ^ make: *** [libavcodec/h264_slice.o] Error 1 make: *** Waiting for unfinished jobs....

    I compile ffmpeg for android. whether the problem is my environment configure or source code ?

  • Image files as inputs with AWS Elastic Transcoder ?

    7 décembre 2017, par Geuis

    Here’s my situation. I’ve been working on building a service at work that takes dynamically generated images and outputs animations as mp4 or gif. The user has the options of setting dimensions, time for each frame, etc.

    I have this working currently with ffmpeg. It works ok, but is difficult (and potentially expensive) to scale due largely to the cpu/memory requirements that ffmpeg needs.

    I just spent some time experimenting with AWS’s Elastic Transcoder. It doesn’t seem to like static image files (jpg, png) as source material in jobs. The file types aren’t listed under the available Preset options either.

    I’m sure that I could adapt the existing architecture to save the static images as video files (sound isn’t needed) and upload those. That will still require ffmpeg to be in the pipeline though.

    Are there any other AWS services that might work with my needs and allow the use of Elastic Transcoder ?