Recherche avancée

Médias (91)

Autres articles (19)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (4705)

  • Is it possible to seek through streamed youtube audio with discord.py (play from a given timestamp in the video) ?

    13 juin 2020, par apc518

    Unfortunately passing in a URL with a &t= tag does not cause discord.py's VoiceClient to start playing at that timestamp. I'm using youtube_dl.

    



    Is is possible to seek through audio within discord.py in order to start streaming a YouTube video from somewhere besides the start ?

    



    I know some professional bots like Groovy have seek commands for streamed YouTube videos, so the Discord API itself is capable of this.

    



    The code I'm using is from here.

    


  • Discord.js : How to play music stream from http?

    28 septembre 2019, par Maxim.Z

    This is my code :

    if (msg.content.includes('*stream')) {
            var name=(msg.content).slice(8,80);
       if (msg.member.voiceChannel) {
         msg.member.voiceChannel.join()
           .then(connection => {
                    console.log(name);
                      const dispatcher = connection.playFile(name);
                    dispatcher.setVolume(0.5);
           })
           .catch(console.log);
       } else {
         msg.reply('Enter channel first');
       }
     }

    When I write in Discord *stream https://play.sas-media.ru/play, the console shows the full link (https://play.sas-media.ru/play), the bot enters the voice channel, but nothing else happens.

    What am I doing wrong ?

  • Batch script to convert, youtube-dl webm file to mp3 with ffmpeg

    1er avril 2024, par SneakyShrike

    I'm using youtube-dl to extract the best possible audio quality from youtube videos. However the best quality audio usually turns out to be the webm format, which isn't useful. I would like to write a batch script that converts the webm file to an mp3 with ffmpeg. I've already tried using this guide on reddit to do it, but it doesn't seem to work. It appears to create an empty mp3 file that displays an error when i try to play it and the meta data is also completly blank.

    



    Here is the batch script :

    



    for %%a in ("Downloaded\*.*") do %CD%\ffmpeg\bin\ffmpeg.exe -i "%%a" -vn -ar 44100 -ac 2 -ab 192k -f mp3 "Converted\%%~na.mp3" pause


    



    I'll also give an explanation of how the whole thing should work.

    



    The idea is, is that you use youtube-dl to extract the best possible audio, then put that file into the Downloaded folder (see pic below) and then you run the mp3 script (which uses commands from ffmpeg) to convert the webm file in the Downloaded folder to a mp3 file, and place it in the Converted folder. The mp3 script is the code above. But it doesn't seem to work properly.

    



    I'm not very familiar with batch scripting, nor with ffmpeg so any help would be appreicated.

    



    Here is the picture to complement the explanation part.

    



    enter image description here