Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (105)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (8281)

  • How to stop ffmpeg remotely ?

    20 décembre 2024, par Adam

    I'm running ffmpeg on another machine for screen capture. I'd like to be able to stop it recording remotely. FFMPEG requires that q is pressed to stop encoding as it has to do some finalization to finish the file cleanly. I know I could kill it with kill/killall however this can lead to corrupt videos.

    



    Press [q] to stop encoding


    



    I can't find anything on google specifically for this, but some there is suggestion that echoing into /proc//fd/0 will work.

    



    I've tried this but it does not stop ffmpeg. The q is however shown in the terminal in which ffmpeg is running.

    



    echo -n q > /proc/16837/fd/0


    



    So how can I send a character to another existing process in such a way it is as if it were typed locally ? Or is there another way of remotely stopping ffmpeg cleanly.

    


  • How to stop ffmpeg remotely ?

    30 novembre 2016, par Adam

    I’m running ffmpeg on another machine for screen capture. I’d like to be able to stop it recording remotely. FFMPEG requires that q is pressed to stop encoding as it has to do some finalization to finish the file cleanly. I know I could kill it with kill/killall however this can lead to corrupt videos.

    Press [q] to stop encoding

    I can’t find anything on google specifically for this, but some there is suggestion that echoing into /proc//fd/0 will work.

    I’ve tried this but it does not stop ffmpeg. The q is however shown in the terminal in which ffmpeg is running.

    echo -n q > /proc/16837/fd/0

    So how can I send a character to another existing process in such a way it is as if it were typed locally ? Or is there another way of remotely stopping ffmpeg cleanly.

  • Why is ffmpeg-python throwing a codec error here ?

    15 octobre 2019, par TwentyPenguins

    I’m trying out ffmpeg-python for the first time and I’m hitting what looks like a complex error surprisingly early on.

    Here’s my complete code as it stands :

    from tkinter import filedialog
    import ffmpeg

    sourceFile = filedialog.askopenfile()
    targetFile = filedialog.asksaveasfilename()

    stream = ffmpeg.input(sourceFile, ss=0, format='mov')
    stream = ffmpeg.output(stream, targetFile, format='mp4')
    ffmpeg.run(stream)

    In my head, this ought to be simple. The user browses to an existing MOV file (a standard h264 file which ’normal’ FFmpeg.exe can handle no problem on a Windows command line), then selects an output file for an MP4 to be saved, then FFmpeg is called and an MP4 file is converted from the MOV.

    However, regardless of what source file I choose, I am always hitting this error :

     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\ffmpeg\_ffmpeg.py", line 85, in output
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\ffmpeg\_run.py", line 285, in run_async
       args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 775, in __init__
       restore_signals, start_new_session)
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 1119, in _execute_child
       args = list2cmdline(args)
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 530, in list2cmdline
       needquote = (" " in arg) or ("\t" in arg) or not arg
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\encodings\cp1252.py", line 23, in decode
       return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 41: character maps to <undefined>
    </undefined>

    The position number changes depending on the file but the error is always ’charmap’ codec can’t decode byte 0x90 in position [x] : character maps to < undefined >

    Please can somebody point me to where I may be going wrong on this one ? I feel the answer is staring me in the face but I’m not seeing it.