Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (40)

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

  • 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

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

Sur d’autres sites (7950)

  • h264 : move initing the implicit pred weight table out of h264_slice_header_parse()

    14 avril 2016, par Anton Khirnov
    h264 : move initing the implicit pred weight table out of h264_slice_header_parse()
    

    It depends on the reference list, so this will allow moving out the
    reference list construction and consequently other code it depends on.

    • [DBH] libavcodec/h264_slice.c
  • discord.py. FFmpegPCMAudio. Applying filters to running source FFmpeg sub-procces

    23 janvier 2024, par Vladimir Blanven

    How can I apply a new filter (e.g. the same afade) to source, after running voice.play(source) at any time, without killing the current one and creating a new ffmpeg sub-process ? For instance the user will call a voice.pause() command, after which the afade=t=out filter will be applied to the current timestamp, and only then will the source audio be stopped.

    


    start_time = datetime.now()
audio_path = os.path.join(CURRENT_DIRECTORY, MUSIC_FOLDER_NAME, audiofile)
audio_long = MP3(audio_path)
end_time = int(audio_long.info.length)
before_options= f'-ss 0:00:00'
options = f'-af "afade=t=in:st=0:d={FADE_DURATION}, afade=t=out:st={end_time-FADE_DURATION}:d={FADE_DURATION}"'
source = discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(source=audio_path, executable=FFMPEG_EXECUTABLE_FILE_PATH, before_options=before_options, options=options))
voice.play(source)


    


    For now I have this kinda premitive sort of construction (simulating linear afade=t=out effect) :

    


    volume = 1.0
for _ in range(FADE_DURATION * 10):
    volume -= (1.0 / (FADE_DURATION * 10.0)
    voice.source.volume = volume
    await asyncio.sleep(SLEEP_DURATION)


    


  • Anomalie #3250 (Nouveau) : Les liens dans une autre langue devraient respecter les conventions ty...

    28 juillet 2014, par 毎日 erational -

    Exemple sur un site français / anglais.
    On a un article anglais qui s’appelle "Do you like Mangoes ?" (pas d’espace entre Mangoes et ?, règles typographiques anglaises).
    Si depuis un article français, je fais un lien interne vers cet article, [->75], le titre apparait comme "Do you like Mangoes ?" (avec un espace, règles typographiques françaises alors que l’anglaise devrait s’appliquer)

    Idem si on pinaille, si on fait un lien en précisant la langue
    [Would you to visit Google?|{en}->http://www.google.com] depuis un article français, il serait sans doute pertinent d’appliquer les règles typographiques de la langue cible.

    En attendant on peut toujours tricher en remplaçant les ? par le code HTML &h63; qui évite le traitement typo :p