
Recherche avancée
Autres articles (93)
-
Amélioration de la version de base
13 septembre 2013Jolie 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 (...) -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (10765)
-
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 :


- 

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


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


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










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


-
lavc/vvc : Ensure subpictures don't overlap
22 février, par Frank Plowmanlavc/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>
-
swscale/lut3d : add 3DLUT dispatch system
29 novembre 2024, par Niklas Haasswscale/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.