Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (77)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (5141)

  • Avconv : Select german stream not highest quality one

    6 novembre 2017, par mblaettermann

    I am converting some input stream from my DVB S2 Card to RTMP.

    Everything works fine after switching to recent avconv and x264 :)

    The only thing I couldn’t find out is, how do I select the right audio stream ?

    The source sometimes has up to 6 audio tracks. Avconv automatically chooses the one with the highest bitrate. However I want to select the "ger" one :

    Here are the streams of ARTE german/french TV Channel for example :

    Input #0, mpegts, from 'http://192.168.1.50:9981/stream/channelid/1035':
     Duration: N/A, start: 19083.694722, bitrate: 15576 kb/s
     Program 1
       Stream #0.0[0xa8], 127, 1/90000: Video: mpeg2video (Main), yuv420p, 544x576 [PAR 32:17 DAR 16:9], 1/50, 15000 kb/s, 25 fps, 90k tb50 tbc
       Stream #0.1[0x70](fre), 204, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
       Stream #0.2[0x71](ger), 207, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0.3[0x72](eng), 207, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0.4[0x73](qaa), 207, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 128 kb/s
     No Program
       Stream #0.5[0x3b], 126, 1/90000: Audio: mp1, 0 channels, s16p

    libav Docs are really not that helpful. Who does now the right syntax ?

    EDIT : I found the -map option : http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20use%20-map%20option But it is not possible to map by name ? Only by index ?

    Maybe I need to use avprobe then, to find the corrent stream index for "ger".

  • Avconv : Select german stream not highest quality one

    15 novembre 2013, par mblaettermann

    I am converting some input stream from my DVB S2 Card to RTMP.

    Everything works fine after switching to recent avconv and x264 :)

    The only thing I couldn't find out is, how do I select the right audio stream ?

    The source sometimes has up to 6 audio tracks. Avconv automatically chooses the one with the highest bitrate. However I want to select the "ger" one :

    Here are the streams of ARTE german/french TV Channel for example :

    Input #0, mpegts, from 'http://192.168.1.50:9981/stream/channelid/1035':
     Duration: N/A, start: 19083.694722, bitrate: 15576 kb/s
     Program 1
       Stream #0.0[0xa8], 127, 1/90000: Video: mpeg2video (Main), yuv420p, 544x576 [PAR 32:17 DAR 16:9], 1/50, 15000 kb/s, 25 fps, 90k tb50 tbc
       Stream #0.1[0x70](fre), 204, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
       Stream #0.2[0x71](ger), 207, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0.3[0x72](eng), 207, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0.4[0x73](qaa), 207, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 128 kb/s
     No Program
       Stream #0.5[0x3b], 126, 1/90000: Audio: mp1, 0 channels, s16p

    libav Docs are really not that helpful. Who does now the right syntax ?

    EDIT : I found the -map option : http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20use%20-map%20option But it is not possible to map by name ? Only by index ?

    Maybe I need to use avprobe then, to find the corrent stream index for "ger".

  • 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