
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (53)
-
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 -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (12970)
-
Determining size of data[0] in AVFrame of FFMPEG
20 juillet 2020, par user2742299I am trying to allocate AVFrame->data[0] of a video frame to uint8_t* buffer using the following lines of code :


size_t sizeOfFrameData = mpAVFrameInput->linesize[0] * mpAVFrameInput->height;
 
memcpy(mFrameData, mpAVFrameInput->data[0], sizeOfFrameData);



I would like to know if this is a correct way of copying frame data to uint8_t* variable in FFMPEG ?


-
libav : Filling AVFrame with RGB24 sample data ?
31 mai 2012, par Ashika Umanga UmagiliyaI am trying to fill sample data for a AVFrame initialized with RGB24 format.
I use following code snippet to populate RGB data.
But in the encoded video,I can only see grayscale strip covering only 1/3 of the videoframe.
This code snippet suppose to fill only Red color.
Any tips what Im doing wrong here ?AVFrame *targetFrame=.....
int height=imageHeight();
int width=imageWidth();
for(y=0;ydata[0][(y* width)+x]=(x%255); //R
targetFrame->data[0][(y* width)+x+1]=0; //G
targetFrame->data[0][(y* width)+x+2]=0; //B
}
} -
Named pipes and can they stream data ?
30 juillet 2013, par chembradI asked a previous question here :
Stream video from ffmpeg and capture with OpenCV
and I want to know more about named pipes in general. Can I use named pipes to stream data ? For example, can I continuously add data to the pipe (via ffmpeg) in conjunction with reading data with another application ? Or is there another method to do this ?