Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (108)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Personnaliser l’affichage de mon Médiaspip

    27 mai 2013

    Vous pouvez modifier la configuration du squelette afin de personnaliser votre Médiaspip Voir aussi plus d’informations en suivant ce lien
    Comment supprimer le nombre de vues d’affichage d’un média ?
    Administrer > Gestion du squelette > Pages des articles et médias Cocher dans "Informations non affichées sur les pages de médias" les paramètres que vous ne souhaitez pas afficher.
    Comment supprimer le titre de mon Médiaspip dans le bandeau horizontal ?
    Administrer > Gestion du squelette > (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (6552)

  • hwcontext_vulkan : do not segfault when failing to init a AVHWFramesContext

    25 novembre 2020, par Lynne
    hwcontext_vulkan : do not segfault when failing to init a AVHWFramesContext
    

    frames_uninit is always called on failure, and the free_exec_ctx function
    did not zero the pool when freeing it, so it resulted in a double free.

    • [DH] libavutil/hwcontext_vulkan.c
  • How do I playback .m4s files. And turn them into a binary stream for a Discord Bot

    30 octobre 2020, par Harvey

    I want to download the BBC radio 2 and stream it to a discord server. Each request is https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000-250636302.m4s However the Time stamp will change and they regularly delete content. I found a .dash file as well https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000.dash which is seems to request. However I can't find how to send it through a discord bot to a discord server. My code is

    


    const axios = require('axios')


module.exports = {
    play: async function (guild,message) {
        const serverQueue = {};
        const voiceChannel = message.member.voice.channel
        serverQueue.connection = await voiceChannel.join();
        plays(guild)
        
        async function plays(guild) {
            let data1 = new Date(1353439725);
            let data2 = new Date(Date.now()/1000);
            console.log(`https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000-${Math.floor((data2 - data1))-4000}.m4s`)
            const dispatcher = serverQueue.connection.play((await axios.get(`https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000-${Math.floor((data2 - data1))-4000}.m4s`)).data)
                .on('finish', () => {
                    console.log('Music ended!');
                    plays(guild);
                    return
                })
                .on('error', error => {
                    console.error(error);
                    plays(guild);
                    return
                });
            dispatcher.setVolumeLogarithmic(serverQueue.volume / 5);
        }
    }
}


    


    However no audio plays and the audio end event is always being called. Am I being really stupid or is there a way to do this.

    


  • Creating an RTMP Stream from a changing BufferedImage

    4 novembre 2020, par Tom Johns

    I currently have a program which can grab a BufferedImage from a webcam input whenever it needs. I'm now looking for a method/library to encode this into an RTMP stream. Xuggler seemed like a good option in this answer, but from what I can tell, it seems very outdated and poorly maintained. Xuggler appears to be built on top of FFMPEG - would I be able to achieve this with FFMPEG alone instead ? I'm fairly unfamiliar with FFMPEG but can look into it if it's worth looking into.

    


    Essentially, I want to achieve a program which can livestream a webcam - but this MUST be from a constantly changing BufferedImage, as I want to manipulate the webcam output with this BufferedImage later on.