
Advanced search
Medias (91)
-
Géodiversité
9 September 2011, by ,
Updated: August 2018
Language: français
Type: Text
-
USGS Real-time Earthquakes
8 September 2011, by
Updated: September 2011
Language: français
Type: Text
-
SWFUpload Process
6 September 2011, by
Updated: September 2011
Language: français
Type: Text
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 May 2011
Updated: July 2013
Language: français
Type: Text
-
Podcasting Legal guide
16 May 2011, by
Updated: May 2011
Language: English
Type: Text
-
Creativecommons informational flyer
16 May 2011, by
Updated: July 2013
Language: English
Type: Text
Other articles (63)
-
Le profil des utilisateurs
12 April 2011, byChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 November 2010, byAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 May 2011, byDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
On other websites (4312)
-
iOS, FFmpeg render video with UIimage vs OpenGL
23 January 2013, by finlirI have an IP camera that streams h264 video over RTSP. On iOS I use FFmpeg to capture the RTSP stream and decode the frames then render with an UIimage and UIimageview.
I have seen examples of of rendering video from FFmpeg, they all seem to use OpenGL ES or the SDL library.
My question is what are the benefits for using OpenGL? since rendering with UIimage is easy and seem to work fine.
-
How to create a video out of frames without saving it to disk using python?
6 September 2022, by brenodacostaI have a function that returns a frame as result. I wanted to know how to make a video out of a for-loop with this function without saving every frame and then creating the video.


What I have from now is something similar to:


import cv2
out = cv2.VideoWriter('video.mp4',cv2.VideoWriter_fourcc(*'DIVX'), 14.25,(500,258))
for frame in frames:
 img_result = MyImageTreatmentFunction(frame) # returns a numpy array image
 out.write(img_result)
out.release()



Then the video will be created as video.mp4 and I can access it on memory. I'm asking myself if there's a way to have this video in a variable that I can easily convert to bytes later. My purpose for that is to send the video via HTTP post.


I've looked on ffmpeg-python and opencv but I didn't find anything that applies to my case.


-
ffmpeg How to get PCM floats from AVFrame with AV_SAMPLE_FMT_FLT
26 November 2020, by cs guyI have an AVFrame obtained through a decoder that has a format of
AVSampleFormat::AV_SAMPLE_FMT_FLT
. My issue is I want to convert the data stored inside

avFrame->data; // returns uint8_t *



to Array of floats that are between [-1, +1]. I see that
avFrame->data;
returnsuint8_t *
how may I use this to obtain the float pcm data for each channel of the audio?

I tried the following:


auto *floatArrPtr = (float *)(avResampledDecFrame->data[0]);

 for (int i = 0; i < avResampledDecFrame->nb_samples; i++) {
 // TODO: store interleaved floats somewhere
 floatArrPtr++;
 }



but I am not sure if this is the right way to get data