Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (67)

  • 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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9249)

  • Compile ffmpeg library statically using visual c++

    6 décembre 2017, par Saeed

    When I try to compile ffmpeg library statically using visual studio 2015, with following configure options

    ./configure --toolchain=msvc --arch=x86 --enable-yasm --enable-asm  --disable-shared --enable-static

    surprisingly, I get .a libraries instead of .lib. How can I compile ffmpeg to generate .libs ?

  • Discord Bot // Voice Client Returns NoneType

    1er mai 2022, par DimKewl

    Experimenting with Discord and Python followed a couple of guides and created a bot that could play music from streaming URLs.

    


    However, now for the same code, I get Attribute Error : 'NoneType' object exceptions.

    


    Exception snippet
Console Snapshot

    


    The actual method goes like this :

    


    .
.
    FFMPEG_OPTIONS = {
    "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5",
    "options": "-vn -sn -dn"
}

@commands.command()
async def radio(self,ctx,url):
    await self.join(ctx)
    await self.playStreamUrlLogic(ctx,url);

async def playStreamUrlLogic(self, ctx, url):
    source = await discord.FFmpegOpusAudio.from_probe(url, **self.FFMPEG_OPTIONS)
    await ctx.voice_client.play(source)
.
.


    


    Even though everything points to a non instantiated class when I debug I can see that there is a voice_client object with info
Snapshot from Debbuger property viewer

    


    I already tried to use FFMPegPCMAudio as well but with no results.
Any insights would be helpful.

    


  • python write mp3 AudioSegment slice to file as mp3 without export method

    28 juin 2023, par Chris P

    I have an mp3 live radio stream, which i write locally to an mp3 file using ffmpeg and subprocess Popen (the ffmpeg).

    


    After i open this file with pydub and i wrote the raw_data to pyaudio for hearing the stream.

    


    Now after all, i want to record some parts of the mp3 to an extra mp3 file.

    


    Is it possible to write on demand, the pydub.AudioSegments to an extra file ?

    


    I try :

    


    self.record_file.write(slice.raw_data)


    


    where slice is the pydub.AudioSegment (which previously i wrote to pyaudio stream) and self.record_file is the record file which i created. I used "wb", but windows media player can't open this file.

    


    if i try :

    


    self.record_file.write(chunk)


    


    where chunk is bytes i read from the ffmpeg download file, then i can hear but there is a repeat many times after the chunk end.