Recherche avancée

Médias (91)

Autres articles (71)

  • 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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (9533)

  • Compression rate (final size) ffmpeg with h263 as codec, can be improved ?

    29 août 2013, par voskyc

    With the following data :

    Sample 1 :
    vcodec : H263
    Duration : 4seconds
    Resolution:1288/720
    FR : 30fps/s
    datarate : 195.135 kB/s
    MP3 : 44HZ, 16bits


    Size file : 5.84MB.

    Sample 2 :
    vcodec : H263
    Duration : 4seconds
    Resolution:640/480
    FR : 30fps/s
    datarate : 195.135 kB/s
    MP3 : 44HZ, 16bits


    Size file = 3.34MB.

    Both in flv container.

    Aren't those sizes a little bit high for 4 second video ?

    I believe we are doing some kind of error or missing an optimization.
    Should we decrease the datarate ?
    Maybe we are missing some option for h263 encoding with FFMPEG ?.

    Thanks a lot in advance for your suggestions.

    Note : no, we "can not" use h264. :-)

  • Final results of ffmpeg installation are libraries with missing links

    17 avril 2017, par Mikasa
    [poster@localhost lib]$ ldd libavfilter.so
       linux-vdso.so.1 =>  (0x00007ffc6bbd0000)
       libswscale.so.4 => not found
       libpostproc.so.54 => not found
       libavformat.so.57 => not found
       libavcodec.so.57 => not found
       libswresample.so.2 => not found
       libavutil.so.55 => not found
       libm.so.6 => /lib64/libm.so.6 (0x00007fc796d79000)
       libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc796b5c000)
       libc.so.6 => /lib64/libc.so.6 (0x00007fc79679b000)
       /lib64/ld-linux-x86-64.so.2 (0x00007fc79742b000)
    [poster@localhost lib]$ ldd libswscale.so
       linux-vdso.so.1 =>  (0x00007ffe29572000)
       libavutil.so.55 => not found
       libm.so.6 => /lib64/libm.so.6 (0x00007f4cfdea3000)
       libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4cfdc87000)
       libc.so.6 => /lib64/libc.so.6 (0x00007f4cfd8c6000)
       /lib64/ld-linux-x86-64.so.2 (0x00007f4cfe442000)

    All of them are like that.
    I’m a newb and don’t know how to solve this. They’re right next to each other.
    Any suggestion is appreciated. Thank you.

  • Matplotlib can not save animation

    1er avril 2020, par Justin Furuness

    I have a matplotlib animation and it will not save. If I do not save it, it runs totally fine and without error. When I try to save it errors with a message that is not helpful. I have googled this error and checked everything, but I cannot seem to find an answer to this problem. I have installed ffmpeg. Am I doing something wrong that is obvious ? I am running on ubuntu 19.10 with matplotlib 3.2.1 if that matters.

    



    The code to save the animation is below :

    



        def run_animation(self, total_rounds):
        anim = animation.FuncAnimation(self.fig, self.animate,
                                       init_func=self.init,
                                       frames=total_rounds * 100,
                                       interval=40,
                                       blit=True)
#        Writer = animation.writers['ffmpeg']
#        writer = Writer(fps=15, metadata=dict(artist='Me'), bitrate=1800)
        anim.save('animation.mp4')


    



    The error traceback :

    



    2020-04-01 02:20:58,279-INFO: MovieWriter._run: running command: ffmpeg -f rawvideo -vcodec rawvideo -s 1200x500 -pix_fmt rgba -r 25.0 -loglevel error -i pipe: -vcodec h264 -pix_fmt yuv420p -y animation.mp4
Traceback (most recent call last):
  File "/home/anon/.local/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2785, in _wait_cursor_for_draw_cm
    self.set_cursor(cursors.WAIT)
  File "/home/anon/.local/lib/python3.7/site-packages/matplotlib/backends/backend_gtk3.py", line 468, in set_cursor
    self.canvas.get_property("window").set_cursor(cursord[cursor])
AttributeError: 'NoneType' object has no attribute 'set_cursor'


    



    Thanks a million for your help