Recherche avancée

Médias (91)

Autres articles (35)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7016)

  • How to pass command line arguments to FFMpeg in iOS

    23 septembre 2014, par Arif Nadeem

    This is a beginner question, since I am new to iOS(I started it today), so please pardon my ignorance and lack of iOS knowledge.

    After building and successfully using FFMpeg for Android I wanted to do the same for iOS.
    So I built FFMpeg successfully for iOS by following this link, but after all that pain I am confused as how to use FFMpeg in iOS, I mean how can I pass command line arguments to libffmpeg.a file ?

    I am assuming that there must be a way to run the .a file as an executable and then pass command line arguments and hope for FFMpeg to do the magic, I did the same in Android and it worked beautifully.

    I am also aware that I can use ffmpeg.c class and use its main method, but the question remains ; how do I pass those command line arguments ?

    Is there something I am supposed to be aware of here, is the thing what I am doing now correct or am I falling short on my approach ?

    I wanted to mix two audio files, so the command for doing that would be ffmpeg -i firstSound.wav -i secondSound.wav -filter_complex amix=inputs=2:duration=longest finalOutput.wav, how do I do the same in iOS ?

    Can someone please shed some light on this ?

  • Android.mk include ffmpeg and Opencv

    28 janvier 2013, par Mark

    this is my project situation : I compiled ffmpeg in windows using this tutorial and I imported the ffmpeg folder generated inside my android project (under jni folder).
    In my project I have a jni_part.cpp where I inserted my jni function to operate with opencv.
    In my Android.mk I'm using the code below to import opencv and compile the jni_part.cpp

    include $(CLEAR_VARS)
    include ../../sdk/native/jni/OpenCV.mk
    LOCAL_MODULE    := mixed_sample
    LOCAL_SRC_FILES := jni_part.cpp
    LOCAL_LDLIBS +=  -llog -ldl
    LOCAL_SHARED_LIBRARY := ffmpeg-prebuilt
    include $(BUILD_SHARED_LIBRARY)

    But what code I should use to import also ffmpeg ? I tried to use this code :

    include $(CLEAR_VARS)
    LOCAL_MODULE := ffmpeg-prebuilt
    LOCAL_SRC_FILES := ffmpeg-0.8/android/armv7-a/libffmpeg.so
    LOCAL_EXPORT_C_INCLUDES := ffmpeg-0.8/android/armv7-a/include/
    LOCAL_EXPORT_LDLIBS := ffmpeg-0.8/android/armv7-a/libffmpeg.so
    LOCAL_PRELINK_MODULE := true
    include $(PREBUILT_SHARED_LIBRARY)

    but if from mu jni_part.cpp code I try to include the file "#include " I get this error :

    **** Build of configuration Default for project OpenCV Tutorial 4 - Mix Java+Native OpenCV ****

    C:\android-ndk-r8c\ndk-build.cmd
    Prebuilt       : libffmpeg.so <= jni/ffmpeg-0.8/android/armv7-a/
    Install        : libffmpeg.so => libs/armeabi-v7a/libffmpeg.so
    "Compile++ thumb : mixed_sample <= jni_part.cpp
    jni/jni_part.cpp:24:32: fatal error: libavutil/avstring.h: No such file or directory
    compilation terminated.
    make: *** [obj/local/armeabi-v7a/objs/mixed_sample/jni_part.o] Error 1

    **** Build Finished ****

    Someone could help me please ? I need to do this to include ffmpeg codec with the hope to use the function cvCaptureFromAVi...
    Thanks in advance

  • Android.mk : how to include ffmpeg and Opencv

    28 janvier 2013, par Mark

    this is my project situation : I compiled ffmpeg in windows using this tutorial and I imported the ffmpeg folder (with inside libffmpeg.so file) generated inside my android project (under jni folder).
    In my project I have a jni_part.cpp where I inserted my jni function to operate with opencv.
    In my Android.mk I'm using the code below to import opencv and compile the jni_part.cpp

    include $(CLEAR_VARS)
    include ../../sdk/native/jni/OpenCV.mk
    LOCAL_MODULE    := mixed_sample
    LOCAL_SRC_FILES := jni_part.cpp
    LOCAL_LDLIBS +=  -llog -ldl
    LOCAL_SHARED_LIBRARY := ffmpeg-prebuilt
    include $(BUILD_SHARED_LIBRARY)

    But what code I should use to import also ffmpeg ? I tried to use this code :

    include $(CLEAR_VARS)
    LOCAL_MODULE := ffmpeg-prebuilt
    LOCAL_SRC_FILES := ffmpeg-0.8/android/armv7-a/libffmpeg.so
    LOCAL_EXPORT_C_INCLUDES := ffmpeg-0.8/android/armv7-a/include/
    LOCAL_EXPORT_LDLIBS := ffmpeg-0.8/android/armv7-a/libffmpeg.so
    LOCAL_PRELINK_MODULE := true
    include $(PREBUILT_SHARED_LIBRARY)

    but if from my jni_part.cpp code I try to include some ffmpeg files/libraries "#include <libavutil></libavutil>avstring.h>" I get this error :

    **** Build of configuration Default for project OpenCV Tutorial 4 - Mix Java+Native OpenCV ****

    C:\android-ndk-r8c\ndk-build.cmd
    Prebuilt       : libffmpeg.so &lt;= jni/ffmpeg-0.8/android/armv7-a/
    Install        : libffmpeg.so => libs/armeabi-v7a/libffmpeg.so
    "Compile++ thumb : mixed_sample &lt;= jni_part.cpp
    jni/jni_part.cpp:24:32: fatal error: libavutil/avstring.h: No such file or directory
    compilation terminated.
    make: *** [obj/local/armeabi-v7a/objs/mixed_sample/jni_part.o] Error 1

    **** Build Finished ****

    Someone could help me please ? I need to do this to include ffmpeg codec with the hope to use the function cvCaptureFromAVi...
    Thanks in advance