Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (105)

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

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

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

Sur d’autres sites (10012)

  • avformat/matroskaenc : Ensure that ChapterUID are != 0

    26 novembre 2019, par Andreas Rheinhardt
    avformat/matroskaenc : Ensure that ChapterUID are != 0
    

    AVChapters have an int as id field and therefore this value can appear
    <= 0. When remuxing from Matroska, this value actually contains
    the lower 32 bits of the original ChapterUID (which can be 64 bits).

    In order to ensure that the ChapterUID is always > 0, they were offset
    as follows (since 07704c61) : First max(0, 1LL - chapter[i].id) was computed
    and stored in an uint32_t. And then the IDs were offset using this value.

    This has two downsides :
    1. It does not ensure that the UID is actually != 0 : Namely if there is
    a chapter with id == INT_MIN, then the offset will be 2^31 + 1 and a
    chapter with id == INT_MAX will become 2^31 - 1 + 2^31 + 1 = 2^32 = 0,
    because the actual calculation was performed in 32 bits.
    2. As soon as a chapter id appears to be negative, a nontrivial offset
    is used, so that not even a ChapterUID that only uses 32 bits is
    preserved.

    So change this by treating the id as an unsigned value internally and
    only offset (by 1) if an id vanishes. The actual offsetting then has to
    be performed in 64 bits in order to make sure that no UINT32_MAX wraps
    around.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/matroskaenc.c
  • avformat/matroskaenc : Move adding SeekEntry into end_ebml_master_crc32()

    27 avril 2020, par Andreas Rheinhardt
    avformat/matroskaenc : Move adding SeekEntry into end_ebml_master_crc32()
    

    Up until now, SeekEntries were already added before
    start_ebml_master_crc32() was even called and before we were actually
    sure that we really write the element the SeekHead references : After
    all, we might also error out later ; and given that the allocations
    implicit in dynamic buffers should be checked, end_ebml_master_crc32()
    will eventually have to return errors itself, so that it is the right
    place to add SeekHead entries.

    The earlier behaviour is of course a remnant of the time in which
    start_ebml_master_crc32() really did output something, so that the
    position before start_ebml_master_crc32() needed to be recorded.
    Erroring out later is also not as dangerous as it seems because in
    this case no SeekHead will be written (if it happened when writing
    the header, the whole muxing process would abort ; if it happened
    when writing the trailer (when writing chapters not available initially),
    writing the trailer would be aborted and no SeekHead containing the
    bogus chapter entry would be written).

    This commit does not change the way the SeekEntries are added for those
    elements that are output preliminarily ; this is so because the SeekHead
    is written before those elements are finally output and doing it
    otherwise would increase the amount of seeks.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/matroskaenc.c
  • FFmpeg video metadata change

    5 avril 2022, par Warren

    I am trying to change the video stream metadata. See (Change This Metadata) below. I can change the title of the movie ok but not any others. What is the ffmpeg line to change this.

    &#xA;&#xA;

    This line below changes "Title Of The Movie" only

    &#xA;&#xA;

    ffmpeg -i Input.mkv -metadata title="New Title" -c:v copy -c:a copy -c:s copy Output.mkv

    &#xA;&#xA;

    Input #0, matroska,webm, from &#x27;Input.mkv&#x27;:&#xA;Metadata:&#xA;title           : Title Of The Movie&#xA;encoder         : libebml v1.2.3 &#x2B; libmatroska v1.3.0&#xA;creation_time   : 2014-08-02 12:58:30&#xA;Duration: 02:15:54.21, start: 0.000000, bitrate: 8177 kb/s&#xA;Chapter #0.0: start 0.000000, end 208.666778&#xA;Metadata:&#xA;  title           : Chapter 01&#xA;Chapter #0.1: start 208.666778, end 811.727578&#xA;Metadata:&#xA;  title           : Chapter 02&#xA;Chapter #0.2: start 811.727578, end 1077.868444&#xA;Metadata:&#xA;  title           : Chapter 03&#xA;Chapter #0.3: start 1077.868444, end 1345.302289&#xA;Metadata:&#xA;  title           : Chapter 04&#xA;Chapter #0.4: start 1345.302289, end 2000.415067&#xA;Metadata:&#xA;  title           : Chapter 05&#xA;Chapter #0.5: start 2000.415067, end 2487.276444&#xA;Metadata:&#xA;  title           : Chapter 06&#xA;Chapter #0.6: start 2487.276444, end 3097.302533&#xA;Metadata:&#xA;  title           : Chapter 07&#xA;Chapter #0.7: start 3097.302533, end 3503.958778&#xA;Metadata:&#xA;  title           : Chapter 08&#xA;Chapter #0.8: start 3503.958778, end 4060.347956&#xA;Metadata:&#xA;  title           : Chapter 09&#xA;Chapter #0.9: start 4060.347956, end 4582.202622&#xA;Metadata:&#xA;  title           : Chapter 10&#xA;Chapter #0.10: start 4582.202622, end 5083.078000&#xA;Metadata:&#xA;  title           : Chapter 11&#xA;Chapter #0.11: start 5083.078000, end 5537.698822&#xA;Metadata:&#xA;  title           : Chapter 12&#xA;Chapter #0.12: start 5537.698822, end 5826.612444&#xA;Metadata:&#xA;  title           : Chapter 13&#xA;Chapter #0.13: start 5826.612444, end 6553.088200&#xA;Metadata:&#xA;  title           : Chapter 14&#xA;Chapter #0.14: start 6553.088200, end 6903.730156&#xA;Metadata:&#xA;  title           : Chapter 15&#xA;Chapter #0.15: start 6903.730156, end 7271.055444&#xA;Metadata:&#xA;  title           : Chapter 16&#xA;Chapter #0.16: start 7271.055444, end 7582.241333&#xA;Metadata:&#xA;  title           : Chapter 17&#xA;Chapter #0.17: start 7582.241333, end 8153.937444&#xA;Metadata:&#xA;  title           : Chapter 18&#xA;Chapter #0.18: start 8153.937444, end 8154.208000&#xA;Metadata:&#xA;  title           : Chapter 19&#xA;Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)&#xA;Metadata:&#xA;  title           : Change This Metadata&#xA;Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)&#xA;Metadata:&#xA;  title           : Eng&#xA;Stream #0:2(eng): Subtitle: subrip (default)&#xA;Metadata:&#xA;  title           : Eng&#xA;

    &#xA;