1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

fate/h264: add a test for the dts2pts bsf

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2024-09-16 16:39:50 -03:00
parent ceb471cfde
commit 99ec7a8ced
2 changed files with 62 additions and 0 deletions

View File

@ -231,6 +231,8 @@ FATE_H264-$(call DEMMUX, MOV, H264, H264_MP4TOANNEXB_BSF) += fate-h264-bsf-mp4to
fate-h264_mp4toannexb_ticket5927 \
fate-h264_mp4toannexb_ticket5927_2 \
FATE_H264-$(call DEMMUX, H264, MOV, DTS2PTS_BSF) += fate-h264-bsf-dts2pts
FATE_H264-$(call FRAMECRC, MATROSKA, H264) += fate-h264-direct-bff
FATE_H264-$(call FRAMECRC, FLV, H264, SCALE_FILTER) += fate-h264-brokensps-2580
FATE_H264-$(call FRAMECRC, MXF, H264, PCM_S24LE_DECODER SCALE_FILTER ARESAMPLE_FILTER) += fate-h264-xavc-4389
@ -437,6 +439,8 @@ fate-h264-bsf-mp4toannexb-2: CMD = md5 -i $(TARGET_SAMPLES)
fate-h264-bsf-mp4toannexb-2: CMP = oneline
fate-h264-bsf-mp4toannexb-2: REF = cffcfa6a2d0b58c9de1f5785f099f41d
fate-h264-bsf-mp4toannexb-new-extradata: CMD = stream_remux mov $(TARGET_SAMPLES)/h264/extradata-reload-multi-stsd.mov "" h264 "-map 0:v"
fate-h264-bsf-dts2pts: CMD = transcode "h264" $(TARGET_SAMPLES)/h264-conformance/CAPAMA3_Sand_F.264 \
mov "-c:v copy -bsf:v dts2pts -frames:v 50" "-c:v copy"
fate-h264_mp4toannexb_ticket5927: CMD = transcode "mp4" $(TARGET_SAMPLES)/h264/thezerotheorem-cut.mp4 \
h264 "-c:v copy -bsf:v h264_mp4toannexb -an" "-c:v copy"
fate-h264_mp4toannexb_ticket5927_2: CMD = transcode "mp4" $(TARGET_SAMPLES)/h264/thezerotheorem-cut.mp4 \

View File

@ -0,0 +1,58 @@
219edd347ce3151f5b5579d300cd7179 *tests/data/fate/h264-bsf-dts2pts.mov
243937 tests/data/fate/h264-bsf-dts2pts.mov
#extradata 0: 26, 0x75e2093d
#tb 0: 1/1200000
#media_type 0: video
#codec_id 0: h264
#dimensions 0: 352x288
#sar 0: 0/1
0, -48000, 0, 48000, 13686, 0x5ee9bd4c
0, 0, 240000, 48000, 9320, 0x17224db1, F=0x0
0, 48000, 288000, 48000, 8903, 0xe394918b, F=0x0
0, 96000, 96000, 48000, 10108, 0x98418e7e, F=0x0
0, 144000, 144000, 48000, 2937, 0x49dccb76, F=0x0
0, 192000, 192000, 48000, 2604, 0xfc8013cd, F=0x0
0, 240000, 480000, 48000, 7420, 0xcb4155cd, F=0x0
0, 288000, 528000, 48000, 5664, 0x060bc948, F=0x0
0, 336000, 336000, 48000, 4859, 0x0a5a8368, F=0x0
0, 384000, 384000, 48000, 2883, 0xb9639a19, F=0x0
0, 432000, 432000, 48000, 2547, 0xba95e99d, F=0x0
0, 480000, 672000, 48000, 4659, 0x19203a0d, F=0x0
0, 528000, 696000, 48000, 9719, 0xb500c328, F=0x0
0, 576000, 576000, 48000, 5078, 0x5359c6b8, F=0x0
0, 624000, 624000, 48000, 5041, 0x88dfcdf1, F=0x0
0, 672000, 864000, 48000, 9494, 0x29297319, F=0x0
0, 720000, 720000, 48000, 4772, 0x80273a60, F=0x0
0, 768000, 768000, 48000, 3237, 0xd99e742c, F=0x0
0, 816000, 816000, 48000, 2650, 0xc7cc378a, F=0x0
0, 864000, 1152000, 48000, 6519, 0x142aa357, F=0x0
0, 912000, 1176000, 48000, 5878, 0xe70d7e21, F=0x0
0, 960000, 960000, 48000, 2648, 0xe58b1c4b, F=0x0
0, 1008000, 1008000, 48000, 4522, 0x33ad0882, F=0x0
0, 1056000, 1056000, 48000, 3246, 0xdbfa539f, F=0x0
0, 1104000, 1104000, 48000, 3027, 0xdb5bf675, F=0x0
0, 1152000, 1392000, 48000, 9282, 0x07973603, F=0x0
0, 1200000, 1200000, 48000, 2786, 0x14824d92, F=0x0
0, 1248000, 1248000, 48000, 2719, 0x00614eef, F=0x0
0, 1296000, 1296000, 48000, 2627, 0xe8e91216, F=0x0
0, 1344000, 1344000, 48000, 2720, 0xbe974fcc, F=0x0
0, 1392000, 1584000, 48000, 7687, 0x0de01895, F=0x0
0, 1440000, 1440000, 48000, 5464, 0x113f954d, F=0x0
0, 1488000, 1488000, 48000, 3482, 0x5c90cdae, F=0x0
0, 1536000, 1536000, 48000, 2791, 0x4acb702a, F=0x0
0, 1584000, 1872000, 48000, 11362, 0x13363bdb, F=0x0
0, 1632000, 1920000, 48000, 2975, 0x99b1e813, F=0x0
0, 1680000, 1680000, 48000, 2342, 0xe9587867, F=0x0
0, 1728000, 1728000, 48000, 2634, 0x8d9814fc, F=0x0
0, 1776000, 1776000, 48000, 2419, 0x033cbb5f, F=0x0
0, 1824000, 1824000, 48000, 2498, 0x7dd9e476, F=0x0
0, 1872000, 2112000, 48000, 2668, 0x358e2bd8, F=0x0
0, 1920000, 2136000, 48000, 9068, 0x3a639927, F=0x0
0, 1968000, 1968000, 48000, 4939, 0xa5309a8c, F=0x0
0, 2016000, 2016000, 48000, 2650, 0x2ab82b97, F=0x0
0, 2064000, 2064000, 48000, 2503, 0xfd97cd4c, F=0x0
0, 2112000, 2352000, 48000, 5121, 0xaf88e5b8, F=0x0
0, 2160000, 2160000, 48000, 2643, 0xa1791db0, F=0x0
0, 2208000, 2208000, 48000, 2637, 0xe1a42510, F=0x0
0, 2256000, 2256000, 48000, 2633, 0x08430f15, F=0x0
0, 2304000, 2304000, 48000, 2721, 0xe6756990, F=0x0