Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (64)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

Sur d’autres sites (5252)

  • how to write a batch script to run two different commands through multiple subdirectories ?

    26 janvier 2021, par alsoftie000

    i'm attempting to put together a script that can run through multiple subdirectories and run commands on the files within them. the directory structure looks something like this :

    


    \working directory
    \subdirectory 1
        \subsubdirectory 1
            \left.wav
            \right.wav
            \middle.wav
        \subsubdirectory 2
            \left.wav
            \right.wav
            \middle.wav
            \backing.wav
            \guitar.wav
        \subsubdirectory 3
            \left.wav
            \right.wav
            \middle.wav
    \subdirectory 2
        \subsubdirectory 1
            \left.wav
            \right.wav
            \middle.wav
            \backing.wav
            \guitar.wav
        \subsubdirectory 2
            \left.wav
            \right.wav
            \middle.wav
        \subsubdirectory 3
            \left.wav
            \right.wav
            \middle.wav
            \backing.wav
            \guitar.wav


    


    for my script, i want it so that for directories that only have 3 files in them, it'll run this command :
ffmpeg -vn -i left.wav -i middle.wav -i right.wav -filter_complex "[0]adelay=0|0,volume=3[a];[1]adelay=0|0,volume=3[b];[2]adelay=0|0,volume=3[c];[a][b][c]amix=inputs=3:dropout_transition=0" output.flac

    


    and then for the directories with 5 files, it'll run ffmpeg -vn -i left.wav -i middle.wav -i right.wav -i guitar.wav -i backing.wav -filter_complex "[0]adelay=0|0,volume=5[a];[1]adelay=0|0,volume=5[b];[2]adelay=0|0,volume=5[c];[3]adelay=0|0,volume=5[d];[4]adelay=0|0,volume=5[e];[a][b][c][d][e]amix=inputs=5:dropout_transition=0" output.flac

    


    is there an easy way to do this (assuming what i'm trying to do is even possible ?

    


  • Error while concating mkv files using ffmpeg in cygwin based shell script

    21 mars 2016, par rishi007bansod

    I have written cygwin based shell script to concate 2 .mkv files as below,

    #!/bin/sh
    ffmpeg -f concat -i concat.txt -codec copy out.mkv

    concat.txt contains path to 2 mkv files to be concatenated

    file '../temp/1'
    file '../temp/2'

    when I run script from cygwin terminal I get following error

    Rishi@Rishikesh /cygdrive/i/video/Interface_code/Testing_function/bin
    $ . script.sh
    ffmpeg version 2.5.2 Copyright (c) 2000-2014 the FFmpeg developers
    built on Dec 30 2014 17:13:24 with gcc 4.9.2 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-    avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --  enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
    libavutil      54. 15.100 / 54. 15.100
    libavcodec     56. 13.100 / 56. 13.100
    libavformat    56. 15.102 / 56. 15.102
    libavdevice    56.  3.100 / 56.  3.100
    libavfilter     5.  2.103 /  5.  2.103
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  1.100 /  1.  1.100
    libpostproc    53.  3.100 / 53.  3.100
    Guessed Channel Layout for  Input Stream #0.1 : stereo
    Input #0, concat, from 'concat.txt':
    Duration: N/A, start: 0.000000, bitrate: 1536 kb/s
    Stream #0:0: Video: h264 (High), yuv420p, 720x576 [SAR 1:1 DAR 5:4], 25 fps,     25 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    'NULL @ 04780280] Unable to find a suitable output format for 'out.mkv
    : Invalid argument

    another thing to add, if I run this command from cygwin terminal directly(instead of calling it through script) it runs correctly and creates concatenated output .mkv file

  • makedef : Extend the script for use with mingw tools as well

    24 août 2017, par Martin Storsjö
    makedef : Extend the script for use with mingw tools as well
    

    This is invoked by setting the NM and AR variables to the names of
    those specific tools. The ARCH variable also needs to be provided,
    to choose the symbol prefix (nm doesn’t provide any option that
    dumps the architecture easily).

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] compat/windows/makedef