Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (111)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (7190)

  • "only position independent executables (PIE) are supported" error in FFMPEG Android Lollipop

    2 juin 2015, par Karthikeyan

    I am using FFMPEG support library to convert bunch of images to video. It works fine on earlier version of the android lollipop. But in the lollipop it generates the following error. ***error: only position independent executables (PIE) are supported.*** I know the PIE Security restrictions has been changed in lollipop, but i don’t know how to fix it.

    From my knowledge it may have two possible solutions,

    either

    we need to relocate the FFMPEG library assets to the SDCard and we have to refer them from our coding, if this is the answer what are all the steps to be followed ?

    or

    Is there any update in the FFMPEG library for android lollipop.

    If both are wrong can you provide me with the proper solution.

    Many thanks...

    Here is my code

      try {
               Log.e(LOGTAG, "started");

               String[] ffmpegCommand = {"/data/data/com.mobvcasting.mjpegffmpeg/ffmpeg", "-r", ""+p.getPreviewFrameRate(), "-b", "1000000", "-vcodec", "mjpeg", "-i",
                       Environment.getExternalStorageDirectory().getPath() + "/req_images/frame_%05d.jpg", Environment.getExternalStorageDirectory().getPath() + "/req_images/video.mov"};

               ffmpegProcess = new ProcessBuilder(ffmpegCommand).redirectErrorStream(true).start();            

               OutputStream ffmpegOutStream = ffmpegProcess.getOutputStream();
               BufferedReader reader = new BufferedReader(new InputStreamReader(ffmpegProcess.getInputStream()));

               String line;

               Log.v(LOGTAG,"***Starting FFMPEG***");
               while ((line = reader.readLine()) != null)
               {
                   Log.v(LOGTAG,"***"+line+"***");
               }
               Log.v(LOGTAG,"***Ending FFMPEG***");


           } catch (IOException e) {
               e.printStackTrace();
           }

           if (ffmpegProcess != null) {
               ffmpegProcess.destroy();        
           }
           Log.e(LOGTAG, "Background done");
  • Android NDK : Getting java.lang.UnsatisfiedLinkError : dlopen failed : cannot locate symbol "signal" referenced by "libffmpeg.so"

    27 février 2015, par Gaganpreet Singh

    I have a video trimmer application code .

    Its Android.mk file code is mentioned below :

    MY_LOCAL_PATH := $(call my-dir)

    include $(all-subdir-makefiles)

    LOCAL_PATH :=$(MY_LOCAL_PATH)
    include $(CLEAR_VARS)
    LOCAL_MODULE    := video-trimmer
    LOCAL_SRC_FILES := video-trimmer.c
    LOCAL_C_INCLUDES := $(MY_LOCAL_PATH) $(MY_LOCAL_PATH)/ffmpeg
    LOCAL_SHARED_LIBRARIES := ffmpeg
    LOCAL_LDLIBS += -lz -llog
    include $(BUILD_SHARED_LIBRARY)

    and Application.mk file code is :

    APP_MODULES      := ffmpeg video-trimmer
    APP_OPTIM := debug

    When I try to run this application, I get following error :

    02-26 16:06:05.779: E/AndroidRuntime(4092): FATAL EXCEPTION: main
    02-26 16:06:05.779: E/AndroidRuntime(4092): Process: net.video.trimmer, PID: 4092
    02-26 16:06:05.779: E/AndroidRuntime(4092): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "signal" referenced by "libffmpeg.so"...
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at java.lang.Runtime.loadLibrary(Runtime.java:364)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at java.lang.System.loadLibrary(System.java:526)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at net.video.trimmer.service.VideoTrimmingService.onCreate(VideoTrimmingService.java:29)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at android.app.ActivityThread.handleCreateService(ActivityThread.java:2585)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at android.app.ActivityThread.access$1800(ActivityThread.java:139)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1292)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at android.os.Handler.dispatchMessage(Handler.java:102)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at android.os.Looper.loop(Looper.java:136)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at android.app.ActivityThread.main(ActivityThread.java:5086)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at java.lang.reflect.Method.invokeNative(Native Method)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at java.lang.reflect.Method.invoke(Method.java:515)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    02-26 16:06:05.779: E/AndroidRuntime(4092):     at dalvik.system.NativeStart.main(Native Method)

    My video-trimmer.so and ffmpeg.so are generated in \libs\armeabi .

    Thanks in advance.

  • JavaCV on Android : UnsatisfiedLinkError from libjniavdevice.so / dlopen failed cannot locate symbol "av_input_audio_device_next"

    8 septembre 2014, par liorg

    I am trying to work with JavaCV’s FFmpegFrameGrabber on Android 4.4.2 / 4.3.1 .

    Inside the onCreate(...) method I am calling :

    FFmpegFrameGrabber grabber = new FFmpegFrameGrabber(path)

    This causes the following runtime error :

    dlopen("/data/app-lib/com.example.testjavacv-1/libjniavdevice.so")
    failed: dlopen failed: cannot locate symbol "av_input_audio_device_next"
    referenced by "libjniavdevice.so"

    Other (possible) relevant information :

    1) I have included all the JavaCV .so libraries inside the libs/armeabi and libs/x86 folders.

    2) I have given the application permissions to read/write to external storage and access the camera and microphone.

    3) I am NOT statically loading any of the JavaCV native libraries before instantiating FFmpegFrameGrabber. This is because,

    • Some of the libraries cause runtime exceptions when I attempt to load them statically by myself.
    • I get the impression that JavaCV handles it’s own native library loading - for example the error I get ocurrs even though I have not requested to load the jniavdevice.so library and happens only if the ... new FFmpegFrameGrabber(...) ... code is present.

    4) I have taken a look at : https://groups.google.com/forum/# !topic/javacv/bgB5rCv_fVM which seems to address a similar issue, but the suggested solutions don’t seem to work.

    Any help on this issue would be much appreciated,
    Cheers !