Recherche avancée

Médias (91)

Autres articles (76)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (10989)

  • Revert "Revert "lavfi/buffersrc : push the frame deeper if requested.""

    16 juillet 2017, par Nicolas George
    Revert "Revert "lavfi/buffersrc : push the frame deeper if requested.""
    

    This reverts commit 04aa09c4bcf2d5a634a35da3a3ae3fc1abe30ef8
    and reintroduces 0ff5567a30be6d7c804e95997ae282d6bacd76c3 that
    was temporarily reverted due to minor regressions.

    It also reverts e5bce8b4ce7b1f3a83998febdfa86a3771df96ce that fixed FATE refs.
    The fate-ffm change is caused by field_order now being set
    on the output format because the first frame arrives earlier.
    The fate-mxf change is assumed to be the same.

    • [DH] libavfilter/buffersrc.c
    • [DH] tests/ref/lavf/ffm
    • [DH] tests/ref/lavf/mxf
  • How to mimic Audacity's "truncate silence" with ffmpeg "silenceremove" filter

    16 juin 2024, par Cara Duf

    I want to remove completely silence parts from wav files with ffmpeg.

    


    Input wav can be like :
enter image description here

    


    I am using the following ffmpeg command to remove silence part ffmpeg -i input.wav -af silenceremove=stop_periods=-1:stop_duration=0.2:stop_threshold=-45dB output.wav because I understand from the doc that it will remove all silence parts longer than 0.2 s (silence being below -45dB).

    


    But I get that enter image description here where silence part has only been reduced to around 0.1 wheras I want it to be 0 (no remaining silence).

    


    In Audacity I will use "truncate audio" filter and choose the above parameters to detect silence and in the action part I will choose to truncate to 0 : enter image description here.

    


    This will yield to what I want (ie an audio with no silence part remaining) :
enter image description here

    


    Searching on the internet only lead me to what I already do.

    


    So how can I reproduce the output I get from Audacity "Truncate Silence" filter with ffmpeg and remove all silence parts from audio ?

    


    Edit : The output from silencedetect filter is correct : ffmpeg -i input.wav -af silencedetect=0.2:n=-45dB -f null - detects exactly what audacity detects.

    


    Thanks in advance for your help

    


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