Recherche avancée

Médias (1)

Mot : - Tags -/livre électronique

Autres articles (44)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (11049)

  • avcodec/opustab : Avoid indirection to access ff_celt_window

    3 octobre 2022, par Andreas Rheinhardt
    avcodec/opustab : Avoid indirection to access ff_celt_window
    

    Currently, it is accessed via a pointer (ff_celt_window)
    exported from opustab.h which points inside a static array
    (ff_celt_window_padded) in opustab.h. Instead export
    ff_celt_window_padded directly and make opustab.h
    a static const pointer pointing inside ff_celt_window_padded.
    Also mark all the declarations in opustab.h as hidden,
    so that the compiler knows that ff_celt_window has a fixed
    offset from the code even when compiling position-independent
    code.

    Reviewed-by : Lynne <dev@lynne.ee>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/opusenc.c
    • [DH] libavcodec/opustab.c
    • [DH] libavcodec/opustab.h
  • FFMpegWriter() [Error 5] Access Denied

    8 juin 2016, par Guillermo

    So, I’m trying to save animations with the animation.save command. I installed ffmpeg in Windows 10 by placing a folder with its binaries in my drive C :\, I have also set the path in my system variables like C :\ffmpeg\bin, and finally, my code for the animation function saving looks like this

    if save=='True':
        mywriter = animation.FFMpegWriter()
        plt.rcParams['animation.ffmpeg_path'] = 'C:/ffmpeg/bin'
        ani.save('mymovie.avi',writer=mywriter,fps=30)

    and all other kind of variants such as :

       mpl.animation.ffmpeg_path = r'C:\ffmpeg\bin'
       mpl.animation.ffmpeg_path = 'C:\\ffmpeg\\bin'

    No matter what I do, the result is always :

    File "<stdin>", line 2, in <module>
    File "Plot.py", line 168, in animate
    ani.save('mymovie.avi',writer=mywriter,fps=30)
    File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 801, in save
    with writer.saving(self._fig, filename, dpi):
    File "C:\Users\Guillermo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.6.1.3253.win-x86_64\lib\contextlib.py", line 17, in __enter__
    return self.gen.next()
    File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 194, in saving
    self.setup(*args)
    File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 184, in setup
    self._run()
    File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 212, in _run
    creationflags=subprocess_creation_flags)
    File "C:\Users\Guillermo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.6.1.3253.win-x86_64\lib\subprocess.py", line 710, in __init__
    errread, errwrite)
    File "C:\Users\Guillermo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.6.1.3253.win-x86_64\lib\subprocess.py", line 958, in _execute_child
    startupinfo)
    WindowsError: [Error 5] Access Denied
    </module></stdin>

    Any ideas ? :D

    ------------------------------------------------------------------------------

    EDIT : I will reference this answer as it is the one that helped me the best :
    http://stackoverflow.com/a/27017734/6050676

    It worked perfectly when using :

    plt.rcParams['animation.ffmpeg_path'] = 'C:\\ffmpeg\\bin\\ffmpeg.exe'  
  • lavfi/vf_*_cuda : do not access hw contexts before checking they exist

    5 août 2024, par Anton Khirnov
    lavfi/vf_*_cuda : do not access hw contexts before checking they exist
    

    The checks are performed in init_processing_chain().

    • [DH] libavfilter/vf_bilateral_cuda.c
    • [DH] libavfilter/vf_chromakey_cuda.c
    • [DH] libavfilter/vf_colorspace_cuda.c
    • [DH] libavfilter/vf_scale_cuda.c