Recherche avancée

Médias (16)

Mot : - Tags -/mp3

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

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (9756)

  • avcodec/movtextenc : Simplify writing to AVBPrint

    15 octobre 2020, par Andreas Rheinhardt
    avcodec/movtextenc : Simplify writing to AVBPrint
    

    The mov_text encoder uses an AVBPrint to assemble the subtitles ;
    yet mov_text subtitles are not pure text ; they also have a binary
    portion that was mostly handled as follows :

    uint32_t size = /* calculation */ ;
    size = AV_RB32(&size) ;
    av_bprint_append_data(bprint, (const char*)&size, 4) ;

    Here AV_RB32() is a no-op on big-endian systems and a LE-BE swap
    on little-endian systems, making the output endian-independent.

    Yet this is ugly and unclean : On LE systems, the variable size from
    the snippet above won't contain the correct value any more. Furthermore,
    using this pattern leads to lots of small writes to the AVBPrint.

    This commit therefore changes this to using a temporary buffer instead :

    uint8_t buf[4] ;
    AV_WB32(buf, /* size calculation */) ;
    av_bprint_append_data(bprint, buf, 4) ;

    This method also allows to use bigger buffers holding more than one
    element, saving calls to av_bprint_append_data() and reducing codesize.

    Reviewed-by : Philip Langdale <philipl@overt.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/movtextenc.c
  • avcodec/movtextdec : Fix immediately adjacent styles

    17 octobre 2020, par Andreas Rheinhardt
    avcodec/movtextdec : Fix immediately adjacent styles
    

    The checks for whether a style should be opened/closed at the current
    character position are as follows : A variable entry contained the index
    of the currently active or potentially next active style. If the current
    character position coincided with the start of style[entry], the style
    was activated ; this was followed by a check whether the current
    character position coincided with the end of style[entry] ; if so, the
    style was deactivated and entry incremented. Afterwards the char was
    processed.

    The order of the checks leads to problems in case the endChar of style A
    coincides with the startChar of the next style (say B) : Style B was never
    opened. When we are at said common position, the currently active style
    is A and so the start pos check does not succeed ; but the end pos check
    does and it closes the currently active style A and increments entry.
    At the next iteration of the loop, the current character position is
    bigger than the start position of style B (which is style[entry]) and
    therefore the style is not activated.

    The solution is of course to first check for whether a style needs to be
    closed (and increment entry if it does) before checking whether the next
    style needs to be opened.

    Reviewed-by : Philip Langdale <philipl@overt.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/movtextdec.c
  • ffmpeg mov_text subtitle too small when converting mkv to mp4

    16 octobre 2020, par Utkarsh Singh

    I want to remux a mkv file into mp4.&#xA;I used the following command.

    &#xA;

    ffmpeg -i "input.mkv" -c:v copy -c:a copy -map 0:0 -map 0:1 -map 0:2 -map 0:3 -c:s mov_text "output.mp4"&#xA;

    &#xA;

    Problem : The subtitles in the output.mp4 file are way too small.

    &#xA;

    Also, the subtitles of the mp4 file are unaffected when I try to make them bigger from vlc preferences.&#xA;I can turn them on/off but I think they are somewhat hardcoded.&#xA;I had to rencode subtitles while remuxing as otherwise it was showing error.

    &#xA;

    input.mkv :

    &#xA;&#xA;

    output.mp4 :

    &#xA;&#xA;

    &#xA;

    input.mkv has the following streams,codecs :

    &#xA;&#xA;

    I searched a lot, but couldn't find a way to make mov_text subtitles bigger. How can I make them bigger ?

    &#xA;

    Or Please suggest any other way to retain the subtitles while remuxing from mkv to mp4.

    &#xA;