Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (27)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (3243)

  • 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

  • FFMpeg HLS to MXF video codec copy non monotonically increasing dts issue

    22 juin 2023, par arlovande

    I am rewrapping an HLS stream as an mxf file. The HLS is 1080p59.94 10bit 4:2:2. The mxf is a video codec copy and an audio conversion to pcm. The stream has video timecode burn-in for me to watch the video frames. Here is the command

    


    ffmpeg -i "https://myinput/index.m3u8" -f segment -timecode "01:01:01:00" -segment_time 600 -reset_timestamps 1 -c:v copy output_%03d.mxf


    


    I get the following non-fatal error

    


    "Application provided invalid, non monotonically increasing dts to muxer in stream 1"


    


    The file is still created, however. In VLC the file plays correctly frame by frame. But in Adobe premiere when I play frame by frame I get video stuttering and I see the timecode burn in plays in a sequence like this... 3 frames ahead, then 2 frames back... so the frame sequence would be something like ;03 ;01 ;02 ;06 ;04 ;05 ;09 ;07 ;08

    


    It's almost like Premiere does not know how to order the frames back together but VLC does. Any thoughts on how I might change the command to reorder the dts monotonically ?

    


    When I wrap to a .ts file I don't get this issue in Premiere, but I need MXF because Premiere can play an MXF file as a growing file.

    


  • How to extract audio tracks from a stream using FFMPEG or other tools ?

    17 septembre 2023, par Vassili Bagrov

    Here is the stream link that I am trying to download.

    


    I can download the video, but for some reason it doesn't include the audio stream.

    


    The audio stream is also in .ts format and has 1569 chunks.enter image description here

    


    When I downloaded all the audio files, I tried to convert them in single temp.ts file to them convert it into an mp3 file with this command :

    


    cat audio_7e42e066-9f6c-44f4-9ac8-10b50c3edfae_*.ts > temp.ts


    


    I tried to then convert it into an mp3 file with this command :

    


    ffmpeg -i temp.ts -acodec copy out.mp3


    


    But got an error :

    


    temp.ts: Invalid data found when processing input


    


    What are my options to download audio files ? There are actually 3 audio tracks if I watch the video from the website.
Please tell me there is a way to do it other than screen record the whole video.