Recherche avancée

Médias (91)

Autres articles (35)

  • 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 ;

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5858)

  • The final request has incomplete range header while streaming webm using shaka player

    3 mai 2019, par Jane

    I’m streaming a webm file using shaka player.
    While streaming using shaka player the last cluster is not fetched because the range header in the request is in complete. It looks like this :
    range: bytes=9511454-
    What should I change to get a complete range header from shaka player ?

    I followed the procedure shown here for encoding the video and audio files and generating the manifest file. In addition to this, I encoded the video file using ffmpeg before running it through mkvmuxer_sample.

  • swscale : Take the destination range into account for yuv->rgb->yuv conversions

    18 février 2022, par Martin Storsjö
    swscale : Take the destination range into account for yuv->rgb->yuv conversions
    

    The range parameters need to be set up before calling
    sws_init_context (which selects which fastpaths can be used ;
    this gets called by sws_getContext) ; solely passing them via
    sws_setColorspaceDetails isn't enough.

    This fixes producing full range YUV range output when doing
    YUV->YUV conversions between different YUV color spaces.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libswscale/utils.c
    • [DH] tests/fate/libswscale.mak
    • [DH] tests/ref/fate/sws-yuv-colorspace
    • [DH] tests/ref/fate/sws-yuv-range
  • ffmpeg : video from images - handling a zero length image file

    29 septembre 2021, par Buadhai

    I have a shell script which uses ffmpeg to crate a time-lapse video from webcam images. Normally, it works just fine :

    &#xA;

    /usr/bin/ffmpeg -loglevel info  -framerate 4 \&#xA;     -pattern_type glob -i $ipath/&#x27;*.jpg&#x27; \&#xA;    -c:v libx264 -crf 30 -y -pix_fmt yuv420p $temp &amp;>>$log&#xA;

    &#xA;

    But this chokes if the image is a zero-length file :

    &#xA;

    -rw-r--r-- 1 pi pi  156636 Sep 29 04:35 image_022.jpg&#xA;-rw-r--r-- 1 pi pi  156533 Sep 29 04:35 image_023.jpg&#xA;-rw-r--r-- 1 pi pi  159302 Sep 29 04:35 image_024.jpg&#xA;-rw-r--r-- 1 pi pi       0 Sep 29 04:35 image_025.jpg&#xA;-rw-r--r-- 1 pi pi  157055 Sep 29 04:35 image_026.jpg&#xA;-rw-r--r-- 1 pi pi  156851 Sep 29 04:35 image_027.jpg&#xA;-rw-r--r-- 1 pi pi  155793 Sep 29 04:35 image_028.jpg&#xA;-rw-r--r-- 1 pi pi  160647 Sep 29 04:35 image_029.jpg&#xA;

    &#xA;

    In this case the video only included frames up to the zero length JPEG.

    &#xA;

    I realize I can test the file length of every webcam image, but there must be an easier, more efficient way.

    &#xA;

    Is there ?

    &#xA;