Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (2)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)

    31 mai 2013, par

    Lorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
    Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
    Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
    Description des scripts
    Trois scripts Munin ont été développés :
    1. mediaspip_medias
    Un script de (...)

Sur d’autres sites (1560)

  • Merge remote-tracking branch ’qatar/master’

    25 février 2014, par Michael Niedermayer
    Merge remote-tracking branch ’qatar/master’
    

    * qatar/master :
    texi2pod : always declare the pod file as UTF-8 encoded

    Conflicts :
    doc/texi2pod.pl

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

    • [DH] doc/texi2pod.pl
  • Merge remote-tracking branch ’qatar/master’

    17 septembre 2013, par Michael Niedermayer
    Merge remote-tracking branch ’qatar/master’
    

    * qatar/master :
    doc : Add missing hashes and dates to APIChanges

    Conflicts :
    doc/APIchanges

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

    • [DH] doc/APIchanges
  • When I run `ffmpeg` in the background, how do I prevent `suspended (tty output)` ?

    4 novembre 2017, par Jim DeLaHunt

    I have a sh script which calls ffmpeg on several files. When I try to run this script in the background, redirecting output to a file, the job starts but then immediately suspends :

    % bin/mp3convert.sh path/a/b &amp;> ~/tmp/log.txt &amp;
    [1] 93352
    %
    [1]  + suspended (tty output)  bin/mp3convert.sh path/a/b &amp;>

    If I try making the script continue in the background, it immediately suspends again :

    % jobs
    [1]  + suspended (tty output)  bin/mp3convert.sh path/a/b &amp;>
    % bg %1
    [1]  + continued  bin/mp3convert.sh path/a/b &amp;>
    % jobs
    [1]  + suspended (tty output)  bin/mp3convert.sh path/a/b &amp;>
    %

    I can make the script continue, by making it the foreground, but then my terminal is occupied until the script finishes. That means I don’t get the benefit of running the script in the background.

    %
    [1]  + suspended (tty output)  bin/mp3convert.sh path/a/b &amp;>
    % fg %1
    [1]  + continued  bin/mp3convert.sh path/a/b &amp;>
    % # much time passes with no activity on terminal, then script finishes
    %

    How can I make the script run cleanly in the background ?

    A simplified version of my script is :

    #!/bin/sh
    # mp3convert.sh
    for f in "$1"/*.flac; do
       ffmpeg -i "$f" -c:v copy path/to/dest/"$(basename -s .flac "$f")".mp3
    done

    I am running on Mac OS X 10.11.6, with ffmpeg version 3.4 supplied by MacPorts.

    An apparently related question is why do I get “Suspended (tty output)” in one terminal but not in others ?. The answer there is to set the terminal state with stty -tostop. That didn’t help me ; I already had that state set.