Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (10368)

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

  • Multiple nVidia GPU transcoding (NOT computing) bottleneck

    11 décembre 2018, par Daniel Cantarin

    I’m doing some nVidia multi-GPU testing. However, this tests are not on the computing field but transcoding, using nvenc/nvdec.

    I have a setup with 3 Quadro GPUs (max 4 on this motherboard), and running some transcoding jobs using ffmpeg.

    Thing is, up to 8 jobs everything is fine, with tolerable GPU and CPU stats.
    But when reaching the 9th job, the nVidia cards metrics start to fall down. Whats troublesome is this : it doesn’t matter the job distribution. That is, if I send 8 jobs to GPU0, and 1 job to GPU1, is the same as 4-5, or 4-4-1, or 0-4-5, etc.

    What I see beggining on the 9th job is :

    1. CPU gets to about 60% usage (30% up to 8th jobs) and doesn’t go up much after adding more jobs.
    2. DECODING metrics falls from about 75% (when single card has 8 jobs) to about 20%.
    3. Every card behaves the same when this problem starts, no matter how many jobs they have.

    And the last strange thing I see : when that problem happens, and I kill all the jobs, the cards keep working for a while (sometimes even minutes).

    All this points to some bottleneck somewhere on the motherboard. Maybe the PCIe bus, maybe some CPU subsystem, I’m not sure. It also points to some buffering happening somewhere. I’m using the usual popular tools to see high-level metrics and curves (top/htop, nvidia-smi, nvtop, etc).

    My question : does anybody knows some common bottlenecks regarding multi-GPU setups that could lead to a problem like this ?

    Any tip would be nice.

    Thanks in advance.

  • Unable to install ffmpeg on CircleCi 2.0

    16 novembre 2017, par Mateusz Urbański

    I have Ruby on Rails project which uses CircleCi to run tests. In the past I was using CircleCi 1.0 but now I migrated to CircleCi 2.0. I have problem with installing ffmpeg. CircleCi 2.0 uses Ubuntu 14.04. I install ffmpeg like this :

    # ffmpeg installation
    sudo add-apt-repository ppa:mc3man/trusty-media -y
    sudo apt-get update
    sudo apt-get install ffmpeg

    and my circle.yml config file looks like this :

    version: 2
    environment:
     TZ: "/usr/share/zoneinfo/America/Los_Angeles"

    jobs:
     build:
       parallelism: 2
       working_directory: ~/circleci-survey-builder
       docker:
         - image: circleci/ruby:2.4.1-node
           environment:
             PGHOST: 127.0.0.1
             PGUSER: ubuntu
             RAILS_ENV: test
         - image: circleci/postgres:9.6-alpine
           environment:
             POSTGRES_USER: ubuntu
             POSTGRES_DB: circle_test
             POSTGRES_PASSWORD: ''
       steps:
         - checkout

         - run:
             name: 'Install CircleCI dependencies'
             command: bash deploy/circle-dependencies.sh

         - type: cache-restore
           key: dashboard-{{ checksum "Gemfile.lock" }}

         - run:
             name: 'Install gems'
             command: bundle install --path vendor/bundle

         - type: cache-save
           key: dashboard-{{ checksum "Gemfile.lock" }}
           paths:
             - vendor/bundle

         - run:
             name: 'Install postgresql-client'
             command: sudo apt install postgresql-client

         - run:
             name: 'Create database.yml'
             command: mv config/database.ci.yml config/database.yml

         - run:
             name: Set up SurveyBuilder database
             command: bundle exec rake db:structure:load --trace

         - run:
             name: 'Run tests'
             command: |
               bundle exec rspec spec

    It returns following error when I run build on CircleCi :

    #!/bin/bash -eo pipefail
    bash deploy/circle-dependencies.sh

    Fetching: bundler-1.16.0.gem (100%)
    Successfully installed bundler-1.16.0
    1 gem installed
    sudo: add-apt-repository: command not found


    Ign http://deb.debian.org jessie InRelease

    Get:1 http://deb.debian.org jessie-updates InRelease [145 kB]

    10% [1 InRelease 13.8 kB/145 kB 10%] [Waiting for headers] [Connecting to securHit http://deb.debian.org jessie Release.gpg

    Hit http://deb.debian.org jessie Release

    Get:2 http://deb.debian.org jessie-updates/main amd64 Packages [23.2 kB]

    Get:3 http://deb.debian.org jessie/main amd64 Packages [9063 kB]

    Get:4 http://security.debian.org jessie/updates InRelease [63.1 kB]

    Get:5 http://security.debian.org jessie/updates/main amd64 Packages [610 kB]

    100% [3 Packages 9063 kB]100% [3 Packages 9063 kB]Fetched 9904 kB in 1s (8178 kB/s)

    Reading package lists... 1%
    Reading package lists... 61%
    Reading package lists... Done


    Reading package lists... 1%
    Reading package lists... Done


    Building dependency tree... 0%
    Building dependency tree      


    Reading state information... Done

    Package ffmpeg is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'ffmpeg' has no installation candidate
    Exited with code 100

    How can I fix that ?