Recherche avancée

Médias (91)

Autres articles (70)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

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

Sur d’autres sites (3432)

  • Terminal text becomes invisible after terminating subprocess

    22 mai 2022, par wim

    After terminating an ffmpeg subprocess, the terminal gets messed up - typed characters are invisible ! The input still works in that commands can be executed, but keyboard input is not echoed to the terminal.

    



    Issuing shell command reset puts everything back to normal (or !reset from within ipython), so a workaround the issue is calling os.system('reset') inside the script.

    



    Other things I've tried : import curses; curses.initscr() before spawning the subprocess and curses.endwin() after termination, which worked somewhat but broke other stuff. Another possibly related issue is that after spawning the child process, the interactive terminal becomes laggy and sometimes fails to capture typed characters.

    



    The code to spawn the process looks like :

    



    with open('/tmp/stdout.log', 'w') as o:
    with open('/tmp/stderr.log', 'w') as e:
        proc = subprocess.Popen([args], stdout=o, stderr=e)


    



    And later to stop it :

    



    proc.terminate()
proc.communicate()


    



    What could be going wrong here ?

    


  • Nodejs ffmpeg not outputting to stdout

    11 novembre 2019, par curiousMind

    The Goal : convert a webm/audio stream to a wav stream. The Browser continuously sends the webm/audio stream to backend via websocket where it should be converted to a wav encoded stream for further processing)

    I am spawning the child-process like this :

    const ffmpeg = spawn('ffmpeg', [
       '-i', '-',
       '-ac', 1,
       '-f', 'wav',
       'pipe:1'
    ]);

    The input is from a stream, thats why I use -i, - for letting ffmpeg know it recieves a stream via stdin

    someStream.pipe(ffmpeg.stdin)

    But if I listen on the output from ffmpeg I dont receive anything :

    ffmpeg.stdout.on('data', (chunk) => {
       console.log(chunk.toString());
    });

    This exact code works if someStream comes from readFileSync on a wav file (in that case ffmpeg doesnt really convert anything since the input and output stream are both wav).

    In the case this doesn’t work the stream comes from the browsers microphone input and is a webm/audio Stream.

    I assume some of that data from the stream is corrupt so ffmpeg doesn’t know what to do with it but I also don’t get any errors.

    Might someone know why this behaves like that or how to debug this ?

    EDIT : I just saw that the error is send to stderr, so there I receive :

    stdout pipe:: Invalid data found when processing input

    That means the input stream is corrupt as I assumed. I’ll keep digging but leave this question open in case others run into the same problem

  • Issue in installing ffmpeg on macOS 10.11

    20 août 2019, par Ravi barale

    I am installing ffmpeg on macOS 10.11. using following command,

    brew install ffmpeg

    but always getting following error.

    Error: An exception occurred within a child process:
     ChecksumMismatchError: SHA256 mismatch
    Expected: 3b1634fa348c0f0064e43f3fb673e30a5e46f2b51cd6cd0d4a0cbf326e71c90e
     Actual: 34480b13120e2167060795060b6738c26622c341498cf6303b17b143642b14cd
    Archive: /Users/RackMini5/Library/Caches/Homebrew/downloads/0c113ab0098bc4c3f2e8f410741b6104f2928fe63eb38cf98f8dcc3362f02ac4--ef80617d1e17e0878a909baad62a75ba265c0e00.patch
    To retry an incomplete download, remove the file above.

    What I am missing or what is cause of this issue. Any one know the solution for this issue.