Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (76)

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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6791)

  • tools : Check the return value of write().

    15 mai 2011, par Diego Biurrun

    tools : Check the return value of write().

  • hlsenc : Only write PAT/PMT once per segment

    5 avril 2015, par Derek Buitenhuis
    hlsenc : Only write PAT/PMT once per segment
    

    This saves a lot of muxing overhead, especially on lower bitrate
    segments.

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] libavformat/hlsenc.c
  • How can I limit the file size when doing a write() while writing data from a video stream in Python

    8 avril 2016, par Michael Bailey

    I am pulling in a video stream of an unknown length and writing that file to disc using .write() in Python. My basic need is to have a rolling 2-3 minutes of video recorded to that file at all times VS having that file grow to a huge size. On the other end I’m using FFMPEG to grab clips from the .dat file being written.

    with open("./site/files/tmp/" + hashid + ".dat", 'wb') as f:
           while True:
               data = stream.read(1024)
               f.write(data)

    Alternately if you know a way I could store that same data in memory probably only 20-50mb (2-3 mins) and send that to FFMPEG that might be an even better option as well. I’m calling FFMPEG via Popen subprocess.