
Recherche avancée
Autres articles (90)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang 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. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9782)
-
avformat : introduce AVFormatContext io_close2 which returns an int
30 novembre 2021, par Marton Balintavformat : introduce AVFormatContext io_close2 which returns an int
Otherwise there is no way to detect an error returned by avio_close() because
ff_format_io_close cannot get the return value.Checking the return value of the close function is important in order to check
if all data was successfully written and the underlying close() operation was
successful.It can also be useful even for read mode because it can return any pending
AVIOContext error, so the user don't have to manually check AVIOContext->error.In order to still support if the user overrides io_close, the generic code only
uses io_close2 if io_close is either NULL or the default io_close callback.Signed-off-by : Marton Balint <cus@passwd.hu>
-
Swift framework project with internal C module - Undefined symbols for architecture arm64
29 mars 2020, par Phạm Phi PhúcI’m creating Swift framework project using FFmpeg module internally.
Steps are :
- Download source of FFmpeg from official website.
- Build it by build script here : https://github.com/kewlbear/FFmpeg-iOS-build-script
- Copy built file to project
- Create file module.modulemap, it’s content is :
module FFmpeg [system][extern_c] {
header "include/libavcodec/avcodec.h"
header "include/libavdevice/avdevice.h"
header "include/libavfilter/avfilter.h"
header "include/libavformat/avformat.h"
header "include/libavutil/avutil.h"
header "include/libswresample/swresample.h"
header "include/libswscale/swscale.h"
export *
}Project tree is :
- Set Import paths for both project settings and target settings to
$(SRCROOT)/MediaToolkit/Libraries/FFmpeg/**
- My source code is :
import Foundation
import FFmpeg
public class MediaToolkit {
public init(){}
public func hello() {
print("AVFMT_NOFILE: \(AVFMT_NOFILE)")
avformat_network_init()
}
}When I build it, I received error
Undefined symbols for architecture arm64:
"_avformat_network_init", referenced from:
MediaToolkit.MediaToolkit.hello(Swift.String) -> () in MediaToolkit.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)If I remove line
avformat_network_init()
, it will printAVFMT_NOFILE: 1
-
Using ffmpeg static libraries in an visual studio explress C++ 2010 project
29 octobre 2015, par Yvo GötzAs the title says, I have been trying to get ffmpeg/libav libraries to work in MSVC++ 2010.
However, I keep running in the following error while coding on debug mode.code :
extern "C"
{
#ifndef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS
#endif
#include
#include
#include
#include
}
int main( int argc, char* argv[] )
{
av_register_all();
return 0;
}console :
1>------ Build started: Project: ffmpeg, Configuration: Debug Win32 ------
1>ffmpeg.obj : error LNK2019: unresolved external symbol _av_register_all referenced in function _main
1>C:\Users\okki\documents\visual studio 2010\Projects\ffmpeg\Debug\ffmpeg.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========I used zeranoe’s latest build git-56ba331 (2013-05-14).
And I have tried the following to fix this :
- configuring the project to look for both the x64 and x86 libraries.
- Add the DLLs from the ’shared’ package to both library folders.
- Add the library directory to both the linker options and VC++ Directories.
I have been stuck on this for a while, and any suggestion can help.
If any extra info is needed I will happily provide.