
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (73)
-
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Le profil des utilisateurs
12 avril 2011, parChaque 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 (...)
Sur d’autres sites (12820)
-
tips needed : aac encode on android using ffmpeg-neon optimization
13 octobre 2011, par user992537there
I am trying to do some performance improvement about libfaac/libx264 encoder using ffmpeg and neon.seems successfully compiled ffmpeg with neon support,and video encode performance indeed has some improvement,however when it comes to aac encode, it barely can run...Do I have to do some code change about aac specificly ? Does this have something to do with neon`s fft stuff ?Totally clueless, any tips would be greatly appreciated !Thanks -
How do I reduce the video size captured by the default camera using FFMPEG in Android ?
12 octobre 2011, par KrishnenduI am trying to reduce the video size captured by the default camera (it's generating high resolution video) in Android. Does FFMPEG have a property to encode a video with given resolution ? I tried to Google, but all examples are using command line mode for FFMPEG.
My questions are :
- Can we use ffmpeg command line in Android ?
- If not then how we will achieve it ?
- Can we able record a video directly using ffmpeg in Android ?
- Is there any other solution for this ?
-
Encoding Raw PCM data to AAC using ffmpeg in Android
10 janvier 2012, par NISHAnTNow, i m using libfaac directly to convert raw PCM data to AAC in JNI. Frames Encoded successfully still bytesWritten is always 0 it means there will b some problem in code Here is my Code.
JNIEXPORT
jbyteArray JNICALL Java_com_encodePCMFrame(JNIEnv * env,
jclass clazz,short* data,jint bitRate,jint sampleSize,jint channelConfig)
{
faacEncHandle hEncoder;
unsigned long samplesInput, maxBytesOutput, totalBytesWritten;
faacEncConfigurationPtr faacPtr;
char *faac_id_string;
char *faac_copyright_string;
unsigned long inputsamples;
unsigned long maxoutputbytes;
unsigned char* bitbuf;
int bytesWritten;
jbyteArray AACframe;
jsize size;
if(faacEncGetVersion(&faac_id_string, &faac_copyright_string) == FAAC_CFG_VERSION)
{
__android_log_print(ANDROID_LOG_VERBOSE, APPNAME, "\nFAAC_ID_STRING %s\n\n ", faac_id_string);
}
hEncoder = faacEncOpen(sampleSize, channelConfig,&inputsamples, &maxoutputbytes);
if(hEncoder)
{
__android_log_print(ANDROID_LOG_VERBOSE, APPNAME, "AAC Codec Open (samplesize = %d)\n (channelConfig = %d)\n (input Samples = %d)\n(Max OUTPUT BYTES = %d)\n (bitRate = %d)...",sampleSize,channelConfig,inputsamples,maxoutputbytes,bitRate);
}
faacPtr = faacEncGetCurrentConfiguration(hEncoder);
faacPtr->aacObjectType = MAIN;
faacPtr->mpegVersion = MPEG2;
faacPtr->outputFormat = 1; //ADTS
faacPtr->bitRate = bitRate;
faacPtr->inputFormat = FAAC_INPUT_16BIT;
if (faacEncSetConfiguration(hEncoder, faacPtr)==0)
{
__android_log_print(ANDROID_LOG_VERBOSE, APPNAME,"fail to set");
faacEncClose ( hEncoder );
hEncoder =0;
}
bitbuf = (unsigned char*)malloc(maxoutputbytes*sizeof(unsigned char));
bytesWritten = faacEncEncode(hEncoder,(int32_t *)data,inputsamples,bitbuf,maxoutputbytes);
if(bytesWritten<=0)
{
__android_log_print(ANDROID_LOG_VERBOSE, APPNAME, "Can Not Encode Frame... bytesWritten = %d ",bytesWritten);
faacEncClose(hEncoder);
}
else
{
__android_log_print(ANDROID_LOG_VERBOSE, APPNAME, "Bytes Written = %d ",bytesWritten);
__android_log_print(ANDROID_LOG_VERBOSE, APPNAME, "Encoding frame %d ",bitbuf);
}
AACframe = (*env)->NewByteArray(env,maxoutputbytes);
(*env)->SetByteArrayRegion(env,AACframe, 0,maxoutputbytes, bitbuf);
__android_log_print(ANDROID_LOG_VERBOSE, APPNAME, "Buffer AAC Frame == %d Allocated... Size == %d ",AACframe,maxoutputbytes);
return AACframe;
av_free(bitbuf);
av_free(data);
(*env)->ReleaseByteArrayElements(env, AACframe, 0, JNI_ABORT);
}Thanks in Advance.