Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (111)

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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La 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.

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (9548)

  • lavc/libaribcaption : add MSZ character related options

    17 octobre 2023, par TADANO Tokumei
    lavc/libaribcaption : add MSZ character related options
    

    This patch adds two MSZ (Middle Size ; half width) character
    related options, mapping against newly added upstream
    functionality :

    * `replace_msz_japanese`, which was introduced in version 1.0.1
    of libaribcaption.
    * `replace_msz_glyph`, which was introduced in version 1.1.0
    of libaribcaption.

    The latter option improves bitmap type rendering if specified
    fonts contain half-width glyphs (e.g., BIZ UDGothic), even
    if both ASCII and Japanese MSZ replacement options are set
    to false.

    As these options require newer versions of libaribcaption, the
    configure requirement has been bumped accordingly.

    Signed-off-by : TADANO Tokumei <aimingoff@pc.nifty.jp>

    • [DH] configure
    • [DH] doc/decoders.texi
    • [DH] libavcodec/libaribcaption.c
    • [DH] libavcodec/version.h
  • Killing all child processes

    12 juin 2016, par ErraticFox

    I have written a onclick function that runs child process for a command line for ffmpeg. Though I can’t seem to force close or kill the process in the middle of it. I’ve tried multiple ways such as child.kill() along with SIGINT, SIGKILL, SIGHUP, SIGQUIT, and SIGTERM and it continuously runs in the background still until finished or killed in the task manager. So how can I kill all the process related to the exec ?

    Here’s my current code :

    function submitBtn() {
       var selectVal1 = $("#inputFile1 option:selected").val(),
           selectVal2 = $("#inputFile2 option:selected").val(),
           selectOpt2 = $("#inputFile2 option:selected").text().toLowerCase()

       if (!selectVal1 || !selectVal2) {
           Materialize.toast('Please select your formats', 4000)
       } else if ($("#uploadFile").val() === '') {
           Materialize.toast('Please select your file', 4000)
       } else {
           var process = require("child_process")
           var inputDir = uploadFile.files[0].path
           var dir = inputDir.split("\\")
           var pop = dir.pop()
           var outputDir = dir.join("\\")
           var cmd = `ffmpeg -y -i "${inputDir}" "${outputDir}\\output.${selectOpt2}"`

           $("#load").removeClass("disabledLoad")
           func = process.exec(cmd, function(error, stdout, stderr) {})

           func.on('exit', function() {
               $("document").ready(function() {
                   $("#load").addClass("disabledLoad")
                   Materialize.toast('Conversion compelete!', 4000)
               })
           })

       }
    }

    function exitBtn() {
       //var remote = require('electron').remote
       //var window = remote.getCurrentWindow()
       //window.close()
       func.kill()
    }

    I even tried renaming process to proc and then doing

       process.on('exit', function () {
       console.log('process is about to exit, kill ffmpeg');
       func.kill()
    })

    in exitBtn but still nothing. It doesn’t give errors or log my string I put.

  • FFMPEG xstack not recognizing inputs

    12 août 2020, par Josh

    I'm trying to arrange three input videos into a single output video using ffmpeg's xstack. I currently have the operations working with a vstack followed by an hstack, but would like to combine them into an xstack for performance.

    &#xA;

    I've tried copying the syntax from multiple locations such as :

    &#xA;

    https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos%20using%20xstack

    &#xA;

    Vertically or horizontally stack (mosaic) several videos using ffmpeg ?

    &#xA;

    My command is as follows :

    &#xA;

    &#xA;

    C :\ffmpeg\bin\ffmpeg.exe -i states_full.mp4 -i title.mp4 -i graphs.mp4" -filter_complex "[0:v] setpts=PTS-STARTPTS, scale=qvga [a0] ; [1:v] setpts=PTS-STARTPTS, scale=qvga [a1] ; [2:v] setpts=PTS-STARTPTS, scale=qvga [a2] ; [a0][a1][a2]xstack=inputs=3:layout=0_0|w0_0|w0_h0[out] " -map "[out]" -c:v libx264 -t '30' -f matroska output.mp4

    &#xA;

    &#xA;

    The command always errors out at the same spot, with the same error message :

    &#xA;

    &#xA;

    'w0_0' is not recognized as an internal or external command,&#xA;operable program or batch file.

    &#xA;

    &#xA;

    Some odd behavior is that even when I change the layout section to :

    &#xA;

    layout=w0_0|0_0|w0_h0&#xA;

    &#xA;

    The error message is still on the middle '0_0' meaning it may be an error in formatting.

    &#xA;

    This issue is very strange, as the vstack and hstack still work, only the xstack fails.

    &#xA;