
Recherche avancée
Autres articles (72)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
MediaSPIP en mode privé (Intranet)
17 septembre 2013, parÀ partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (10292)
-
Record screen and save to .mp4 video
10 avril 2023, par Freddy JI have created an animation in Pyglet and I want to save this animation as a video retaining the same quality as the Pyglet window. I attempt to use imageio and FFMPEG with Pyglet. See relevant snippets below.


import numpy as np
import pyglet
import imageio.v2 as iio

writer = iio.get_writer("out.mp4")

@window.event
def on_draw():
 # Draw
 # ...

 # Capture frame
 color_buffer = pyglet.image.get_buffer_manager().get_color_buffer()
 image_data = buffer.get_image_data()
 buffer = image_data.get_data("RGBA", image_data.pitch)

 # 4 channels: RGBA
 frame = np.frombuffer(buffer).reshape((image_data.height, image_data.width, 4))
 writer.append_data(frame)



Problem :


buffer
has expected size ofwindow width * window height * 4
.

However,np.frombuffer(buffer)
has sizebuffer size / 8
. I do not know why. I expect the size to be equal. Hence, the program fails at the reshape step.

-
arm : vp9itxfm : Avoid .irp when it doesn’t save any lines
4 février 2017, par Martin Storsjö -
Decoding h.264 in node.js without ffmpeg and send it to front or save it in fs
5 mars 2019, par JT.v26I’m doing the final project of a bootcamp.
The project consists of controlling a drone (Tello) with a mobile phone. So for this project I’m using react native. In which I insert a node.js inside the application (Node.js for Mobile Apps React Native) since the drone creates a wifi and I lose internet access to connect to a remote server.
All right so far, the drone has three udp ports enabled on the sdk to receive instructions, send status and send video.
The video gives it to me in raw.I did a test on the computer, downloading ffmpeg and converting that data and I could effectively have the video retransmission.
My questions are :
Is there any way I can use the same technique on the mobile without needing ffmpeg ?
Is there any way to import ffmpeg into android and communicate with nodejs ?
Is there any other solution where I can use another node that doesn’t have to be on the phone ?
Or you may even find some other solution to address this problem.
Thank you very much in advance