Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (60)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (6820)

  • Xamarin Mac FFmpeg launch path not accessible

    25 mars 2024, par Tecnopresley

    I have a Xamarin Forms project with Mac support and I am trying to implement FFmpeg, so I have downloaded the Static build from its official page and added it as in the resources folder of the Mac project with the build action in Content, then I have created a service that will basically remove the audio from a video that I indicate in a path with a FFmpeg command, to do the service I have based on the following answer and I have adapted it to C # :
https://stackoverflow.com/a/37422688/8496520

    


    The problem is that when I try to execute the command I get the following error :

    


    "NSInvalidArgumentException: launch path not accessible"


    


    And I can't find out why this happens, I use the following code in the service (The error occurs when calling the Launch () method of the NSTask) :

    


    public void ExecuteFFmpeg()
{
    try
    {
        var launchPath = NSBundle.MainBundle.PathForResource("ffmpeg", ofType: "");
        var compressTask = new NSTask();
        compressTask.LaunchPath = launchPath;
        compressTask.Arguments = new string[] {
            "-i",
            "downloads/test.mp4",
            "-c",
            "copy",
            "-an",
            "nosound.mp4" };
        compressTask.StandardInput = NSFileHandle.FromNullDevice();
        compressTask.Launch();
        compressTask.WaitUntilExit();
    }
    catch (Exception ex)
    {

    }


    


  • ffmpeg xfade custom transition expression - Fetch pixel value at specifc x, y from vid1, vid2 ?

    25 janvier 2021, par jsaluja

    I am using xfade with transition=custom, and trying to build expression.
I am referring to official documentation https://ffmpeg.org/ffprobe-all.html#xfade

    


    Per my understanding, expression should return pixel value of merged video

    


    I built a few custom transitions using expressions that return some combination of A, B

    


    For eg.,

    


    "custom:expr='if(gt(P, abs(X/W - 0.5)), A, B)'"
"custom:expr='lerp(A, B, 1 - P)'"


    


    For the next set of transitions, I want to fetch the pixel values from source, target video at specific positions, and combine them in my expressions

    


    I tried using a0(X, Y), b0(X, Y) etc inside of

    


    xfade=transition=custom:expr='r....


    


    I ran into exceptions with ffmpeg complaining it doesn't understand the expression.

    


    Can someone clarify, how i can fetch pixel values as specific position from source, target video and combine them in expression ?

    


  • How to fetch pixel value at specifc x, y from vid1, vid2 in ffmpeg xfade custom transition expression

    25 janvier 2021, par jsaluja

    I am using xfade with transition=custom, and trying to build expression.
I am referring to official documentation https://ffmpeg.org/ffprobe-all.html#xfade

    


    Per my understanding, expression should return pixel value of merged video

    


    I built a few custom transitions using expressions that return some combination of A, B

    


    For eg.,

    


    "custom:expr='if(gt(P, abs(X/W - 0.5)), A, B)'"
"custom:expr='lerp(A, B, 1 - P)'"


    


    For the next set of transitions, I want to fetch the pixel values from source, target video at specific positions, and combine them in my expressions

    


    I tried using a0(X, Y), b0(X, Y) etc inside of

    


    xfade=transition=custom:expr='r....


    


    I ran into exceptions with ffmpeg complaining it doesn't understand the expression.

    


    Can someone clarify, how i can fetch pixel values as specific position from source, target video and combine them in expression ?