
Recherche avancée
Autres articles (104)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (14952)
-
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.
-
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ö