Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (57)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7913)

  • I can't download m3u8 streaming video from ffmeg ?

    21 février 2021, par Dattokun

    ffmpeg -i https://s8.8giaitri.com/hls/df465cd92fbf32553522c9e1a5e5b3b2/df465cd92fbf32553522c9e1a5e5b3b2.m3u8 -c copy 123.mkv

    


    [hls @ 000002042f874fc0] Skip ('#EXT-X-VERSION:3')
[hls @ 000002042f874fc0] Opening 'https://s8.8giaitri.com/hls3/df465cd92fbf32553522c9e1a5e5b3b2/df465cd92fbf32553522c9e1a5e5b3b2-0.html?msKey=m5' for reading
[hls @ 000002042f874fc0] Opening 'https://s8.8giaitri.com/hls3/df465cd92fbf32553522c9e1a5e5b3b2/df465cd92fbf32553522c9e1a5e5b3b2-1.html?msKey=m5' for reading
[hls @ 000002042f874fc0] Could not find codec parameters for stream 0 (Video: png, none(pc)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, hls, from 'https://s8.8giaitri.com/hls/df465cd92fbf32553522c9e1a5e5b3b2/df465cd92fbf32553522c9e1a5e5b3b2.m3u8':
  Duration: 00:23:47.05, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: png, none(pc), 25 tbr, 25 tbn, 25 tbc
    Metadata:
      variant_bitrate : 0
Output #0, matroska, to '123.mkv':
Output file #0 does not contain any stream


    


  • Download billboard hot 100 (but only 50) mp3 files

    4 mars 2021, par Atlas

    Yo yo yo. I got this insane idea to get 50 of the billboard hot 100 songs, download them into mp3 files, and then put them on private online radio.

    


    Problem is, the way I do it doesn't download each file one by one, it puts all the music together in one mp3 file. Here's my code so far (terrible, I know... I just wanna throw this together really quickly)

    


    const { getChart } = require("billboard-top-100");
const ffmpeg = require("fluent-ffmpeg");
const { mkdir } = require("fs");
const ytdl = require("ytdl-core");
const YT = require("scrape-youtube").default;

getChart('hot-100', (err, chart) => {
    if(err) console.log(err);
    chart.songs.length = 50;
    for (var i = 0; i < chart.songs.length; i++) {
        var song = chart.songs[i];
        song.artist = song.artist.replace("Featuring", "feat.");
        var name = `${song.artist} - ${song.title}`;
        YT.search(name).then(res => {
            downloadVideo(res.videos[0].link, name).then(_ => { console.log(""); }).catch(console.log);
        }).catch(err => console.log(err));
    };
});

function downloadVideo(url, name) {
    return new Promise((resolve, reject) => {
        var stream = ytdl(url, { filter: "audioonly", quality: "highestaudio" });
        var start = Date.now();

        ffmpeg(stream)
            .audioBitrate(128)
            .save(`${__dirname}/${new Date().getWeek()}/${name}.mp3`)
            .on("end", _ => {
                console.log(`Downloaded "${name}.mp3" - Took ${(Date.now() - start) / 1000} seconds.`);
                resolve(`${name}.mp3`);
            })
            .on("error", _ => reject("something went wong"));
    });
}

Date.prototype.getWeek = function() {
  var onejan = new Date(this.getFullYear(),0,1);
  return Math.ceil((((this - onejan) / 86400000) + onejan.getDay()+1)/7);
}


    


  • FFMPEG - stream download + resize + HVEC convert in one statement ?

    6 mars 2021, par Armitage2k

    I have a collection of 30 to 60 minutes PORTRAIT videos which I download via the below ffmpeg statement. That part works fine, but given that the resolution of the videos is quite high, it results in approx. 1,3 GB mp4 files.

    


    Once downloaded, I usually convert the video to 720p resolution which brings it down to approx. 500 MB per video, and then run another HVEC x265 compression which alas results in 250MB - 350MB sizes.

    


    Since its quite tedious to do all this manually, I was wondering if there is a FFMPEG statement / command I can use that achieves all of this in one go while downloading ?

    


    Below the commands I currently use.

    


    Thank you

    


    Download : ffmpeg -i http://somewebsite.com/path/to/playlist.m3u8 -c copy -bsf:a aac_adtstoasc L2_60min_vinyasa_vicky.mp4

    


    Convert : ffmpeg -i INPUT.mp4 -c:v libx265 -c:a copy -x265-params crf=25 OUTPUT.mkv