Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (79)

  • 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 (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (10822)

  • Running FFMPEGJS in a React Project

    23 mars 2020, par beek

    I’m trying to get https://github.com/ffmpegjs/ffmpeg.js/ running in a Create React App build project.

    import {createWorker} from '@ffmpeg/ffmpeg';

    When I import the library the build fails with

    ./node_modules/@ffmpeg/ffmpeg/src/createWorker.js
    Module parse failed: Unexpected token (21:4)
    You may need an appropriate loader to handle this file type.
    |     logger,
    |     progress,
    |     ...options
    |   } = resolvePaths({
    |     ...defaultOptions,

    I’m not sure how to handle this, or where the problem might be. Is this a Webpack issue ?

  • Keep getting WIN32Exception when running FFMPEG in ASP.NET project

    23 octobre 2014, par Lance Bloom

    I have an ASP.NET project and I want to use FFMPEG to help create thumbails for my videos. I’ve loaded FFMPEG into the project, and whenever I run my code I get the same error :

    ’ffmpeg.MainModule’ threw an exception of type ’System.ComponentModel.Win32Exception’
    "A 32 bit processes cannot access modules of a 64 bit process."

    I’m using VS 2013, and I’ve set my target platform to x86, and made 100% sure I am using the 32bit version of ffmpeg. I’m using the static libraries from this site (http://ffmpeg.zeranoe.com/builds/) I also tried to change the target platform to All CPUs or x64, and tried with both 32 and 64 bit versions of FFMPEG. Always the same error. I am running IIS Express when I test in my local environment.

    Here is my code. Would appreciate any help !

    String vSource = "http://example.com/myvideo.mp4";
    String path1 = HttpContext.Current.Request.PhysicalApplicationPath;

    Process ffmpeg = new Process();
    ProcessStartInfo startinfo = new ProcessStartInfo(HostingEnvironment.MapPath("~/App_Data/exe/ffmpeg.exe"), "-i " + vSource + "-ss 00:00:05.000 -f image2 -vframes 1 " + path1 +"thumbnail1.jpg");

    startinfo.RedirectStandardError = true;
    startinfo.RedirectStandardOutput = true;
    startinfo.RedirectStandardInput = true;
    startinfo.UseShellExecute = false;
    startinfo.CreateNoWindow = true;
    ffmpeg.StartInfo = startinfo;

    ffmpeg.Start();
  • 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) <----- ***** 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 ?