Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (80)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

Sur d’autres sites (4452)

  • subprocess.call format for ffmpeg|sed command ?

    5 mars 2017, par sapnesh naik

    These are the command I want to execute using subprocess.call in python

    1. ffmpeg -i filename 2>&1 | sed -n "s/.*, \(.*\) fp.*/\1/p"

     filePath = frames/FRAME%05d.png
    2. avconv -r 24 -i filePath -vf 'scale=trunc(iw/2)*2:trunc(ih/2)*2' -s 1920x1080 -c:v libx264 outPath

    I haven’t gotten around to 2nd one yet but here is my try for first one

    subprocess.call(['ffmpeg', '-i', inputV , '2','>','&1', '|', ' sed', '-n', '"s/.*, \(.*\) fp.*/\1/p"'])

    and This is the error

    [NULL @ 0x915ce0] Unable to find a suitable output format for '2'
    2: Invalid argument

    I am also not sure about the filePath variable assignment as the value includes wildcards

  • Call file.size only once and only if necessary

    6 novembre 2013, par dougdomeny
    Call file.size only once and only if necessary
    

    Discovered while profiling (using Chrome) that the file.size property is expensive. This code change optimizes performance by only accessing the 'size' property once and only if needed.

  • lavf : call the new seek API from the old.

    29 avril 2013, par Nicolas George
    lavf : call the new seek API from the old.
    

    If the demuxer implements read_seek2() and not read_seek(),
    call avformat_seek_file() from av_seek_frame().
    Allow to properly seek in formats that only implement the
    new API from applications that use the old one.
    Tested with mplayer and a concat script.

    • [DH] libavformat/utils.c