Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (61)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (7689)

  • Unknown input format : 'x11grab'

    5 juillet 2017, par jjh

    guys :

    I have problems when i compile ffmpeg and run ffmpeg in linux.

    My environment :

    1 : ubuntu 17.10_x64_bit(i don’t think the os version is the key)

    2 : gcc (Ubuntu 6.3.0-19ubuntu1) 6.3.0 20170618

    3 : ffmpeg open source code:3.2

    first, i download the source code from ffmpeg official site. I compile this project with there instructions:

    ./configure --prefix=/home/jjh/software/ffmpeg --enable-shared
    make
    make install

    and it worked without any error except some warning, then i run :

    ./ffmpeg -h

    i make sure that it works and output normally.

    but i want use ffmpeg to grabbing screen. so i use this construction(o) :

    ffmpeg -f x11grab -video_size cif -framerate 25 -i :0.0 /tmp/out.mpg

    then output error :

    Unknown input format: 'x11grab'

    i want to re-compile this project with —enable-x11grab option, btw , so many solution tell me to to this. but when i add this option, i get some errors :

    Invalid option --enable-x11grab

    some people says that i should install some libs :

    libxfixes-dev
    sudo apt-get install libxext-dev

    so i installed these libs, but it always show this error. pls help me.

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