Recherche avancée

Médias (91)

Autres articles (18)

  • 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" ;

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (3251)

  • Error (ERR_STREAM_DESTROYED) : Cannot call write after a stream was destroyed

    3 avril 2021, par TTT Tobi Triple Talk

    I'm getting this error when I run my discord bot on my raspberry pi. It worked everytime when I run it on my windows machine. I installed FFmpeg with sudo apt-get install ffmpeg. I don't know if I need to install something else for ffmpeg on my raspberry pi
This is the error I'm getting

    


    events.js:291
      throw er; // Unhandled 'error' event
      ^

Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    at doWrite (_stream_writable.js:399:19)
    at writeOrBuffer (_stream_writable.js:387:5)
    at Socket.Writable.write (_stream_writable.js:318:11)
    at PassThrough.ondata (_stream_readable.js:718:22)
    at PassThrough.emit (events.js:314:20)
    at addChunk (_stream_readable.js:297:12)
    at readableAddChunk (_stream_readable.js:272:9)
    at PassThrough.Readable.push (_stream_readable.js:213:10)
    at PassThrough.Transform.push (_stream_transform.js:152:32)
    at PassThrough.afterTransform (_stream_transform.js:96:10)
Emitted 'error' event on FFmpeg instance at:
    at errorOrDestroy (internal/streams/destroy.js:108:12)
    at FFmpeg.onerror (_stream_readable.js:754:7)
    at FFmpeg.emit (events.js:314:20)
    at Socket.processError (node_modules/prism-media/src/core/FFmpeg.js:64:40)
    at Socket.emit (events.js:314:20)
    at errorOrDestroy (internal/streams/destroy.js:108:12)
    at onwriteError (_stream_writable.js:418:5)
    at onwrite (_stream_writable.js:445:5)
    at doWrite (_stream_writable.js:399:11)
    at writeOrBuffer (_stream_writable.js:387:5) {
  code: 'ERR_STREAM_DESTROYED'
}


    


    Normally it should play an audio stream to a discord channel.
I don't think my code is wrong, because it's working on my other computer.
My code :

    


    let stream;
//Meme.url is just a youtube link, like https://www.youtube.com/watch?v=dQw4w9WgXcQ
stream = ytdl(meme.url, {
    filter: "audioonly",
    opusEncoded: true,
    encoderArgs: ['-af', "dynaudnorm=f=150"]
}).on("error", (err) => {
    console.log(err);
});
    try {
        song_queue.connection.play(stream, { type: "opus" })
        .on('finish', () => {
            
        });
    } catch (err) {
        console.log(err);
        message.channel.send("Error while the meme song");
    }


    


  • ffmpeg drawtext to 'burn' text to video

    13 janvier 2018, par itsme

    I made a video in .MOV format which I edited until I got a mp4 file. Instead of subtitles, I used multiple drawtext feature (in a bash batch file) of ffmpeg to add texts.

    In a China Weibo post (like twitter), I link to my uploaded video in Youku. If I click on the youku link, it brings me to youku and the video plays with the text. When I click on the video image of Weibo (I supposed hosted video or live streaming , etc ?) the video plays but without the text from drawtext.

    Is there a way I could redo my drawtext (with some settings) so that the text could not be removed by weibo ?

    [edit]
    Very sorry. My mistake. I am new to Weibo with only 1 post. Weibo gives an image for preview of any video link. I think it is limited to 6 min 30secs. My drawtext starts only after.

  • streaming code doesn't work for Vk.com, work fine on other website

    3 décembre 2018, par Anirudha Gupta

    I am using Compiled binary of ffmpeg in my windows pc and calling the ffmpeg exe by command to livestream the video. The code was working fine on Youtube, Twitter’s streaming site and twitch. Today I tried my code with vk.com and it doesn’t work

    ffmpeg -re -i file:"C:\Users\{username}\Desktop\test.mp4" -acodec libmp3lame  -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -bufsize 6000k -framerate 24 -vb 64k -maxrate 1500k -deinterlace -vcodec libx264 -preset veryfast -g 30 -r 30 -crf 23 -c:a copy -f flv rtmp://stream2.vkuserlive.com:443/live?srv=629725&s={removedforpriavacyreason}=/Bq7vN8RNctg

    I was calling the command this way,it’s work on yt, twitch but it doesn’t work with vk.com it’s keep telling handshake issue.

    I tried to call it with changing the url, In case Vk.com handle the url differently. Anyone have workaround for this, it’s only have problem with vk.com