
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (111)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...)
Sur d’autres sites (5319)
-
Revision 6a2e9ef20a : vpx_codec_decode : check data size When a valid data pointer is given make sure
10 août 2014, par James ZernChanged Paths :
Add /test/decode_api_test.cc
Modify /test/test.mk
Modify /vpx/src/vpx_decoder.c
vpx_codec_decode : check data sizeWhen a valid data pointer is given make sure the size is greater than
zero.
A previous check for vp9 was incorrectly removed in :
7050074 Make the api behavior conform to api spec.No semantics for valid pointers + 0-sized frames are defined for VPx
codecs, so move the check to vpx_codec_decode(). This avoids an assert
in vp9.+ add some basic invalid param testing for decoder init/decode/destroy
Change-Id : I99f9cef6076d15874fd72ac973f2685d8a2353c3
-
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. -
How to save an audiostream with ffmpeg
13 juillet 2020, par Nico EymaelI want to save an audiostream from beatport.com with ffmpeg.


- 

- The audiostream is : https://www.beatport.com/track/maximal-happiness/13855065
- Outputfile : audiotrack1.aac
- I know that the music is streamed in aac format. I want my output file to be also aac. I've looked up in which format it is being streamed.








So in cmd I write :


ffmpeg -i https://www.beatport.com/track/maximal-happiness/13855065.aac -vn -c:a copy audiotrack1.aac


My cmd answers me :


https://www.beatport.com/track/maximal-happiness/13855065: Invalid data found when processing input