Am Mi., 1. Apr. 2020 um 20:42 Uhr schrieb Andreas Rheinhardt <andreas.rheinha...@gmail.com>: > > containing updated extradata, in this case a new FLAC streaminfo. > Furthermore, it also tests that the Matroska muxer is able to preserve > uncommon channel layouts by adding Vorbis comments to the CodecPrivate. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> > --- > This is in particular intended to test patch [1] (using fewer frames > for the last track ensures that (after the removal of the seekbacks in > mkv_check_new_extra_data()) the end position won't be at the end of the > buffer when writing the final version of the Tracks element; but this > won't be a problem after the switch to avio_get_dyn_buf() in the commit > before [1].) > > [1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-January/256208.html > > tests/fate/matroska.mak | 12 +++++ > tests/ref/fate/matroska-flac-extradata-update | 53 +++++++++++++++++++ > 2 files changed, 65 insertions(+) > create mode 100644 tests/ref/fate/matroska-flac-extradata-update > > diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak > index b9ed7322fd..02f2ea211f 100644 > --- a/tests/fate/matroska.mak > +++ b/tests/fate/matroska.mak > @@ -32,6 +32,18 @@ fate-matroska-lzo-decompression: CMD = framecrc -i > $(TARGET_SAMPLES)/mkv/lzo.mka > FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER FLAC_PARSER) += > fate-matroska-flac-channel-mapping > fate-matroska-flac-channel-mapping: CMD = framecrc -i > $(TARGET_SAMPLES)/mkv/flac_channel_layouts.mka -map 0 -c:a copy > > +# This tests that the Matroska muxer writes the channel layout > +# of FLAC tracks as a Vorbis comment in the CodecPrivate if necessary > +# and that FLAC extradata is correctly updated when a packet > +# with sidedata containing new extradata is encountered. > +# Furthermore it tests everything the matroska-flac-channel-mapping test > +# tests and it also tests the FLAC decoder and encoder, in particular > +# the latter's ability to send updated extradata. > +FATE_MATROSKA-$(call ALLYES, FLAC_DECODER FLAC_ENCODER FLAC_PARSER \ > + MATROSKA_DEMUXER MATROSKA_MUXER) += > fate-matroska-flac-extradata-update > +fate-matroska-flac-extradata-update: CMD = transcode matroska > $(TARGET_SAMPLES)/mkv/flac_channel_layouts.mka \ > + matroska "-map 0 -map 0:0 -c flac > -frames:a:2 8" "-map 0 -c copy"
What effect does "-map 0 -map 0:0" have? Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".