Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (33)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • 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é.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (5907)

  • avformat/matroskaenc : Don't use stream side-data size

    21 mai 2020, par Andreas Rheinhardt
    avformat/matroskaenc : Don't use stream side-data size
    

    av_stream_get_side_data() tells the caller whether a stream has side
    data of a specific type ; if present it can also tell the caller the size
    of the side data via an optional argument. The Matroska muxer always
    used this optional argument, although it doesn't really need the size,
    as the relevant side-data are not buffers, but structures. So change
    this.

    Furthermore, relying on the size also made the code susceptible to
    a quirk of av_stream_get_side_data() : It only sets the size argument if
    it found side data of the desired type. mkv_write_video_color() checks
    for side-data twice with the same variable for the size without resetting
    the size in between ; if the second type of side-data isn't present, the
    size will still be what it was after the first call. This was not
    dangerous in practice, as the check for the existence of the second
    side-data compared the size with the expected size, so it would only be
    problematic if lots of elements were to be added to AVContentLightMetadata.

    Reviewed-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/matroskaenc.c
  • FFMPEG + Python - skipping unneeded frames on ffmpeg side

    11 mai 2020, par user3518753

    I'm trying to process a live hlsv stream, extract every 100th frame from it, and process it using openCV.

    &#xA;&#xA;

    Currently my code looks something like this :

    &#xA;&#xA;

    pipe = subprocess.Popen([FFMPEG_BIN, "-i", src, &#xA;                    "-loglevel", "quiet",&#xA;                    "-an", &#xA;                    "-f", "image2pipe",&#xA;                    "-pix_fmt", "bgr24",&#xA;                    "-vcodec", "rawvideo", "-"],&#xA;                    stdin=subprocess.PIPE, &#xA;                    stdout=subprocess.PIPE, &#xA;                    stderr=subprocess.DEVNULL)&#xA;&#xA;while True:&#xA;    raw_image = pipe.stdout.read(WIDTH * HEIGHT * 3)&#xA;    if frame_counter > 100:&#xA;        frame_counter = 0&#xA;        process_frame(raw_image)&#xA;    frame_counter &#x2B;= 1&#xA;

    &#xA;&#xA;

    Reading all the frames and dumping 99% of them seems inefficient, and has led me to pipe buffer issues (at least I suspect that).

    &#xA;&#xA;

    Is it possible to skip the frames in FFMPEG, so that every 100th frame will go to the stdout ?

    &#xA;

  • How do I preserve side data when concatenating files in ffmpeg ?

    28 mai 2020, par Mark Kahn

    I have multiple 360 videos that I'm trying to concatenate in ffmpeg. The command it self is pretty straightforward :

    &#xA;&#xA;

    ffmpeg -f concat -i 0036_concat.txt -c copy -strict unofficial 36.mp4&#xA;

    &#xA;&#xA;

    where 0036_concat.txt is just a list of the individual files. The issue I'm having is that I can't get ffmpeg to preserve side data. Very simply put, ffprobe on any of the source files includes this :

    &#xA;&#xA;

    Side data:&#xA;  spherical: equirectangular (0.000000/0.000000/0.000000)&#xA;

    &#xA;&#xA;

    And I can't, for the life of me, get that to propagate to the output file.

    &#xA;&#xA;

    this question has a solution that works for single files, but it doesn't work when concatenating multiple files.

    &#xA;&#xA;

    I'd be perfectly fine injecting that entire string if anyone knows how.

    &#xA;