
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (51)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (9183)
-
How to read short (16bits) integers from an unsigned char (8bits) buffer
28 août 2013, par Alba MalagaAs in the title I need to read short integers from a char buffer
The buffer
uint8_t *data[AV_NUM_DATA_POINTERS]
which is a field of the
AVFrame frame
structure, is filled by a call to the ffmpeg functionavcodec_decode_audio4(avctx,frame,got_frame_ptr,avpkt)
But, I need to read this buffer as a buffer of signed 16 bits integers because this is the sample format indicated by the codec context
avctx->sample_fmt==AV_SAMPLE_FMT_S16I tried to do this using a memcpy but I have not succeeded to get reasonable values so then I tried to use a union struct as suggested on some related questions here in StackOverflow. My code is as follows :
union CharToStruct
uint8_t myCharArray[2] ;
short value ;
presentSound ;audioRet=avcodec_decode_audio4(avctx,frame,got_frame_ptr,avpkt);
if(got_frame_ptr){
audioRet=audioRet/2;
int b=0;
for(int i=0;idata[0][2*i+1];
presentSound.myCharArray[1]=frame->data[0][2*i]
dbuf[((i-b)/2)*8+inc-è>mLeft+b]=info->presentSound.value;//the reason of the offset by 8 here is because I will be writing the result to a multichannel device
}With this, the values are reasonable, but when I write this to a device using portaudio, I get just clicking noise. Am I doing the conversion in a wrong way ? Can you help me maybe with some better way to do this reading ?
Thank you very much for your help
Alba
-
i want to create a collage of short videos based on my girlfriend's mood(machine learning approach in ffmpeg) [closed]
14 janvier 2020, par Biswajit NayakHi guys i am working on a video collage project from different short videos based on our journey so far, it will be simple as Mid-’90s DV Camcorder Look we have to use ffmpeg for scene extraction and which machine learning framework to detect mood as per the scene in the video, We also use some featureS of opencv. Please Help
-
lavfi : restore mixed short/long option support with the new system.
11 avril 2013, par Clément Bœschlavfi : restore mixed short/long option support with the new system.