
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (55)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
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 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 (5439)
-
Android - Save image and video to mp4 [duplicate]
8 avril 2017, par BrooksThis question is an exact duplicate of :
I have a surfaceview which my video is played on, I also draw shapes on top of that view/canvas. I want to save/export the canvas and mediaplayer as one mp4 file.
According to this FFMPEG works I will be able to create a mp4 file from images. But in my case I draw to canvas, I can save the canvas as jpg, but I still sit with the problem of how to export/save mp4 and jpg together as one mp4 file.
This link say that I can get the coordinates the image and ’merge’ image and mp4 together with
ffmpeg
.I have been struggling with this for some time, can anyone please point me in the right direction ?
Thank you in advance.
-
how to generate video thumbnail in node.js and save it as a buffer ?
4 septembre 2021, par JourdeluneI want to get the thumbnails of a video at half of it but I should not save the image in a file but get the buffer. I tested ffmepg

ffmpeg -ss 146 -i video.mp4 -y -an -t 4 source

but it does not propose to recover the buffer. Do you know a solution ?

-
save ffmpeg AVFrame as dds file
16 septembre 2017, par HamedBBCurrently I can capture each frame of the video and save them as .bmp file on disk using following function (copied from an example) :
bool BMPSave ( const char *pFileName, AVFrame * frame, int w, int h ) {
bool bResult = false;
if ( frame ) {
FILE* file = fopen ( pFileName, "wb" );
if ( file ) {
// RGB image
int imageSizeInBytes = 3 * w * h;
int headersSize = sizeof( BITMAPFILEHEADER ) +sizeof( BITMAPINFOHEADER );
int fileSize = headersSize + imageSizeInBytes;
uint8_t * pData = new uint8_t[headersSize];
if ( pData != NULL ) {
BITMAPFILEHEADER& bfHeader = *( ( BITMAPFILEHEADER * ) ( pData ) );
bfHeader.bfType = 'MB';
bfHeader.bfSize = fileSize;
bfHeader.bfOffBits = headersSize;
bfHeader.bfReserved1 = bfHeader.bfReserved2 = 0;
BITMAPINFOHEADER& bmiHeader = *( ( BITMAPINFOHEADER * ) ( pData + headersSize - sizeof( BITMAPINFOHEADER ) ) );
bmiHeader.biBitCount = 3 * 8;
bmiHeader.biWidth = w;
bmiHeader.biHeight = h;
bmiHeader.biPlanes = 1;
bmiHeader.biSize = sizeof( bmiHeader );
bmiHeader.biCompression = BI_RGB;
bmiHeader.biClrImportant = bmiHeader.biClrUsed =
bmiHeader.biSizeImage = bmiHeader.biXPelsPerMeter =
bmiHeader.biYPelsPerMeter = 0;
fwrite ( pData, headersSize, 1, file );
uint8_t *pBits = frame->data[0] + frame->linesize[0] * h - frame->linesize[0];
int nSpan = -frame->linesize[0];
int numberOfBytesToWrite = 3 * w;
for ( size_t i = 0; i < h; ++i, pBits += nSpan ) {
fwrite ( pBits, numberOfBytesToWrite, 1, file );
}
bResult = true;
delete[] pData;
}
fclose ( file );
}
}
return bResult;
}However I want to encode each of frame to dds format then use them with
D3DX11CreateShaderResourceViewFromFile
in direct3D but I can’t figure out how to convert my raw data to dds format.