Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (31)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (5834)

  • 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

    


  • lavc/vvc : Ensure subpictures don't overlap

    22 février, par Frank Plowman
    lavc/vvc : Ensure subpictures don't overlap
    

    This is essentially a re-implementation of
    https://patchwork.ffmpeg.org/project/ffmpeg/patch/20241005223955.54158-1-post@frankplowman.com/

    That patch was not applied last time. Instead we opted to identify
    issues which could be caused by invalid subpicture layouts and remedy
    those issues where they manifest, either through error detection or code
    hardening. This was primarily implemented in the set
    https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=13381.

    This has worked to some degree, however issues with subpicture layouts
    continue to crop up from the fuzzer and I've fixed a number of bugs
    related to subpicture layouts since then. I think it's best to return
    to the initial plan and simply check if the subpicture layout is valid
    initially.

    This implementation is also lighter than the first time — by doing a
    bit more logic in pps_subpic_less_than_one_tile_slice, we are able to
    store a tile_in_subpic map rather than a ctu_in_subpic map. This
    reduces the size of the map to the point it becomes possible to allocate
    it on the stack. Similar to 8bd66a8c9587af61c7b46558be3c4ee317c1af5a,
    the layout is also validated in the slice map construction code, rather
    than in the CBS, which avoids duplicating some logic.

    Signed-off-by : Frank Plowman <post@frankplowman.com>

    • [DH] libavcodec/vvc/ps.c
  • swscale/lut3d : add 3DLUT dispatch system

    29 novembre 2024, par Niklas Haas
    swscale/lut3d : add 3DLUT dispatch system
    

    This is a lightweight wrapper around the underlying color management system,
    whose job it is merely to manage the 3DLUT state and apply them to the frame
    data. This is where we might add platform-specific optimizations in the future.

    I also plan on adding support for more pixel formats in the future. In
    particular, we could support YUV or XYZ input formats directly using only
    negligible additional code in the 3DLUT setup functions. This would eliminate
    the major source of slowdown, which is currently the roundtrip to RGBA64.

    • [DH] libswscale/Makefile
    • [DH] libswscale/lut3d.c
    • [DH] libswscale/lut3d.h