Recherche avancée

Médias (91)

Autres articles (63)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (10839)

  • Use a MediaStreamSource as the Source for a WPF MediaElement

    30 décembre 2016, par domlennon

    I am trying to use the FFmpegInterop library in my WPF application. The problem I am having is that I cant find a way to use a MediaStreamSource as the source for a MediaElement. Any ideas would be greatly appreciated.

    Thanks,

    Dom

  • Merge commit ’a246af86e47044dec243db2f708cc125d608ea78’

    9 janvier 2014, par Michael Niedermayer
    Merge commit ’a246af86e47044dec243db2f708cc125d608ea78’
    

    * commit ’a246af86e47044dec243db2f708cc125d608ea78’ :
    FATE : add MSS2 tests

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] tests/fate/microsoft.mak
    • [DH] tests/ref/fate/mss2-pal
    • [DH] tests/ref/fate/mss2-pals
    • [DH] tests/ref/fate/mss2-rgb555
    • [DH] tests/ref/fate/mss2-rgb555s
    • [DH] tests/ref/fate/mss2-wmv
  • Kernel32 not found when using FFmpeg.Autogen 4.1.0.2 in Mono/Linux

    5 décembre 2024, par Robert Russell

    I'm submitting a bug report while I was posting this I didn't know I could see into FFmpeg.Autogen from the stacktrace. Anyways I posted a Bug Report on Github

    &#xA;&#xA;

    https://github.com/Ruslan-B/FFmpeg.AutoGen/issues/109

    &#xA;&#xA;

    I'm trying to run my code in Linux that uses FFmpeg.Autogen to interface with the ffmpeg libraries. I am getting kernel32 dll not found can not figure out why. He says to not post issues to github for troubleshooting.&#xA;Possible related issue : https://github.com/Ruslan-B/FFmpeg.AutoGen/issues/89

    &#xA;&#xA;

    First thing I've tried were to include the binary helper class from the example code I tweaked it a little bit. Added the exact path to the linux files.&#xA;Second thing I did was add FFmpeg.AutoGen.dll.config if configured right and it tries to ref a windows DLL it should point to the linux one.&#xA;Stacktrace :

    &#xA;&#xA;

    System.DllNotFoundException: kernel32&#xA;  at at (wrapper managed-to-native) FFmpeg.AutoGen.Native.WindowsNativeMethods.GetProcAddress(intptr,string)&#xA;  at FFmpeg.AutoGen.Native.FunctionLoader.GetFunctionPointer (System.IntPtr nativeLibraryHandle, System.String functionName) [0x00000] in D:\FFmpeg.AutoGen\FFmpeg.AutoGen\Native\FunctionLoader.cs:55&#xA;  at FFmpeg.AutoGen.Native.FunctionLoader.GetFunctionDelegate[T] (System.IntPtr nativeLibraryHandle, System.String functionName, System.Boolean throwOnError) [0x00000] in D:\FFmpeg.AutoGen\FFmpeg.AutoGen\Native\FunctionLoader.cs:28&#xA;  at FFmpeg.AutoGen.ffmpeg.GetFunctionDelegate[T] (System.IntPtr libraryHandle, System.String functionName) [0x00000] in D:\FFmpeg.AutoGen\FFmpeg.AutoGen\FFmpeg.cs:50&#xA;  at FFmpeg.AutoGen.ffmpeg&#x2B;&lt;>c.&lt;.cctor>b__4_318 () [0x00000] in D:\FFmpeg.AutoGen\FFmpeg.AutoGen\FFmpeg.functions.export.g.cs:7163&#xA;  at FFmpeg.AutoGen.ffmpeg.avformat_alloc_context () [0x00000] in D:\FFmpeg.AutoGen\FFmpeg.AutoGen\FFmpeg.functions.export.g.cs:7176&#xA;  at FF8.FfccVaribleGroup..ctor () [0x0009c] in /home/robert/OpenVIII/FF8/FfccVaribleGroup.cs:53&#xA;  at FF8.Ffcc..ctor (System.String filename, FFmpeg.AutoGen.AVMediaType mediatype, FF8.Ffcc&#x2B;FfccMode mode) [0x00008] in /home/robert/OpenVIII/FF8/Ffcc.cs:31&#xA;  at FF8.Module_movie_test.InitMovie () [0x00001] in /home/robert/OpenVIII/FF8/module_movie_test.cs:160&#xA;  at FF8.Module_movie_test.Update () [0x000c5] in /home/robert/OpenVIII/FF8/module_movie_test.cs:88&#xA;  at FF8.ModuleHandler.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x000ac] in /home/robert/OpenVIII/FF8/ModuleHandler.cs:43&#xA;  at FF8.Game1.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00030] in /home/robert/OpenVIII/FF8/Game1.cs:69&#xA;  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00019] in &lt;4fc8466c27384bb19c7b81b2a6a71083>:0&#xA;  at Microsoft.Xna.Framework.Game.Tick () [0x00103] in &lt;4fc8466c27384bb19c7b81b2a6a71083>:0&#xA;  at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () [0x00021] in &lt;4fc8466c27384bb19c7b81b2a6a71083>:0&#xA;  at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x0008b] in &lt;4fc8466c27384bb19c7b81b2a6a71083>:0&#xA;  at Microsoft.Xna.Framework.Game.Run () [0x0000c] in &lt;4fc8466c27384bb19c7b81b2a6a71083>:0&#xA;  at FF8.Program.Main () [0x00007] in /home/robert/OpenVIII/FF8/Program.cs:17&#xA;

    &#xA;&#xA;

    My code that triggers this :

    &#xA;&#xA;

    Format = ffmpeg.avformat_alloc_context();&#xA;

    &#xA;&#xA;

    Binaryhelper should set the path correctly for the file

    &#xA;&#xA;

    internal static void RegisterFFmpegBinaries()&#xA;        {&#xA;            var libraryPath = "";&#xA;            switch (Environment.OSVersion.Platform)&#xA;            {&#xA;                case PlatformID.Win32NT:&#xA;                case PlatformID.Win32S:&#xA;                case PlatformID.Win32Windows:&#xA;                    var current = Environment.CurrentDirectory;&#xA;                    var probe = Path.Combine(Environment.Is64BitProcess ? "x64" : "x86");&#xA;                    while (current != null)&#xA;                    {&#xA;                        var ffmpegDirectory = Path.Combine(current, probe);&#xA;                        if (Directory.Exists(ffmpegDirectory))&#xA;                        {&#xA;                            Console.WriteLine($"FFmpeg binaries found in: {ffmpegDirectory}");&#xA;                            RegisterLibrariesSearchPath(ffmpegDirectory);&#xA;                            return;&#xA;                        }&#xA;                        current = Directory.GetParent(current)?.FullName;&#xA;                    }&#xA;                    break;&#xA;                case PlatformID.Unix:&#xA;                    libraryPath = "/usr/lib/x86_64-linux-gnu";&#xA;                    RegisterLibrariesSearchPath(libraryPath);&#xA;                    break;&#xA;                case PlatformID.MacOSX:&#xA;                    libraryPath = Environment.GetEnvironmentVariable(LD_LIBRARY_PATH);&#xA;                    RegisterLibrariesSearchPath(libraryPath);&#xA;                    break;&#xA;            }&#xA;        }&#xA;

    &#xA;&#xA;

    The FFmpeg.Autogen.dll.config

    &#xA;&#xA;

    <configuration>&#xA;  <dllmap os="linux" dll="avutil-56.dll" target="/usr/lib/x86_64-linux-gnu/libavutil.so.56"></dllmap>&#xA;  <dllmap os="linux" dll="avcodec-58.dll" target="/usr/lib/x86_64-linux-gnu/libavcodec.so.58"></dllmap>&#xA;  <dllmap os="linux" dll="avformat-58.dll" target="/usr/lib/x86_64-linux-gnu/libavformat.so.58"></dllmap>&#xA;  <dllmap os="linux" dll="avdevice-58.dll" target="/usr/lib/x86_64-linux-gnu/libavdevice.so.58"></dllmap>&#xA;  <dllmap os="linux" dll="avfilter-7.dll" target="/usr/lib/x86_64-linux-gnu/libavfilter.so.7"></dllmap>&#xA;  <dllmap os="linux" dll="avresample-4.dll" target="/usr/lib/x86_64-linux-gnu/libavresample.so.4"></dllmap>&#xA;  <dllmap os="linux" dll="swscale-5.dll" target="/usr/lib/x86_64-linux-gnu/libswscale.so.5"></dllmap>&#xA;  <dllmap os="linux" dll="swresample-3.dll" target="/usr/lib/x86_64-linux-gnu/libswresample.so.3"></dllmap>&#xA;  <dllmap os="linux" dll="postproc-55.dll" target="/usr/lib/x86_64-linux-gnu/libpostproc.so.55"></dllmap>&#xA;</configuration>&#xA;

    &#xA;