Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (23)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (3644)

  • Warn users when using —(psnr|ssim) without —tune (psnr|ssim)

    12 avril 2011, par Jason Garrett-Glaser

    Warn users when using —(psnr|ssim) without —tune (psnr|ssim)

  • avformat/flv : correct the video frametype mask to 0x70

    26 juillet 2023, par Steven Liu
    avformat/flv : correct the video frametype mask to 0x70
    

    because the flv specification said the video frametype
    should use value range from 0x00 to 0x70,
    so use 0xF0 have no problem before support enhanced flv,
    but the 0xF0 will get incorrect result after support enhanced flv,
    so should set the video frametype mask 0x70 to make it correct now.

    Reported-By : flvAnalyser <hybase@qq.com>
    Signed-off-by : Steven Liu <lq@chinaffmpeg.org>

    • [DH] libavformat/flv.h
  • Pydub dir error . dynamic file path doesn't play sound but with specific file path the code works fine

    20 avril 2021, par anshul raj

    I don't know what's wrong with this code - it works fine when I provide an exact file path to the music file, but if I pass it in a dynamic way, it doesn't work.

    &#xA;

    Actually my code is that user give a music file name it get downloaded then with the meta id it find the file in downloads dir then play it

    &#xA;

     def songplayer(self,meta):&#xA;        def playmmusic(name):&#xA;            from pydub.playback import play&#xA;            from pydub import AudioSegment&#xA;            AudioSegment.converter = "C:\\ffmpeg\\bin\\ffmpeg.exe"&#xA;            AudioSegment.ffmpeg = "C:\\ffmpeg\\bin\\ffmpeg.exe"&#xA;            AudioSegment.ffprobe = "C:\\ffmpeg\\bin\\ffprobe.exe"&#xA;            sound = AudioSegment.from_file(name)&#xA;            play(sound)&#xA;&#xA;        print(colored("Currently Playing : " &#x2B; meta[&#x27;title&#x27;],&#x27;yellow&#x27;))&#xA;        r=meta[&#x27;id&#x27;]&#xA;        tt=&#x27;./downloads/&#x27;&#x2B;r&#xA;        playmmusic(tt)&#xA;

    &#xA;