Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (97)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

  • HLS "bufferStalledError" / "bufferNudgeOnStall"

    20 avril 2022, par Yago

    I'm trying to stream videos with HLS.js, and it works perfectly fine, but when I separate the audio from the video to support multiple audio tracks, it returns these two errors at random times in the video ("bufferStalledError" and "bufferNudgeOnStall").

    


    I've tried using pure ffmpeg, I've tried using shaka packager, and I'm currently using bento4, but this error always occurs

    


    (my bento4 code)

    


    mp4hls --hls-version 4 -o "${outputFolder}" -f
[type=audio,+language=Japanese]"${inputFolder}${epFolder}/1080p.mp4"
[type=video]"${inputFolder}${epFolder}/1080p.mp4"
[type=video]"${inputFolder}${epFolder}/720p.mp4"
[type=video]"${inputFolder}${epFolder}/480p.mp4"
[type=video]"${inputFolder}${epFolder}/360p.mp4"
[type=video]"${inputFolder}${epFolder}/240p.mp4"


    


  • ffmpeg contentiously output stream ("multiplexing")

    11 mai 2022, par Marc

    I play for fun with ffmpeg and try to create a cinema like stream.
The idea behind this is to have a contentiously/non ending output stream.

    


    As input i have 2 other streams, which are shown alternating.
For Example, stream0 is the "advertising" input, stream1 the actual movie.

    


    The question is now how do i tell ffmpeg : if stream0 has ended/paused show, stream1.

    


    This is what i have put together :

    


    const cp = require("child_process");
const fs = require("fs");

const intro = fs.createReadStream("./intro.mp4");
const video = fs.createReadStream("./video.mp4");

//intro.pause();
video.pause();

const ffmpeg = cp.spawn("/usr/bin/ffmpeg", [
    "-loglevel", "8", "-hide_banner",
    //"-progress", "pipe:3",
    "-i", "pipe:4", // intro
    "-i", "pipe:5", // video
    //"-map", "0:a",
    //"-map", "1:v",
    "-c:v", "copy",
    //"-filter_complex", "concat=n=3:v=0:a=1",
    "-y",
    `output.mp4`,
], {
    windowsHide: true,
    stdio: [
        "inherit", "inherit", "inherit",
        "pipe", "pipe", "pipe"
    ],
});

ffmpeg.on("close", () => {
    console.log("Merging Completed");
});

setTimeout(() => {

    intro.close();
    video.resume();

}, 1000);

intro.pipe(ffmpeg.stdio[4]);
video.pipe(ffmpeg.stdio[5]);


    


    The code above just takes the intro video and write it to "output.mp4". The play/pause behavior described above does not work.

    


  • FFMPEG creating mp3 with "Junk" at the end

    13 juillet 2022, par Johnaras

    I have a web application which converts WebM files to mp3 using FFMPEG.js in the Client-Side. Once the mp3 conversion finishes, users are prompted to download their file.

    


    Lately, I realized that a lot of mp3 files which I tried to converted have a different duration value than the original WebM file. The duration is usually longer. For instance, a WebM file with duration of 2:16 gets converted to an mp3 file with a duration of 2:29. Once the player reaches at 2:16 it just goes back to the start.

    


    I have tried to open the file in Audacity but it keeps saying that this MP3 file seems to be "Malformed".

    


    I also tried to use MP3val and it says the file has junk at the end.

    


    Code Snippets :

    


    const worker = new Worker("/ffmpeg-worker-mp4.js");
import { fetchFile } from "@ffmpeg/ffmpeg"; // https://www.npmjs.com/package/@ffmpeg/ffmpeg

const convertSong = async (title, id, bitrate) => {
    setProgress("Initializing...")
    ffmpegVars = [title]
    
    worker.postMessage({
      type: "run",
      arguments: ["-i", `input.webm`, "-c:a", "libmp3lame",  "-vn", "-ab", `${bitrate ? bitrate : 256}k`, "-ar", "44100", "-f", "mp3", `output.mp3`],
      MEMFS: [{ name: "input.webm", data: await fetchFile(`/api/download/stream?video=${id}`) }]
    });
}

convertSong(data.title, data.id, data.bitrate)


    


    I'm literally willing to pay anyone who helps me fix this.