Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (65)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (8176)

  • Android NDK Linking shared library unsatisfied Linker Error

    6 janvier 2014, par nmxprime

    i have a problem,

    Below is the Android.mk

    LOCAL_PATH := $(call my-dir)
    INITIAL_PATH := $(LOCAL_PATH)

    include $(CLEAR_VARS)
    LOCAL_MODULE := ffmpegbuilt
    LOCAL_SRC_FILES := libffmpeg.so
    LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
    include $(PREBUILT_SHARED_LIBRARY)


    LOCAL_PATH := $(INITIAL_PATH)
    LOCAL_MODULE    := main_module
    LOCAL_ARM_MODE := arm  # remove this if you want thumb mode
    LOCAL_SRC_FILES := main.c
    LOCAL_LDLIBS := -llog
    LOCAL_SHARED_LIBRARIES := ffmpegbuilt
    include $(BUILD_SHARED_LIBRARY)

    It creates the two shared_libraries as expected. i see those two libraries inside libs/armeabi folder
    When i run the application, Unsatisfied Linker error occurs as

    01-06 20:21:38.281: E/AndroidRuntime(435): FATAL EXCEPTION: main
    01-06 20:21:38.281: E/AndroidRuntime(435): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1962]:    32 could not load needed library 'libffmpeg.so' for 'libmain_module.so' (load_library[1104]: Library 'libffmpeg.so' not found)
    01-06 20:21:38.281: E/AndroidRuntime(435):  at java.lang.Runtime.loadLibrary(Runtime.java:434)
    01-06 20:21:38.281: E/AndroidRuntime(435):  at java.lang.System.loadLibrary(System.java:554)

    What could be the problem, also though i defined LOCAL_MODULE := ffmpegbuilt, why the prebuilt library's module name is not changing ?

  • android.mk LOCAL_MODULE_FILENAME should not contain extensions

    25 février 2015, par nmxprime

    i am trying to build some of the files from libavcodec and libavutil

    Following this, i created Android.mk file as below :

    jni/Android.mk contains

    LOCAL_PATH := $(call my-dir)

    FFMPEG_TOP := $(LOCAL_PATH)

    include $(CLEAR_VARS)

    include $(FFMPEG_TOP)/libavutil/Android.mk
    include $(FFMPEG_TOP)/libavcodec/Android.mk



    LOCAL_PATH := $(FFMPEG_TOP)
    LOCAL_MODULE := mylib
    LOCAL_ARM_MODE := arm  # remove this if you want thumb mode
    LOCAL_SRC_FILES := myfunc1.c myfunc2.c maincfunction.c 3rdparty1.c 3rdparty2.c

    LOCAL_SRC_FILES += libavcodec.a libavutil.a

    LOCAL_LDLIBS := -llog

    include $(BUILD_SHARED_LIBRARY)

    jni/libavcodec/Android.mk contains

    LOCAL_PATH:= $(call my-dir)

    include $(CLEAR_VARS)

    SOURCE_H264_DECODER += h264.c h264idct.c h264pred.c h264_parser.c cabac.c
    SOURCE_H264_ENCODER += h264enc.c h264dspenc.c

    SOURCE_HAVE_ARM = \
       arm/dsputil_arm.c        \
       arm/dsputil_arm_s.S        \
       arm/jrevdct_arm.S \
       arm/mpegvideo_arm.c        \
       arm/simple_idct_arm.S

    SOURCE_HAVE_ARMV5TE = \
       arm/mpegvideo_armv5te.c \
       arm/mpegvideo_armv5te_s.S \
       arm/simple_idct_armv5te.S

    SOURCE_HAVE_ARMVFP = \
       arm/dsputil_vfp.S \
       arm/float_arm_vfp.S

    SOURCE_HAVE_ARMV6 = arm/simple_idct_armv6.S

    LOCAL_SRC_FILES := \
      allcodecs.c \
      audioconvert.c \
      bitstream.c \
      bitstream_filter.c \
      dsputil.c \
      eval.c \
      faanidct.c \
      imgconvert.c \
      jrevdct.c \
      opt.c \
      options.c \
      parser.c \
      raw.c \
      resample.c \
      resample2.c \
      simple_idct.c \
      utils.c

    LOCAL_SRC_FILES += $(SOURCE_H263_ENCODER)                
    LOCAL_SRC_FILES += $(SOURCE_H264_DECODER)

    LOCAL_SRC_FILES += $(SOURCE_HAVE_ARM)                
    LOCAL_SRC_FILES += $(SOURCE_HAVE_ARMV5TE)                
    LOCAL_SRC_FILES += $(SOURCE_HAVE_ARMVFP)

    LOCAL_MODULE := libavcodec

    LOCAL_PRELINK_MODULE := false


    LOCAL_C_INCLUDES :=                           \
       $(FFMPEG_TOP)/                         \
       $(FFMPEG_TOP)/libavutil/                \
       $(LOCAL_PATH)                            \
       $(LOCAL_PATH)/arm/

    LOCAL_CFLAGS += -O4 -mno-thumb-interwork -mno-thumb -marm -DHAVE_AV_CONFIG_H

    include $(BUILD_STATIC_LIBRARY)    

    jni/libavutil/Android.mk contains
    LOCAL_PATH := $(call my-dir)

    include $(CLEAR_VARS)

    LOCAL_SRC_FILES := \
      adler32.c \
      aes.c \
      avstring.c \
      base64.c \
      crc.c \
      des.c \
      fifo.c \
      intfloat_readwrite.c \
      lfg.c \
      lls.c \
      log.c \
      lzo.c \
      mathematics.c \
      md5.c \
      mem.c \
      random.c \
      random_seed.c \
      rational.c \
      rc4.c \
      sha1.c \
      tree.c \
      utils.c

    LOCAL_MODULE := libavutil

    LOCAL_PRELINK_MODULE := false

    LOCAL_C_INCLUDES :=                                 \
       $(FFMPEG_TOP)/                                \
       $(LOCAL_PATH)                 \
       $(LOCAL_PATH)/arm/

    LOCAL_CFLAGS += -O4 -mno-thumb-interwork -mno-thumb -marm -DHAVE_AV_CONFIG_H

    include $(BUILD_STATIC_LIBRARY)

    The problem addressed here is not relavant to what i am facing, though the error is similar.

    The error i got is :

    Android NDK: jni/inner/Android.mk:mylib: LOCAL_MODULE_FILENAME should not include file extensions
    Android NDK: jni/inner/Android.mk:mylib: LOCAL_MODULE_FILENAME must not contain a file extension

    Please help !!
    [So often i am meeting headless problems !!]

  • how to install and run phpize

    13 décembre 2016, par Hrishikesh Choudhari

    I have been meaning to install ffmpeg as an extension to my php setup. So before I can install it, I need to phpize it. I installed php5-dev by sudo apt-get install php5-dev But now when I run phpize I get the following error :

    phpize
    Cannot find config.m4.
    Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

    The location of my php.ini is /usr/local/zend/etc/php.ini

    From another online resource i tried this

    sudo apt-get install autoconf automake libtool m4

    But all of them are already installed.

    Locate config.m4 didnt return anything.

    Any pointers here how I can get phpize and thus, ffmpeg up and running ?