Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (49)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8638)

  • Merge commit 'bd6496fa07e32fd09ceb79404f9af43df959bcb2'

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

    * commit 'bd6496fa07e32fd09ceb79404f9af43df959bcb2' :
    interplayvideo : Convert to the new bitstream reader
    adx : Convert to the new bitstream reader
    dvbsubdec : Convert to the new bitstream reader
    motionpixels : Convert to the new bitstream reader

    This merge is a noop, see
    http://ffmpeg.org/pipermail/ffmpeg-devel/2017-April/209609.html

    Merged-by : Clément Bœsch <u@pkh.me>

  • 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