Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (80)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

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

Sur d’autres sites (10908)

  • avformat/flvdec : read the correct bits into the tag type

    4 septembre 2014, par Steven Liu
    avformat/flvdec : read the correct bits into the tag type
    

    from the flv spec, the flvtag define the tagtype as one byte,
    the spec desc is :
    Reserved UB[2] Reserved for FMS, should be 0
    Filter UB[1] Indicates if packets are filtered.
    0 = No pre-processing required.
    1 = Pre-processing (such as decryption) of the packet is
    required before it can be rendered.
    Shall be 0 in unencrypted files, and 1 for encrypted
    tags.
    See Annex F. FLV Encryption for the use of filters.
    TagType UB[5] Type of contents in this tag. The following types are
    defined :
    8 = audio
    9 = video
    18 = script data

    Signed-off-by : Steven Liu <qi.liu@chinacache.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/flvdec.c
  • lavfi/sidedata : add missed frame side data type

    9 mars 2019, par Jun Zhao
    lavfi/sidedata : add missed frame side data type
    

    add missed frame side data type

    Signed-off-by : Jun Zhao <barryjzhao@tencent.com>

    • [DH] libavfilter/f_sidedata.c
  • Python asyncio subprocess code returns "pipe closed by peer or os.write(pipe, data) raised exception."

    4 novembre 2022, par Duke Dougal

    I am trying to convert a synchronous Python process to asyncio. Any ideas what I am doing wrong ?

    &#xA;

    This is the synchronous code which successfully starts ffmpeg and converts a directory of webp files into a video.

    &#xA;

    import subprocess&#xA;import shlex&#xA;from os import listdir&#xA;from os.path import isfile, join&#xA;&#xA;output_filename = &#x27;output.mp4&#x27;&#xA;process = subprocess.Popen(shlex.split(f&#x27;ffmpeg -y -framerate 60 -i pipe: -vcodec libx265 -pix_fmt yuv420p -crf 24 output.mp4&#x27;), stdin=subprocess.PIPE)&#xA;&#xA;thepath = &#x27;/home/ubuntu/webpfiles/&#x27;&#xA;thefiles = [f for f in listdir(thepath) if isfile(join(thepath, f))]&#xA;for filename in thefiles:&#xA;    absolute_path = f&#x27;{thepath}{filename}&#x27;&#xA;    with open(absolute_path, &#x27;rb&#x27;) as f:&#xA;        process.stdin.write(f.read())&#xA;&#xA;process.stdin.close()&#xA;process.wait()&#xA;process.terminate()&#xA;

    &#xA;

    This async code fails :

    &#xA;

    from os import listdir&#xA;from os.path import isfile, join&#xA;import shlex&#xA;import asyncio&#xA;&#xA;outputfilename = &#x27;output.mp4&#x27;&#xA;&#xA;async def write_stdin(proc):&#xA;    thepath = &#x27;/home/ubuntu/webpfiles/&#x27;&#xA;    thefiles = [f for f in listdir(thepath) if isfile(join(thepath, f))]&#xA;    thefiles.sort()&#xA;    for filename in thefiles:&#xA;        absolute_path = f&#x27;{thepath}{filename}&#x27;&#xA;        with open(absolute_path, &#x27;rb&#x27;) as f:&#xA;            await proc.communicate(input=f.read())&#xA;&#xA;async def create_ffmpeg_subprocess():&#xA;    bin = f&#x27;/home/ubuntu/bin/ffmpeg&#x27;&#xA;    params = f&#x27;-y -framerate 60 -i pipe: -vcodec libx265 -pix_fmt yuv420p -crf 24 {outputfilename}&#x27;&#xA;    proc = await asyncio.create_subprocess_exec(&#xA;        bin,&#xA;        *shlex.split(params),&#xA;        stdin=asyncio.subprocess.PIPE,&#xA;        stdout=asyncio.subprocess.PIPE,&#xA;        stderr=asyncio.subprocess.PIPE,&#xA;    )&#xA;    return proc&#xA;&#xA;async def start():&#xA;    loop = asyncio.get_event_loop()&#xA;    proc = await create_ffmpeg_subprocess()&#xA;    task_stdout = loop.create_task(write_stdin(proc))&#xA;    await asyncio.gather(task_stdout)&#xA;&#xA;if __name__ == &#x27;__main__&#x27;:&#xA;    asyncio.run(start())&#xA;

    &#xA;

    The output for the async code is :

    &#xA;

    pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;pipe closed by peer or os.write(pipe, data) raised exception.&#xA;

    &#xA;

    etc - one line for each webp file

    &#xA;