Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (99)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (9713)

  • SteamVR creating loading screen flicker when recording using FFMPEG in unity

    28 octobre 2018, par Mohamed Muzammil

    I have a heatmap plugin integrated in my Unity VR game(with SteamVR). The plugin uses eye tracking information to generate live heatmaps as the user gazes at different elements in the game. As the heatmaps are generated, the whole camera view(user’s) is overlayed with heatmaps info and written to a MP4 file using FFMPEG.


    The whole process works fine. But I have an annoying problem where during the recording the user’s camera view is not stable and keeps flickering and stops only when the recording is stopped. It interrupts the smooth flow of his game
    For now, I’ve narrowed down the code which causes the trouble,

           public void Write(byte[] data)
       {
           if (_subprocess == null) return;

           _stdin.Write(data);
           _stdin.Flush();
       }

    From my understanding, It is in this part of the code stdinput is invoked to write to the file system. So, I surmise that the problem must be with accessing the file system which in turn must have caused some time delay when each frame is written in the update method. Correct me if i am wrong here.
    enter image description here

    The loading screen which appears during every frame write looks something like above. It interrupts the smooth flow of the game and also makes the recording useless as the user keeps focusing on the flicker rather than the actual objects of interest. I would really be grateful if someone shows light on the issue here ?

  • moviepy problem with audio export : AttributeError : 'FFMPEG_AudioWriter' object has no attribute 'proc'

    3 novembre 2018, par Jaivin Wylde

    In this example, I need to create an audio export for speech recognition.

    clips = moviepy.editor.concatenate_videoclips(videoPart, method="compose")

    clips.audio.write_audiofile("Clips/", game.replace(" ", "_") +
                               "/audio_export.mp3", verbose=False, codec="libmp3lame")

    Then I get this error message.

    Traceback (most recent call last):
    File "/usr/local/lib/python3.5/dist-packages/moviepy/audio/io/ffmpeg_audiowriter.py", line 134, in __del__
    self.close()
    File "/usr/local/lib/python3.5/dist-packages/moviepy/audio/io/ffmpeg_audiowriter.py", line 122, in close
    if self.proc:
    AttributeError: 'FFMPEG_AudioWriter' object has no attribute 'proc'

    I would appreciate any help, thank you.

  • Use ffmpeg to compile RGBA image sequence into two separate videos (RGB + Alpha)

    27 novembre 2018, par MirceaKitsune

    I plan on using Blender to render animated sequences for a game. I need the videos to have transparent backgrounds in the format expected by its engine. This format involves the transparency being defined as a separate grayscale video of equal FPS and duration. Since splitting the RGB and Alpha channels in Blender is more complicated, I’d prefer doing this directly from ffmpeg.

    The input directory contains an image sequence of png files in RGBA format (eg : 0000.png to 0100.png). What I need ffmpeg to do is compile them into two separate videos : One containing only the RGB channels (leave transparency black) and another containing only the grayscale alpha channel. In the end I’d have something like my_video.mp4 + my_video_mask.mp4.

    I’m familiar with compiling non-transparent image sequences into video using :

    ffmpeg -f image2 -i /path/to/sequence/%04d.png output.mp4

    But I don’t know how to extract the alpha channel and make it a separate video file. What is the simplest ffmpeg command to achieve this result ?