Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (94)

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

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

  • Remove Black Frames from an overlayed Circled Video

    7 juillet 2017, par amanguel

    I have a video that I need to overlay on top of another video. The first video have parts with black frames that I don’t want to be overlayed and I also need to mask this video with a circle.

    In other words, I will be overlaying a few circled videos on top of a bigger rectangular video and I also don’t want to show black frames from the circled videos.

    Could you please help me.

    Thanks !!!!!

  • ffmpeg How to get PCM floats from AVFrame with AV_SAMPLE_FMT_FLT

    26 novembre 2020, par cs guy

    I have an AVFrame obtained through a decoder that has a format of AVSampleFormat::AV_SAMPLE_FMT_FLT. My issue is I want to convert the data stored inside

    


    avFrame->data; // returns uint8_t *


    


    to Array of floats that are between [-1, +1]. I see that avFrame->data; returns uint8_t * how may I use this to obtain the float pcm data for each channel of the audio ?

    


    I tried the following :

    


    auto *floatArrPtr = (float *)(avResampledDecFrame->data[0]);

    for (int i = 0; i < avResampledDecFrame->nb_samples; i++) {
        // TODO: store interleaved floats somewhere
        floatArrPtr++;
    }


    


    but I am not sure if this is the right way to get data