
Recherche avancée
Autres articles (87)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (6269)
-
Why is the FindClass/JNI function behaving differently on nexus 5 and Honor Play ?
17 août 2020, par OwlMobileFFmpeg v4.3.1LTS works on Honor Play, but doesn't work on Nexus 5. Why ?


The build for Honor Play and nexus 5 is the same ->armeabi-v7a




https://github.com/tanersener/mobile-ffmpeg/releases/tag/v4.3.1.LTS


Nexus5 :enter image description here


HonorPlay :enter image description here






NDK = ndk-r14b






JDK = jdk1.8.0_77




I will ask the question immediately in English stackoverflow. Developing a game in
Unreal Engine 4 v24.3
. In the code itself there are only 2 lines that relate to MobileFFmpeg :

Enabling the function :


extern "C"
{
 int ffmpeg_execute(int argc, char** argv);
}



Calling a function with ffmpeg parameters


ffmpeg_execute(arg.size(), arg.data());



Without mobile FFmpeg, the app on nexus 5 starts and works stably. When I start with FFmpeg, an error immediately appears and the app crashes :




The FindClass function does not work, the call itself is declared in mobile ffmpeg.c :


/** Full name of the Config class */
const char *configClassName = "com/arthenica/mobileffmpeg/Config";



...


/**
 * Called when 'mobileffmpeg' native library is loaded.
 *
 * @param vm pointer to the running virtual machine
 * @param reserved reserved
 * @return JNI version needed by 'mobileffmpeg' library
 */
jint JNI_OnLoad(JavaVM *vm, void *reserved) {
 JNIEnv *env;
 if ((*vm)->GetEnv(vm, (void**)(&env), JNI_VERSION_1_6) != JNI_OK) {
 LOGE("OnLoad failed to GetEnv for class %s.\n", configClassName);
 return JNI_FALSE;
 }

 jclass localConfigClass = (*env)->FindClass(env, configClassName);
 if (localConfigClass == NULL) {
 LOGE("OnLoad failed to FindClass %s.\n", configClassName);
 return JNI_FALSE;
 }
...



I can't see what the FindClass(C++) function returns, Android Studio doesn't want to stop on the JNI_OnLoad(C++) function during debug.


What are the assumptions why FindClass behavior is different on two phones ?


-
avformat/aviobuf : Honor avio_open[2] documentation
6 janvier 2020, par Andreas Rheinhardtavformat/aviobuf : Honor avio_open[2] documentation
The documentation of both avio_open() as well as avio_open2() states
that on failure, the pointer to an AVIOContext given to this function
(via a pointer to a pointer to an AVIOContext) will be set to NULL. Yet
it didn't happen upon failure of ffurl_open_whitelist() or when allocating
the internal buffer failed. This commit changes this.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
avcodec/h264_sei : honor the Film Grain Characteristics cancel flag
26 juillet 2021, par James Almer