Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (34)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

  • 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 (...)

Sur d’autres sites (3325)

  • AAC encoder : make pe.min a local minimum

    29 novembre 2015, par Claudio Freire
    AAC encoder : make pe.min a local minimum
    

    As noted in a comment, pe.min in the reference encoder
    is centered around current pe. The bit reservoir algo
    needs pe.min to be a local minimum, because it can only
    account for local PE variations. If it’s set to a global
    minimum as was being done, bit reservoir logic doesn’t
    work as efficiently.

    This patch tries to forget old minimums and converge to
    a local minimum without losing the stability of the
    previous solution. Listening tests until now suggest this
    solves numerous RC issues.

    • [DH] libavcodec/aacpsy.c
    • [DH] tests/fate/aac.mak
  • Encode multiple files from the same Folder with Google Colab & FFmpeg

    16 août 2021, par Ptibouc77

    i made a Google colab to encode my videos, but actually i can only do files on by one.
I want to encode all video files from the same folder.

    


    I tried this but didn't seem to works

    


        import os

DIRECTORY= '/content/drive/My Drive/Videos'
for filename in os.listdir(DIRECTORY):
    if (filename.endswith(".mov")): #or .avi, .mpeg, whatever.
        os.system("ffmpeg -i {0} -c:v libx265 -crf 26 -c:a aac -b:a 160k output%d.mp4".format(filename))
        print(filename)


    


    Edit : I edited the FFmpeg command but still not workings on Google Colab.
Edit 2 : Print command only return the name of the files with the extension like "MyMovie.mov" how do i put the full path to the ffmpeg command ? I also want to put the ouput files to a subfolder named x265

    


  • discord.py - Playing the same audio stream in several voice channels

    13 juillet 2020, par Cyxo

    I made a Discord bot using the discord.py library which aims at playing a web radio in several voice channels. Basically it's the same audio stream for every channel.

    


    What I'm doing right now is :

    


    voice_channel.play(discord.FFmpegPCMAudio(stream_url))


    


    However every FFmpegPCMAudio uses about 10% of my CPU and there's one for each vc so eventually my bot crashed a lot when playing in 10 channels (which isn't a lot).

    


    Since it's the same stream, I tried the following :

    


    player = FFmpegPCMAudio(stream_url)
for voice_channel in vcs:
    voice_channel.play(player)


    


    But the sound was stuttering a lot (maybe it was playing the sound a bit to each sequentially like the way threading works)

    


    Can you think of any other way I could reduce the load on the CPU since it is the same audio stream playing ? Either a discord.py trick or a FFmpeg trick maybe, like manually running one FFmpeg and using it for each channel ?