Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (108)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

Sur d’autres sites (16808)

  • ffprobe fake file safety/mime content checking

    15 février 2016, par Mark S

    Anyone know if ffprobe is safe to use as a method to check the content of a video ? I want to determine if someone renames an exe to mp4 or some other video mime and I run ffprobe on it, would the file execute or fail safely without executing the content ?

  • Compile FFmpeg project for ARM in PC Linux 64-bit

    4 avril 2017, par Dang_Ho

    I want to compile a simple FFmpeg project for my Arrow Sockit Board with an arm-linux-gnueabihf architecture from my Linux-64bit PC. I don’t want to compile the project in the board directly because of my low CPU and that is not convenient for me.

    I’m using FFmpeg version 2.8.11 and this is my Makefile and my "main.c". I know, my Makefile has something wrong in it. If I command "make", it will compile depending on my PC’s architecture, I can’t use that binary file on my board. So, can someone please tell me how to do it.

    I Cross-Compiled the FFmpeg package and installed into the board. I tested all functions such as ffmpeg, ffplay. All them work. The source code folder is located to /home/hohaidang/ffmpeg-2.8.11

    #include
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavformat></libavformat>avformat.h>
    #include <libswscale></libswscale>swscale.h>

    int main(int argc, char *argv[]){
            av_register_all();
            return 0;
    }
    # use pkg-config for getting CFLAGS and LDLIBS
    FFMPEG_LIBS=    libavdevice                        \
                   libavformat                        \
                   libavfilter                        \
                   libavcodec                         \
                   libswresample                      \
                   libswscale                         \
                   libavutil                          \

    CFLAGS += -Wall -g
    CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
    LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)

    EXAMPLES=       main

    OBJS=$(addsuffix .o,$(EXAMPLES))

    # the following examples make explicit use of the math library
    avcodec:           LDLIBS += -lm
    decoding_encoding: LDLIBS += -lm
    muxing:            LDLIBS += -lm
    resampling_audio:  LDLIBS += -lm

    .phony: all clean-test clean

    all: $(OBJS) $(EXAMPLES)

    clean-test:
            $(RM) test*.pgm test.h264 test.mp2 test.sw test.mpg

    clean: clean-test
            $(RM) $(EXAMPLES) $(OBJS)
  • Android NDK w/ ffmpeg library - error running project

    11 novembre 2014, par ynnadkrap

    Using this guide, http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/, I successfully compiled ffmpeg-2.4.2 with Android NDK 10, but now I’m having issues using it in my eclipse project.

    The error I’m getting :

    *** Android NDK: Aborting    .  Stop.

    which points to this in prebuilt-library.mk :

    ifndef prebuilt
    $(call __ndk_info,ERROR:$(LOCAL_MAKEFILE):$(LOCAL_MODULE): LOCAL_SRC_FILES points to a missing file)
    $(call __ndk_info,Check that $(prebuilt_path) exists, or that its path is correct)
    $(call __ndk_error,Aborting) &lt;----- ***** This line is specifically pointed out by the error log
    endif

    Here’s my ...jni/Android.mk :

    LOCAL_PATH := $(call my-dir)

    include $(CLEAR_VARS)

    LOCAL_MODULE    := VideoTest
    LOCAL_SRC_FILES := videotest.c
    LOCAL_LDLIBS := -llog -ljnigraphics -lz -landroid
    LOCAL_SHARED_LIBRARIES := libavformat libavcodec libswscale libavutil

    include $(BUILD_SHARED_LIBRARY)
    $(call import-module,ffmpeg-2.4.2/android/arm)

    Here’s my android-ndk/sources/ffmpeg-2.4.2/android/arm/Android.mk :

    LOCAL_PATH:= $(call my-dir)


    include $(CLEAR_VARS)
    LOCAL_MODULE:= libavcodec
    LOCAL_SRC_FILES:= lib/libavcodec-55.so
    LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
    include $(PREBUILT_SHARED_LIBRARY)

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

    include $(CLEAR_VARS)
    LOCAL_MODULE:= libswscale
    LOCAL_SRC_FILES:= lib/libswscale-2.so
    LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
    include $(PREBUILT_SHARED_LIBRARY)

    include $(CLEAR_VARS)
    LOCAL_MODULE:= libavutil
    LOCAL_SRC_FILES:= lib/libavutil-52.so
    LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
    include $(PREBUILT_SHARED_LIBRARY)

    include $(CLEAR_VARS)
    LOCAL_MODULE:= libavfilter
    LOCAL_SRC_FILES:= lib/libavfilter-3.so
    LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
    include $(PREBUILT_SHARED_LIBRARY)

    include $(CLEAR_VARS)
    LOCAL_MODULE:= libwsresample
    LOCAL_SRC_FILES:= lib/libswresample-0.so
    LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
    include $(PREBUILT_SHARED_LIBRARY)

    Here’s my project structure :

    http://imgur.com/2vMryOS

    So it seems to me that the project isn’t building because the LOCAL_SRC_FILES doesn’t point to anything, but is it referring to LOCAL_SRC_FILES in jni/Android.mk or the one in ...ffmpeg-2.4.2/android/arm/Android.mk ? Either way, it seems like they are actually pointing to something. I’ve also tried looking at this solution, Android NDK : Aborting stop ?, but I’m having a hard time understanding it. Which Android.mk file needs changing ?