Recherche avancée

Médias (91)

Autres articles (51)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

Sur d’autres sites (9785)

  • Revert "mpegaudiodec_template : disable CRC checking for layers 1 and 2"

    3 août 2020, par James Almer
    Revert "mpegaudiodec_template : disable CRC checking for layers 1 and 2"
    

    This reverts commit b48397e7b84864f2d4c70361a4c4bed93e826753.

    The change did not disable crc checks for layer 1 & 2, it removed reading
    the CRC field.

    Fixes decoding some mp2 samples and FATE test failures.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/mpegaudiodec_template.c
  • adpcm : simplify packet size bounds checking in the ADPCM IMA QT decoder.

    9 septembre 2011, par Justin Ruggles

    adpcm : simplify packet size bounds checking in the ADPCM IMA QT decoder.

  • Saving frames for mov file with multiple streams using python-ffmpeg

    3 novembre 2024, par Dolev Shapira

    I have a mov file with multiple video streams, and I'm trying to use ffmpeg python bindings to read each stream and save all of its frames.

    &#xA;

    To do so, I've made a code similar to this one :

    &#xA;

    import numpy as np&#xA;from PIL import Image&#xA;import ffmpeg&#xA;&#xA;# Explore streams using probe&#xA;probe = ffmpeg.probe(file)&#xA;video_streams = [stream for stream in probe[&#x27;streams&#x27;] if stream[&#x27;codec_type&#x27;] == &#x27;video&#x27;]&#xA;&#xA;for stream in video_streams:&#xA;    out, _ = (&#xA;        ffmpeg&#xA;        .input(file,stream_index=int(stream["index"]))&#xA;        .output(&#x27;pipe:&#x27;, format=&#x27;rawvideo&#x27;, pix_fmt=&#x27;rgb24&#x27;)&#xA;        .run(capture_stdout=True)&#xA;    )&#xA;    video = (&#xA;        np&#xA;        .frombuffer(out, np.uint8)&#xA;        .reshape([-1, height, width, 3])&#xA;    )&#xA;    stream_dir = video_streams_dir / int(stream["index"])&#xA;    stream_dir.mkdir(exist_ok=True)&#xA;    for i in range(video.shape[0]):&#xA;        Image.fromarray(video[i,...]).save(stream_dir / f"{video_name}__{i:04d}.jpeg")&#xA;

    &#xA;

    However stream_index=int(stream["index"]) appears to be an invalid parameter, so my question is, how do I specify the input stream for the input node ?

    &#xA;

    Note : It works without that parameter with the first (I believe) video stream.

    &#xA;

    Update : Found this thread and it appears that ffmpeg does allow it, still haven't tried implementing my own solution based on it.

    &#xA;