Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (91)

Sur d’autres sites (16689)

  • lavf/webvttdec : save cue id and settings as side data

    1er juin 2013, par Matthew Heaney
    lavf/webvttdec : save cue id and settings as side data
    

    Currently the WebVTT demuxer parses the cues but throws away
    the cue id (the optional first line of the cue) and cue
    settings (the optional rendering instructions that follow
    the timestamp).

    However, in order to write inband text tracks (to WebM
    files), the entire cue payload from the WebVTT source must
    be preserved.

    This commit makes no change to the data part of the output
    buffer packet (where the actual cue text is stored), but
    does add the cue id and settings as a side data items, if
    they’re present in the cue. Existing code that cares only
    about the data part of the packet can continue to ignore the
    side data.

    There are two new packet data type flags,
    AV_PKT_DATA_WEBVTT_IDENTIFIER and
    AV_PKT_DATA_WEBVTT_SETTINGS.

    • [DH] libavcodec/avcodec.h
    • [DH] libavcodec/version.h
    • [DH] libavformat/webvttdec.c
  • lavf/webvttdec : factorize identifier and settings side data code.

    1er juin 2013, par Clément Bœsch
    lavf/webvttdec : factorize identifier and settings side data code.
    
    • [DH] libavformat/webvttdec.c
  • ftp: move common commands code to function

    29 mai 2013, par Lukasz Marek
    ftp: move common commands code to function
    

    Each send command routine requires the same steps.
    This commit moves repeated code into one function.

    • [DH] libavformat/ftp.c