
Recherche avancée
Autres articles (74)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (12004)
-
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.

-
FFmpeg - What muxer do i need to save an AAC audio stream
1er mars 2017, par David BarishevI’m developing Android application, and im using ffmpeg for conversion of files.
I want my binary file to be as slim as possible since i don’t have many input formats and output formats, and my operation is quite basic.And of course not to bloat the APK.In my program ffmpeg receives a file, and copys the audio stream (
-acodec copy
), the audio stream will always be aac (mp4a
). What i need is to save the stream to file.
My command looks like this :ffmpeg -i {Input} -vn -acodec copy output.aac
.What muxer do i need to for muxing aac to file ? I have tried
flv,mp3,mov
but i always get
Unable to find a suitable output format for 'output.aac'
, so these options are wrong.
I don’t need an encoder for stream copy btw.Side note : this command work flawlessly on full installation of ffmpeg , but I don’t know which muxer it uses. If there is a way to output the muxer it uses from regular ffmpeg run, it would work too.