Recherche avancée

Médias (91)

Autres articles (100)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

Sur d’autres sites (8349)

  • Why can I run this command from the terminal but I get an error when my python runs it from the terminal for me ?

    9 mai 2019, par mu234

    I’m trying to write a python script that basically captures webcam videos from the terminal. When I put the command in a string and use subprocess.call(script, True), I get an error, but when I literally copy/paste the same command to the terminal it works fine.

    This is my python :

    import subprocess
    import os
    if (os.path.isdir("Videos/Webcam/temp") is False):
       dirmake = 'mkdir Videos/Webcam/temp'
       subprocess.call(dirmake, True)
    cmd = 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm'
    subprocess.call(cmd, True)

    and this is the error

    `FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm': 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm'`

    If I just run ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm from the terminal it works fine.

    Originally the video was supposed to go in Videos/Webcam/temp but I took it out to see if the error had something to do with where I was putting the video. I’m using Ubuntu 18.04.2 LTS if that makes a difference.

  • movenc : write ’chan’ tag for AC-3 in MOV

    6 décembre 2011, par Justin Ruggles

    movenc : write ’chan’ tag for AC-3 in MOV

  • movenc : write ’chan’ tag for AC-3 in MOV

    6 décembre 2011, par Justin Ruggles

    movenc : write ’chan’ tag for AC-3 in MOV