Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (73)

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

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8419)

  • Mix Audio tracks with offset in SOX

    4 août 2012, par Laramie

    From ASP.Net, I am using FFMPEG to convert flv files on a Flash Media Server to wavs that I need to mix into a single MP3 file. I originally attempted this entirely with FFMPEG but eventually gave up on the mixing step because I don't believe it it possible to combine audio only tracks into a single result file. I would love to be wrong.

    I am now using FFMPEG to access the FLV files and extract the audio track to wav so that SOX can mix them. The problem is that I must offset one of the audio tracks by a few seconds so that they are synchronized. Each file is one half of a conversation between a student and a teacher. For example teacher.wav might need to begin 3.3 seconds after student.wav. I can only figure out how to mix the files with SOX where both tracks begin at the same time.

    My best attempt at this point is :

    ffmpeg -y -i rtmp://server/appName/instance/student.flv -ac 1 student.wav
    ffmpeg -y -i rtmp://server/appName/instance/teacher.flv -ac 1 teacher.wav

    sox -m student.wav teacher.wav combined.mp3 splice 3.3

    These tools (FFMEG/SoX) were chosen based on my best research, but are not required. Any working solution would allow an ASP.Net service to input the two FMS flvs and create a combined MP3 using open-source or free tools.

    EDIT :
    I was able to offset the files using the delay switch in SOX.

    sox -M student.wav teacher.wav combined.mp3 delay 2.8

    I'm leaving the question open in case someone has a better approach than the combined FFMPEG/SOX solution.

  • avfilter/vf_framepack : Check and update frame_rate

    16 janvier 2015, par Michael Niedermayer
    avfilter/vf_framepack : Check and update frame_rate
    

    The frame_rate update was missing leaving the output frame rate
    wrong.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavfilter/vf_framepack.c
    • [DH] tests/ref/fate/filter-framepack-frameseq
  • Discord js music player bot suddenly leaves

    29 janvier 2024, par ImK

    So I made a music bot for discord js that uses discord player package. The command runs perfectly but in the middle song suddenly stops I tried searching everywhere nothing works and i think its an issue for ffmpeg but im not so sure

    &#xA;

    bot.player = new Player(bot, {&#xA;    ytdlOptions: {&#xA;        quality: &#x27;lowestaudio&#x27;,&#xA;        highWaterMark: 1 >> 25&#xA;    },&#xA;})&#xA;&#xA;const player = bot.player;&#xA;&#xA;//play command &#xA;&#xA;&#xA;bot.on(&#x27;interactionCreate&#x27;, async interaction =>{&#xA;    if(interaction.commandName === &#x27;play&#x27;) {&#xA;&#xA;        const song = interaction.options.get(&#x27;song&#x27;).value;&#xA;        const res = await player.search(song, {&#xA;            searchEngine: QueryType.SPOTIFY_SONG&#xA;        });&#xA;&#xA;&#xA;        if (!res || !res.tracks.length) return interaction.reply({ content: `No results found ${interaction.member}... try again ? ❌`, ephemeral: true });&#xA;&#xA;        const queue = await player.createQueue(interaction.guild)&#xA;&#xA;        if (!queue.connection) await queue.connect(interaction.member.voice.channel);&#xA;&#xA;&#xA;        await interaction.channel.send({ content:`Loading your ${res.playlist ? &#x27;playlist&#x27; : &#x27;track&#x27;}... &#127911;`});&#xA;&#xA;        const track = await res.tracks[0]&#xA;&#xA;        console.log(track)&#xA;        if(!track)  return interaction.channel.send({content: &#x27;No song found&#x27;});&#xA;&#xA;        queue.addTrack(track)&#xA;&#xA;        queue.play();&#xA;&#xA;    }&#xA;})&#xA;

    &#xA;

    After leaving the channel, other commands and bot work fine

    &#xA;