Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (2)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (1788)

  • How to link .so library on Android

    9 juin 2014, par Sayaki

    I’m trying to use FFMpeg with Android. First of all I have tryed to build FFMpeg on my Mac but I cant do that. I checked many solution on Internet but none working. Becouse of that I try to build FFMpeg on Ubuntu 12.04. I try a lot of solutions bu finally I found this example and I succeed build it. Then I get headers files and .so files. Then I copy all of them on my mac and try to use it in my project. I copy this files to my project. Now my project tree looks like this :

    picture

    Here is my Android.mk file :

    LOCAL_PATH := $(call my-dir)

    include $(CLEAR_VARS)
    LOCAL_MODULE := avformat
    LOCAL_SRC_FILES := libavformat.so
    LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include/libavformat
    include $(PREBUILT_SHARED_LIBRARY)

    include $(CLEAR_VARS)

    LOCAL_MODULE    := ndksetup
    LOCAL_SRC_FILES := native.c
    LOCAL_LDLIBS := -llog
    LOCAL_C_INCLUDES := $(LOCAL_PATH)/include

    include $(BUILD_SHARED_LIBRARY)

    Here is my Application.mk file :

    APP_MODULES := ndksetup
    APP_PLATFORM := android-8
    LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libavformat.so

    Here is my natice.c file :

    #include
    #include
    #include <android></android>log.h>
    #include "include/libavcodec/avcodec.h"
    #include "include/libavformat/avformat.h"

    #define DEBUG_TAG "NDKSetupActivity"

    void Java_com_example_ndksetup_MainActivity_printLog(JNIEnv *env, jobject this,
           jstring logString) {
       av_register_all();
       jboolean isCopy;
       const char * szLogString = (*env)->GetStringUTFChars(env, logString,
               &amp;isCopy);

       __android_log_print(ANDROID_LOG_DEBUG, DEBUG_TAG, "NDK: %s", szLogString);

       (*env)->ReleaseStringUTFChars(env, logString, szLogString);
    }

    jint Java_com_example_ndksetup_MainActivity_fibonacci(JNIEnv * env,
           jobject this, jint value) {
       if (value &lt;= 1)
           return value;
       return Java_com_example_ndksetup_MainActivity_fibonacci(env, this,
               value - 1)
               + Java_com_example_ndksetup_MainActivity_fibonacci(env, this,
                       value - 2);
    }

    I get error

    [armeabi] SharedLibrary  : libndksetup.so
    /Applications/adt-bundle-mac-x86_64-20140321/sdk/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/michal/Desktop/NDKSetup/obj/local/armeabi/objs/ndksetup/native.o: in function Java_com_example_ndksetup_MainActivity_printLog:/Users/michal/Desktop/NDKSetup/jni/native.c:11: error: undefined reference to 'av_register_all'
    collect2: ld returned 1 exit status
    make: *** [/Users/michal/Desktop/NDKSetup/obj/local/armeabi/libndksetup.so] Error 1

    And I really dont know how to deal with it. Can you tell me what Im dooing wrong and how can I fix it ? Or maybe there is another way to use .so library in Android

  • i263 : skip dummy frames

    18 juin 2014, par Dirk Ausserhaus
    i263 : skip dummy frames
    

    Intel i263 codec has special 8-byte dummy frames that should not be decoded,
    so do not even attempt to decode them and skip them instead.

    Signed-off-by : Kostya Shishkov <kostya.shishkov@gmail.com>

    • [DBH] libavcodec/intelh263dec.c
  • libFLAC : CPUID detecion improvements.

    28 juin 2014, par Erik de Castro Lopo
    libFLAC : CPUID detecion improvements.
    

    According to docs, it’s incorrect to just call CPUID with EAX=1.
    One must to ensure that this value is supported.

    CPUs that don’t support CPUID level 1 are very old, but...
    if FLAC tests CPUID presence it should also test CPUID level support.

    Also the function FLAC__cpu_have_cpuid_asm_ia32 was simplified
    according to the docs at Intel website and in Wikipedia.

    Patch-from : lvqcl <lvqcl.mail@gmail.com>

    • [DH] src/libFLAC/cpu.c
    • [DH] src/libFLAC/ia32/cpu_asm.nasm