[FFmpeg-devel] [PATCH 09/12] fate-webm-webvtt-remux: print packet side data in ffprobe output
Anton Khirnov
anton at khirnov.net
Sun Apr 25 10:03:17 EEST 2021
---
tests/fate/matroska.mak | 2 +-
tests/ref/fate/webm-webvtt-remux | 336 +++++++++++++++++++++++++++++++
2 files changed, 337 insertions(+), 1 deletion(-)
diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak
index becca28e1a..ca7193a055 100644
--- a/tests/fate/matroska.mak
+++ b/tests/fate/matroska.mak
@@ -136,7 +136,7 @@ FATE_MATROSKA_FFMPEG_FFPROBE-$(call ALLYES, FILE_PROTOCOL WEBVTT_DEMUXER \
WEBM_MUXER MATROSKA_DEMUXER \
FRAMECRC_MUXER PIPE_PROTOCOL) \
+= fate-webm-webvtt-remux
-fate-webm-webvtt-remux: CMD = transcode webvtt $(TARGET_SAMPLES)/sub/WebVTT_capability_tester.vtt webm "-map 0 -map 0 -map 0 -map 0 -c:s copy -disposition:0 original+descriptions+hearing_impaired -disposition:1 lyrics+default+metadata -disposition:2 comment+forced -disposition:3 karaoke+captions+dub" "-map 0:0 -map 0:1 -c copy" "" "-show_entries stream_disposition:stream=index,codec_name"
+fate-webm-webvtt-remux: CMD = transcode webvtt $(TARGET_SAMPLES)/sub/WebVTT_capability_tester.vtt webm "-map 0 -map 0 -map 0 -map 0 -c:s copy -disposition:0 original+descriptions+hearing_impaired -disposition:1 lyrics+default+metadata -disposition:2 comment+forced -disposition:3 karaoke+captions+dub" "-map 0:0 -map 0:1 -c copy" "" "-show_entries stream_disposition:stream=index,codec_name:packet=stream_index,pts:packet_side_data_list -show_data_hash CRC32"
FATE_SAMPLES_AVCONV += $(FATE_MATROSKA-yes)
FATE_SAMPLES_FFPROBE += $(FATE_MATROSKA_FFPROBE-yes)
diff --git a/tests/ref/fate/webm-webvtt-remux b/tests/ref/fate/webm-webvtt-remux
index 0737541be5..a0e9182f47 100644
--- a/tests/ref/fate/webm-webvtt-remux
+++ b/tests/ref/fate/webm-webvtt-remux
@@ -36,6 +36,342 @@ c5625f28e6968e12d91f125edef5f16c *tests/data/fate/webm-webvtt-remux.webm
1, 50000, 50000, 1134, 43, 0x534b0ee3
0, 3540123, 3540123, 1485555, 13, 0x216a04d8
1, 3540123, 3540123, 1485555, 13, 0x216a04d8
+[PACKET]
+stream_index=0
+pts=11000
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=11000
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=11000
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=11000
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=13000
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=13000
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=13000
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=13000
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=16000
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=16000
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=16000
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=16000
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=18000
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=18000
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=18000
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=18000
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=20000
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=20000
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=20000
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=20000
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=22000
+[SIDE_DATA]
+side_data_type=WebVTT ID
+data_hash=CRC32:884863d2
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=22000
+[SIDE_DATA]
+side_data_type=WebVTT ID
+data_hash=CRC32:884863d2
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=22000
+[SIDE_DATA]
+side_data_type=WebVTT ID
+data_hash=CRC32:884863d2
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=22000
+[SIDE_DATA]
+side_data_type=WebVTT ID
+data_hash=CRC32:884863d2
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=24000
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=24000
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=24000
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=24000
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=27000
+[SIDE_DATA]
+side_data_type=WebVTT ID
+data_hash=CRC32:38ea6650
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=27000
+[SIDE_DATA]
+side_data_type=WebVTT ID
+data_hash=CRC32:38ea6650
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=27000
+[SIDE_DATA]
+side_data_type=WebVTT ID
+data_hash=CRC32:38ea6650
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=27000
+[SIDE_DATA]
+side_data_type=WebVTT ID
+data_hash=CRC32:38ea6650
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=30000
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:c85a02f9
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=30000
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:c85a02f9
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=30000
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:c85a02f9
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=30000
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:c85a02f9
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=30500
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:5a60fed3
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=30500
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:5a60fed3
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=30500
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:5a60fed3
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=30500
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:5a60fed3
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=32000
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:c85a02f9
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=32000
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:c85a02f9
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=32000
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:c85a02f9
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=32000
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:c85a02f9
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=32500
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:36b6655e
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=32500
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:36b6655e
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=32500
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:36b6655e
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=32500
+[SIDE_DATA]
+side_data_type=WebVTT Settings
+data_hash=CRC32:36b6655e
+[/SIDE_DATA]
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=35500
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=35500
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=35500
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=35500
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=50000
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=50000
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=50000
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=50000
+[/PACKET]
+[PACKET]
+stream_index=0
+pts=3540123
+[/PACKET]
+[PACKET]
+stream_index=1
+pts=3540123
+[/PACKET]
+[PACKET]
+stream_index=2
+pts=3540123
+[/PACKET]
+[PACKET]
+stream_index=3
+pts=3540123
+[/PACKET]
[STREAM]
index=0
codec_name=webvtt
--
2.30.2
More information about the ffmpeg-devel
mailing list