Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (92)

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

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (8626)

  • FFmpeg-kit : Unknown encoder 'libx264' / 'mediacodec' and Gradle dependency issues in Android Studio

    15 mai, par Izzet dönertaş

    I'm working on a video editor app in Android Studio using ffmpeg-kit. My goal is to export video segments with fade transitions and audio using FFmpeg.

    


    This implementation line works fine :

    


    implementation("com.arthenica:ffmpeg-kit-full:6.0-2")


    


    What doesn't work (Encoding) :
When I try to export a video segment using :

    


    -c:v libx264 -c:a aac


    


    I get this error in the logs :

    


    [vost#0:0 @ ...] Unknown encoder 'libx264'


    


    After checking the build configuration, it turns out libx264 is not enabled in the current FFmpeg-kit build :

    


    --disable-libx264 (or rather: --enable-libx264 is missing)


    


    Tried replacing libx264 with mediacodec :
Then I tried using :

    


    -c:v mediacodec -c:a aac


    


    But again I got :

    


    Unknown encoder 'mediacodec'


    


    Apparently, mediacodec is supported for decoding, but not as an encoder in FFmpeg-kit.

    


    Tried to compile my own FFmpeg binary :
I attempted building FFmpeg manually using the following flags :

    


    --enable-libx264 --enable-gpl --enable-shared ...


    


    My plan was to access it via JNI or ProcessBuilder.

    


    But the process is extremely frustrating :

    


      

    • Missing file errors
    • 


    • Configuration conflicts
    • 


    • Dependency hell (especially on macOS/Linux NDK toolchains)
    • 


    


    Tried other ffmpeg-kit variants :
I also tried switching to :

    


    implementation 'com.arthenica:ffmpeg-kit-full-gpl:6.0'


    


    and other variants like ffmpeg-kit-min-gpl, etc.
But in all of them I got the same Gradle error :

    


    Caused by: org.gradle.api.internal.artifacts.ivyservice.TypedResolveException:  Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

    


    My build.gradle setup (yes, mavenCentral + google are already included) :

    


    pluginManagement {
    repositories {
        google()
        mavenCentral()
    }
}

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}



    


    I also tried enabling offline mode, clearing cache, adding jetpack.io, nothing helped.

    


    I asked ChatGPT-4o, Gemini 2.5 Pro. None could provide a working solution for this combination of :

    


      

    • Working implementation
    • 


    • Proper video encoding (with libx264 or mediacodec)
    • 


    • Without breaking Gradle dependency resolution
    • 


    


    I just want one of the following :

    


      

    1. A working FFmpeg-kit implementation (that supports libx264) and doesn’t crash Gradle

      


    2. 


    3. A reliable guide or build.gradle snippet that lets me use GPL version (with libx264) without resolve errors

      


    4. 


    5. (Ideally) A prebuilt safe LGPL-compatible alternative that allows encoding and is Google Play compliant

      


    6. 


    


    Any help or suggestions would be highly appreciated.
Thanks in advance

    


  • Revision 31020 : max = 255, ça bloquait la création de la table sur certaine base

    20 août 2009, par vincent@… — Log

    max = 255, ça bloquait la création de la table sur certaine base

  • Revision 33402 : Amélioration du pipeline post édition

    29 novembre 2009, par kent1@… — Log

    Amélioration du pipeline post édition