Recherche avancée

Médias (91)

Autres articles (74)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (7740)

  • avcodec/mips : Improve hevc uni-w copy mc msa functions

    21 septembre 2017, par Kaustubh Raste
    avcodec/mips : Improve hevc uni-w copy mc msa functions
    

    Load the specific destination bytes instead of MSA load and pack.
    Pack the data to half word before clipping.
    Use immediate unsigned saturation for clip to max saving one vector register.

    Signed-off-by : Kaustubh Raste <kaustubh.raste@imgtec.com>
    Reviewed-by : Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/hevc_mc_uniw_msa.c
    • [DH] libavutil/mips/generic_macros_msa.h
  • sending variables to subprocess call with spaces - python 2.7

    24 novembre 2015, par Tandy Freeman

    I want to add ffmpeg options to a variable and later use it in a subprocess call. If the variable contains one word, all is well, but if it contains more than one, I get errors. I am working on a larger script and I will need to have extra options such as this for certain codecs. How can I get this working ?

    The following works perfectly for me :

    import subprocess
    import sys

    video_codec = 'libx264'
    output = sys.argv[1] + '.mkv'
    subprocess.call(['ffmpeg',
               '-i',sys.argv[1],
               '-c:v',video_codec,
               '-c:a','copy',        
               output])    

    Once I introduce new options/spaces to video_options as such :

    video_codec = "'libx264', '-pix_fmt', 'yuv420p'"

    I get an ffmpeg error :

    Unknown encoder ''libx264', '-pix_fmt', 'yuv420p''

    If I remove the double quotes and just use
    video_codec = ’libx264’, ’-pix_fmt’, ’yuv420p’

    I get a python error :

    Traceback (most recent call last):
     File "testo.py", line 10, in <module>
       output])<br />
     File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 524, in call
       return Popen(*popenargs, **kwargs).wait()
     File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
       errread, errwrite)
     File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child
       raise child_exception
    TypeError: execv() arg 2 must contain only strings
    </module>
  • TypeError : Cannot read property 'url' of undefined - ws

    28 juillet 2021, par Bawantha Rathnayaka

    I am trying to get URL starts with '/rtmp/', and extract the target RTMP URL.

    &#xA;

    Uncaught TypeError : Cannot read property 'url' of undefined

    &#xA;

    this is my server.js

    &#xA;

      let match&#xA;  if (!(match = req.url.match(/^\/rtmp\/(.*)$/))) {&#xA;    ws.terminate() // No match, reject the connection.&#xA;    return&#xA;  }&#xA;&#xA;  &#xA;

    &#xA;