Recherche avancée

Médias (91)

Autres articles (11)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (4352)

  • Fix clang compiler warnings.

    9 avril 2014, par Erik de Castro Lopo
    Fix clang compiler warnings.
    

    These were most arising from -Wenum-conversion where an enum of
    one type was being assigned to a variable on another.

    Originally reported by Lenny Maiorani <lenny@colorado.edu> on the
    flac-dev mailing list.

    • [DH] include/FLAC/format.h
    • [DH] src/libFLAC/cpu.c
    • [DH] src/libFLAC/include/protected/stream_decoder.h
    • [DH] src/libFLAC/metadata_object.c
    • [DH] src/libFLAC/stream_decoder.c
  • Node.js Stream Mp3 to http without having to save file

    21 août 2016, par user2758113

    I am trying to stream just audio from a youtube link straight to http with node.js.

    My code looks like this, I am using express 4.0.

    var express = require('express');
    var router = express.Router();
    var ytdl = require('ytdl');
    var ffmpeg = require('fluent-ffmpeg');
    var fs = require('fs');

    router.get('/', function(req, res) {

     var url = 'https://www.youtube.com/watch?v=GgcHlZsOgQo';
     var video = ytdl(url)

     res.set({
         "Content-Type": "audio/mpeg"
     })

     new ffmpeg({source: video})
         .toFormat('mp3')
         .writeToStream(res, function(data, err) {
           if (err) console.log(err)
         })

    });

    module.exports = router;

    Now, I’m able to stream the video’s audio to the response if I save the file then pipe it to the response, but I’d rather try to figure out some way to go from downloading to ffmpeg to response.

    Not sure if this is possible. The main goal is to keep it as light weight as possible, and not have to read from files.

    I’ve seen this code which is essentially what I’d like to do minus the saving to a file part.

    part of the error

  • Merge commit 'd31f46e1999fab31be46f0cbce0546a5aa49fe48'

    5 mai 2017, par Clément Bœsch
    Merge commit 'd31f46e1999fab31be46f0cbce0546a5aa49fe48'
    

    * commit 'd31f46e1999fab31be46f0cbce0546a5aa49fe48' :
    cmdutils : update copyright year to 2017

    This commit is a noop, see d800d48fc67208819c2a4ae5eb214ca5e3ad7e82

    Merged-by : Clément Bœsch <cboesch@gopro.com>