git.videolan.org Git - ffmpeg.git/rss log

FFmpeg git repo

http://git.videolan.org/?p=ffmpeg.git;a=summary

Les articles publiés sur le site

  • avformat/matroskaenc : Use native id V_FFV1 instead of V_MS/VFW/FOURCC

    25 mai, par Andreas Rheinhardt
    avformat/matroskaenc: Use native id V_FFV1 instead of V_MS/VFW/FOURCC
    
    Up until now, our muxer wrote FFV1 in video-for-windows
    compatibility mode out of concern for old demuxers that
    only support that (whereas the demuxer accepts V_FFV1).
    This commit switches to using native mode, because
    a) V_FFV1 is around long enough so that old demuxers
    should not be an issue (support in FFmpeg has been added
    in commit 9ae762da7e256aa4d3b645c614fcd1959e1cbb8d
    in March 2017/FFmpeg 3.3),
    b) using native mode uses fewer bytes for the CodecPrivate,
    c) the VfW extradata is zero-padded to an even length
    if necessary, but our demuxer forgot to undo the padding
    until very recently (92e310eb82e04713e55d248b65c22f0eb95afada),
    so that there are many versions of our demuxer around that
    are buggy wrt VFW, but not V_FFV1.
    This affects the FFV1 extradata checksums, specifically
    the (experimental) version 4 files with error check version 2*
    as created by
    ffmpeg -i ../fate-suite/mpeg2/sony-ct3.bs -c:v ffv1 \
    -slices 16 -frames 1 -level 4 -strict experimental ffv1.mkv
    VFW files like the above created by this muxer before this patch
    would not work with an old demuxer.
    
    *: Without error check version 2, the CRC for the whole extradata
    is zero, which is not changed by appending a zero byte.
    
    Reviewed-by: compn <ff@hawaiiantel.net>
    Reviewed-by: Dave Rice <dave@dericed.com>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavformat/matroskaenc.c
    • [DH] tests/ref/fate/matroska-mastering-display-metadata
  • avformat/matroska : Support JPEG2000 for demuxing

    25 mai, par Andreas Rheinhardt
    avformat/matroska: Support JPEG2000 for demuxing
    
    Legal since commit 1cd0a9be4b2d1e7c60184ec68404e00e46e3123e
    (Jan 4) in the Cellar Matroska specification git repo.
    We still hold out on muxing it due to compatibility with
    old demuxers.
    
    Reviewed-by: compn <ff@hawaiiantel.net>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavformat/matroska.c
    • [DH] libavformat/matroskaenc.c
  • libavformat/oggdec.h : Change paket function documentation to return 1 on header packe...

    24 mai, par Romain Beauxis
    libavformat/oggdec.h: Change paket function documentation to return 1 on header packets only.
    
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavformat/oggdec.h
  • ogg/vorbis : implement header packet skip in chained ogg bitstreams.

    24 mai, par Romain Beauxis
    ogg/vorbis: implement header packet skip in chained ogg bitstreams.
    
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavcodec/vorbis_parser.h
    • [DH] libavcodec/vorbisdec.c
    • [DH] libavformat/oggparsevorbis.c
    • [DH] tests/ref/fate/ogg-vorbis-chained-meta.txt
  • ogg/vorbis : factor out header processing logic.

    24 mai, par Romain Beauxis
    ogg/vorbis: factor out header processing logic.
    
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavformat/oggparsevorbis.c