Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (24)

  • 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 (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (2099)

  • Powershell script finishes after the first ffmpeg call

    25 mars 2014, par sk904861

    The following Powershell script only executes the first ffmpeg call, no matter which one is first. Both the ffmpeg and the powershell processes never finish. Stopping the server, however, leads to the processes finishing and suddenly the second picture also appears.

    Param($InputFile, $OutputFile, $Thumbnail, $Sprites)

    $ThumbnailWidth = 120
    $ThumbnailHeight = 120

    # Thumbnail
    ffmpeg -i $InputFile -f image2 -vframes 1 -filter:v "crop=min(iw\,ih):min(iw\,ih), scale=$($ThumbnailWidth):$($ThumbnailHeight)" -crf 18 "$($Thumbnail)\150x150.png"

    # Poster
    ffmpeg -i $InputFile -f image2 -vframes 1 -filter:v "crop=min(iw\,ih):min(iw\,ih), scale=$($PosterWidth):$($PosterHeight)" -crf 18 "$($Thumbnail)\1000x1000.png"

    The script gets called within an ASP.NET application as follows :

    ProcessStartInfo startInfo = new ProcessStartInfo();
    startInfo.FileName = "powershell.exe";
    startInfo.Arguments = String.Format("-executionpolicy RemoteSigned -file \"{0}\" \"{1}\" \"{2}\" \"{3}\" \"{4}\"", scriptPath, fullPath, videoPath, thumbnailPath, sprites);
    startInfo.RedirectStandardOutput = true;
    startInfo.RedirectStandardError = true;
    startInfo.UseShellExecute = false;
    startInfo.CreateNoWindow = true;
    Process process = new Process();
    process.StartInfo = startInfo;

    process.EnableRaisingEvents = true;
    process.Exited += delegate
    {
        // Do some cleaning up
    };

    process.Start();

    Does anyone have a clue, why only the first the two ffmpeg calls is working, while each call seems to be correct ?

    Adding process.StandardError.ReadToEnd(); makes the script finish as expected, but also makes it block, which is not acceptable.

  • FFMPEG script to merge all files in a list and make a 1920x1080p 60fps mp4 video

    28 février 2021, par BitBit

    I have a list of 46 videos in a text file. I tried the concat method to merge all of them, which worked but the quality is very poor and the audio is bugged/missing at parts.

    Can someone please help me with a script to merge all 46 videos and the output to be 1920x1080 60fps mp4 video ?

    


  • Revision a463513843 : Rework y4mwrite test to pass google3 tests Reverts to using tmpfile() for non-W

    11 août 2014, par Deb Mukherjee

    Changed Paths :
     Modify /test/video_source.h


     Modify /test/y4m_test.cc



    Rework y4mwrite test to pass google3 tests

    Reverts to using tmpfile() for non-Windows platforms. On google3
    the test directory does not have write permissions, and hence the
    Y4mWriteTest fails. This patch fixes the issue.
    On Windows, a temporary file is created in the temp directory
    that has write permissions.

    The tests pass on linux, mingw, and MS visual studio.

    Change-Id : Ibada1d80e25d8b8e5b6a9d3d597533674bd9024c