Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (85)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

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

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

Sur d’autres sites (6125)

  • Kivy does not load ff_mpeg

    25 mai 2016, par Edv Beq

    I have been trying to use a simple code to play videos with Kivy and Python. The shortest code I found is the one shown below.

    1. At first, Kivy was showing an error on Pyglet and ff_mpeg. Therefore, I installed Pyglet - which consequently require AVbin, - none of which would load automatically.

    2. I found the following solution on another post - which fixed the sound :

      import pyglet
      pyglet.lib.load_library('avbin')
      pyglet.have_avbin=True
    3. Can I do the same with ff_mpeg ? Can it be loaded manually ?

    4. I have already installed ffmpeg :

      • When I type ffmpeg -version on cmd - it displays ffmpeg version N-.... built with gcc 4.9.2(GCC). Also, I have added all the paths in WIndows.
    5. Also my pip list :

      Cython (0.21.2)
      docutils (0.12)
      ffmpegwrapper (0.1.dev0)
      Kivy (1.8.0)
      Kivy-Garden (0.1.1)
      Pillow (2.1.0)
      pip (6.0.8)
      pygame (1.9.2a0)
      pyglet (1.2.1)
      requests (2.5.1)
      setuptools (12.0.5)
    6. Error on Kivy :

      [DEBUG      ] [Video     ] Ignored <ffmpeg> (import error)
      [INFO       ] [Video     ] Provider: pyglet(['video_ffmpeg'] ignored)
      </ffmpeg>

      and

      File "C:\Python33\lib\site-packages\kivy\core\video\video_pyglet.py", line   67, in _update
        self._player.dispatch_events(dt)
      AttributeError: 'Player' object has no attribute 'dispatch_events'
    7. And, finally here is the code - I am working with :

      import kivy
      import pyglet
      pyglet.lib.load_library('avbin')
      pyglet.have_avbin=True

      kivy.require('1.8.0')

      from sys import argv
      from os.path import dirname, join
      from kivy.app import App
      from kivy.uix.videoplayer import VideoPlayer

      class VideoPlayerApp(App):

         def build(self):
             if len(argv) > 1:
                 filename = argv[1]
             else:
                 curdir = dirname(__file__)
                 filename = join(curdir, 'project.mp4')
             return VideoPlayer(source=filename, state='play')

      if __name__ == '__main__':
         VideoPlayerApp().run()

    I have searched a lot of other threads, and installed ffmpeg several times with no luck. Any help would be greatly appreciated. Thank you !

  • How do I close a Node.js FFMPEG child process that is actively streaming from a live capture source ?

    1er juin 2013, par RickZ

    I'm new to Node.js and have figured out how to utilize child.spawn to launch an instance of FFMPEG that is being used to capture live video and send it over to Adobe Media Server via rtmp.

    Every example I've seen of FFMPEG being used in conjunction with Node.js has been with a time limited sample, so the child process closes once FFMPEG reaches the end of the file it is converting.

    In this case, there is no "end of file".

    If I instantiate :

       var ffmpeg = child.spawn(&#39;ffmpeg.exe&#39;, [args]);

    it creates the live feed.

    I have tried immediately shutting the child process down with a :

       setTimeout(function() {
           ffmpeg.stdin.resume();
           ffmpeg.stdin.write(&#39;insert command to echo q to close FFMPEG&#39;);
           ffmpeg.stdin.end();
       });

    However, that does not seem to work. I continue to see my rtmp feed on my test box.

    Is there any way to pass FFMPEG a shut down command via stdin in Node.js ?

    Thanks in advance !

    Rick

  • rtmpproto : Send chunk size on the network channel

    13 octobre 2016, par Martin Storsjö
    rtmpproto : Send chunk size on the network channel
    

    This makes sure that e.g. Adobe FME actually reacts to it. As long
    as the value we’ve been sending is the default one (128), the bug
    hasn’t been noticed.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/rtmpproto.c