Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (86)

  • Les sons

    15 mai 2013, par
  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • 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

Sur d’autres sites (9878)

  • How to view the stream generated from mkvserver via ffplay ?

    18 juin 2019, par Chaitanya Bhardwaj

    I want to live stream from one source(ffmpeg) to multiple clients for which I’m using mkvserver.
    I’m able to live stream a webcam from ffmpeg(client) to mkvserver(server) as follows :

    On Server :

    nc -l  | ./server

    On Client :

    ffmpeg -f avfoundation -framerate 30 -i 0 -b 900k -f matroska -r 20 tcp://:

    To view the genereted steam on server, I used the ffplay as :

    ffplay tcp://:<port>
    </port>

    but I got the Connection timed out error. Please suggest a way to view the generated stream on the server via ffplay. Thanks !

  • remuxing audio and videos (screen and presenter) captured at the same time does not synchronize

    22 septembre 2014, par user28163

    trying to merge a screencast with a video (without sound) and a sound steam which has been captured separately using ffmpeg using a bash command. All the stream-capture were started at the same time and all ffmpeg processes killed at the same time (pkill). But when I remux them together, the screencast and video does not match, and thus sound does not synchronize either.

    Where did I go wrong ? Any inputs appreciated from ffmpeg experts here. Thanks in advance.

    Please find the ffmpeg output as follows :

    1. The ffmpeg log of two videos muxing (http://pastebin.com/XwnDSf5i)
    2. The ffmpeg log of remuxing the sound with the side-by side video as of 1 above (cannot paste as the pastebin limit exeeded :( ).

    UPDATE :

    After checking the lenght of the screencast, I figured out that the screen capture (though started and stopped at the same time as video and sound using a bash script), is shorter in lenght by 1m54s than video and audio (former 34:22 vs later 36:16). The video was captured in h264 mp4 wrapper at -r 30. So is screen capture but lossless

    %ffmpeg -report -f x11grab -r 30 -s 1920x1080 -i :0.0 -qscale 0 -vcodec libx264 -threads 4 screen.m4v

    Could that be the reason for the delay ? Is there any way to extend the screencast against the videos ? Thanks !

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

    &#xA;

    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)

    &#xA;

    const { getChart } = require("billboard-top-100");&#xA;const ffmpeg = require("fluent-ffmpeg");&#xA;const { mkdir } = require("fs");&#xA;const ytdl = require("ytdl-core");&#xA;const YT = require("scrape-youtube").default;&#xA;&#xA;getChart(&#x27;hot-100&#x27;, (err, chart) => {&#xA;    if(err) console.log(err);&#xA;    chart.songs.length = 50;&#xA;    for (var i = 0; i &lt; chart.songs.length; i&#x2B;&#x2B;) {&#xA;        var song = chart.songs[i];&#xA;        song.artist = song.artist.replace("Featuring", "feat.");&#xA;        var name = `${song.artist} - ${song.title}`;&#xA;        YT.search(name).then(res => {&#xA;            downloadVideo(res.videos[0].link, name).then(_ => { console.log(""); }).catch(console.log);&#xA;        }).catch(err => console.log(err));&#xA;    };&#xA;});&#xA;&#xA;function downloadVideo(url, name) {&#xA;    return new Promise((resolve, reject) => {&#xA;        var stream = ytdl(url, { filter: "audioonly", quality: "highestaudio" });&#xA;        var start = Date.now();&#xA;&#xA;        ffmpeg(stream)&#xA;            .audioBitrate(128)&#xA;            .save(`${__dirname}/${new Date().getWeek()}/${name}.mp3`)&#xA;            .on("end", _ => {&#xA;                console.log(`Downloaded "${name}.mp3" - Took ${(Date.now() - start) / 1000} seconds.`);&#xA;                resolve(`${name}.mp3`);&#xA;            })&#xA;            .on("error", _ => reject("something went wong"));&#xA;    });&#xA;}&#xA;&#xA;Date.prototype.getWeek = function() {&#xA;  var onejan = new Date(this.getFullYear(),0,1);&#xA;  return Math.ceil((((this - onejan) / 86400000) &#x2B; onejan.getDay()&#x2B;1)/7);&#xA;}&#xA;

    &#xA;