Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (80)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (9356)

  • ffmpeg generate overlay complex filter for audio with background image

    8 janvier 2016, par user1793606

    I am experimenting with ffmpeg and would like to generate overlay complex filter for audio with background image. The code normally works, except for when adding -filter_complex "[0:a]showwaves=s=1280x720:mode=line,format=yuv420p[v]" -map "[v]" -map 0:a
    it crashes. I found the example code at https://trac.ffmpeg.org/wiki/Waveform Any help is appreciated.

    Command '['c:/ffmpeg/bin\\ffmpeg.exe', '-y', '-loop', '1', '-r', '1', '-i', 'temp\\bg.png', '-i', 'test.mp3', '-filter_complex', '[0:a]showwaves=s=1280x720:mode=line,format=yuv420p[v]', '-map', '[v]', '-map', '0:a', '-c:v', 'libx264', '-preset', 'ultrafast', '-tune', 'stillimage', '-crf', '15', '-pix_fmt', 'yuv420p', '-strict', 'experimental', '-c:a', 'aac', '-b:a', '256k', '-shortest', '-threads', '0', 'done/test.mp4']'

    EDIT 1 :

    I tested this with the new verson : ffmpeg -y -i input.mp3 -i background.png -filter_complex "[0:a]showwaves=s=1280x720:mode=line,format=yuv420p[v]" -map "[v]" -map 0:a -c:v libx264 -c:a copy output.mp4

    It generates an output file, but only the waveform, no background included. My end goal is to generate the waveform over the background.

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


    


  • 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