Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (111)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (10930)

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

  • 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

  • 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