
Recherche avancée
Autres articles (97)
-
Organiser par catégorie
17 mai 2013, parDans 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 (...) -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (3395)
-
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
-
arm : vp9itxfm : Avoid .irp when it doesn’t save any lines
4 février 2017, par Martin Storsjö -
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.