
Recherche avancée
Autres articles (25)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
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. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (5929)
-
How would I dynamically link FFmpeg in a C# Project for use with FFMpegCore ?
15 octobre 2024, par liamliamSo far, I have FFMpegCore working in my project with a
ffmpeg.exe
dropped into the project directory. This works, but for LGPL license compliance FFmpeg requires dynamic linking :

Use dynamic linking (on windows, this means linking to dlls) for linking with FFmpeg libraries..

While I understand the basic concept of dynamic vs static linking, my problem is likely a misunderstanding of how
.dll
s work and how they apply to C# and .NET.

Would it be possible to compile ffmpeg into a single.dll
that could be accessed by FFMpegCore cross-platform ? From what I can gather in the source, FFMpegCore looks for anffmpeg
orffmpeg.exe
file in its configuration path.

Is it possible to have .NET dynamically link FFmpeg and expose it to libraries for use or is that a complete misunderstanding and would I then need a wrapper library with different capabilities ?


I've attempted to find the answer in the relevant documentation, but I found none for this specific use of either library. I suspect my problem might be a fundamental misunderstanding of how these tools work and work together.
My ideal result would be using FFMpegCore with an
FFmpeg.dll
that works cross-platform instead of the.exe
.

Edit 1 : @taratect's answer and graphic sent me down a path that cleared up quite a bit about
exe
s anddll
s. .Net compiles source code down to platform agnostic Intermediate Language in the form of a.dll
or.exe
(completely different to C++ variants of these files), which is executed by the Common Language Runtime using a Just In Time compiler to convert that Intermediate Language to Machine Code that can be run on the specific platform .Net is installed on. C++(FFmpeg) compiles directly to platform specific Machine Code (as shown in the graphic), confusingly in the form of a.dll
or.exe
(on Windows). .Net can indeed load and run machine code unmanaged by Common Language Runtime, since everything is run as Machine Code by the end, however memory and other complexities must then be managed by me, which seems to be what FFMpegCore does in wrapping the executable. I might still be confused/incorrect on some of this, unmanaged code is beyond my understanding so far.
This does more or less confirm that FFMpegCore probably can't be expected to use FFmpeg in the way I hoped and a better workaround might be having the user just supply an FFmpeg source or implement a downloader as part of installation so that I don't have to redistribute it at all.

-
hwcontext_vaapi : Do not assume that sw_format is transferable
24 novembre 2017, par Mark Thompson -
Compressed SWF format not supported/cws2fws issue
16 septembre 2011, par CodedMonkeyI am trying to convert .swf to a .flv file using ffmpeg. When I got that error, I searched around and found that I should use cws2fws to somehow decompress the .swf file so that it can be converted by ffmpeg. However, apparently I need to compile the cws2fws.c myself, but it requires so many other libs and files and none of them are located on any 1 site. Is there a precompiled version of cws2fws available somewhere for download, or can I solved my initial error some other way ?