1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

fate-webm-webvtt-remux: print packet side data in ffprobe output

This commit is contained in:
Anton Khirnov 2021-04-25 08:28:01 +02:00
parent 958bea5248
commit 1b3bd52e54
2 changed files with 337 additions and 1 deletions

View File

@ -136,7 +136,7 @@ FATE_MATROSKA_FFMPEG_FFPROBE-$(call ALLYES, FILE_PROTOCOL WEBVTT_DEMUXER \
WEBM_MUXER MATROSKA_DEMUXER \ WEBM_MUXER MATROSKA_DEMUXER \
FRAMECRC_MUXER PIPE_PROTOCOL) \ FRAMECRC_MUXER PIPE_PROTOCOL) \
+= fate-webm-webvtt-remux += 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_AVCONV += $(FATE_MATROSKA-yes)
FATE_SAMPLES_FFPROBE += $(FATE_MATROSKA_FFPROBE-yes) FATE_SAMPLES_FFPROBE += $(FATE_MATROSKA_FFPROBE-yes)

View File

@ -36,6 +36,342 @@ c5625f28e6968e12d91f125edef5f16c *tests/data/fate/webm-webvtt-remux.webm
1, 50000, 50000, 1134, 43, 0x534b0ee3 1, 50000, 50000, 1134, 43, 0x534b0ee3
0, 3540123, 3540123, 1485555, 13, 0x216a04d8 0, 3540123, 3540123, 1485555, 13, 0x216a04d8
1, 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] [STREAM]
index=0 index=0
codec_name=webvtt codec_name=webvtt