
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (57)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
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" (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (4917)
-
Extended client ownership of MediaCodec encoder output buffers for RTMP streaming
13 février 2014, par dbroBackground :
I've connected Android's MediaCodec to FFmpeg for muxing a variety of formats not supported by MediaMuxer, including
rtmp://
output via a.flv
container. Such streaming muxers require longer, unpredictable ownership of MediaCodec's output buffers, as they may perform networking I/O on any packet processing step. For my video stream, I'm using MediaCodec configured for Surface input. To decouple muxing from encoding, I queue MediaCodec's ByteBuffer output buffers to my muxer via a Handler.All works splendidly if I mux the
.flv
output to file, rather than rtmp endpoint.Problem :
When muxing to
rtmp://...
endpoint I notice my streaming application begins to block on calls toeglSwapBuffers(mEGLDisplay, mEncodingEGLSurface)
atdequeueOutputBuffer()
once I'm retaining even a few MediaCodec output buffers in my muxing queue as MediaCodec seems to be locked to only 4 output buffers.Any tricks to avoid copying all encoder output returned by
MediaCodec#dequeueOutputBuffers
and immediately callingreleaseOutputBuffer(...)
?The full source of my project is available on Github. Specifically, see :
- AndroidEncoder.java : Abstract Encoder class with shared behavior between Audio and Video encoders : mainly drainEncoder(). Writes data to a
Muxer
instance. - FFmpegMuxer.java : Implements
Muxer
- CameraEncoder.java. Sends camera frames to an AndroidEncoder subclass configured for Video encoding.
Systrace
Here's some systrace output streaming 720p @ 2Mbps video to Zencoder.
Solved
Copying then releasing the MediaCodec encoder output ByteBuffers as soon as they're available solves the issue without significantly affecting performance. I recycle the ByteBuffer copies in an
ArrayDeque<bytebuffer></bytebuffer>
for each muxer track, which limits the number of allocations. - AndroidEncoder.java : Abstract Encoder class with shared behavior between Audio and Video encoders : mainly drainEncoder(). Writes data to a
-
x86inc : Support creating global symbols from local labels
16 août 2017, par Henrik Gramner -
avcodec/mediacodec_wrapper : fix a potential local reference leak in ff_AMediaCodec_ge...
25 avril 2019, par Matthieu Bouron