You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	fate: Add a mixed NAL coding sample
See 17c99b6158.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
			
			
This commit is contained in:
		| @@ -190,6 +190,10 @@ FATE_H264-$(call DEMDEC,  MOV, H264) += fate-h264-interlace-crop | |||||||
| # by using a previous ref frame instead of a missing one | # by using a previous ref frame instead of a missing one | ||||||
| FATE_H264-$(call DEMDEC,  MOV, H264) += fate-h264-invalid-ref-mod | FATE_H264-$(call DEMDEC,  MOV, H264) += fate-h264-invalid-ref-mod | ||||||
|  |  | ||||||
|  | # this sample gives an explicit size for a single NAL unit, but contains | ||||||
|  | # several NAL units | ||||||
|  | FATE_H264-$(call DEMDEC,  MOV, H264) += fate-h264-mixed-nal-coding | ||||||
|  |  | ||||||
| # this sample has invalid extradata that is not escaped | # this sample has invalid extradata that is not escaped | ||||||
| FATE_H264-$(call DEMDEC,  MOV, H264) += fate-h264-unescaped-extradata | FATE_H264-$(call DEMDEC,  MOV, H264) += fate-h264-unescaped-extradata | ||||||
|  |  | ||||||
| @@ -380,6 +384,7 @@ fate-h264-extreme-plane-pred:                     CMD = framemd5 -i $(TARGET_SAM | |||||||
| fate-h264-interlace-crop:                         CMD = framecrc -i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 -vframes 3 | fate-h264-interlace-crop:                         CMD = framecrc -i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 -vframes 3 | ||||||
| fate-h264-invalid-ref-mod:                        CMD = framecrc -i $(TARGET_SAMPLES)/h264/h264refframeregression.mp4 -an -frames 10 -pix_fmt yuv420p10le | fate-h264-invalid-ref-mod:                        CMD = framecrc -i $(TARGET_SAMPLES)/h264/h264refframeregression.mp4 -an -frames 10 -pix_fmt yuv420p10le | ||||||
| fate-h264-lossless:                               CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264 | fate-h264-lossless:                               CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264 | ||||||
|  | fate-h264-mixed-nal-coding:                       CMD = framecrc -i $(TARGET_SAMPLES)/h264/mixed-nal-coding.mp4 | ||||||
| fate-h264-unescaped-extradata:                    CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10 | fate-h264-unescaped-extradata:                    CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10 | ||||||
|  |  | ||||||
| fate-h264-reinit-%:                               CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288 | fate-h264-reinit-%:                               CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288 | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								tests/ref/fate/h264-mixed-nal-coding
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tests/ref/fate/h264-mixed-nal-coding
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | #tb 0: 1/30000 | ||||||
|  | 0,          0,          0,        0,   518400, 0x8f882e4d | ||||||
|  | 0,       1001,       1001,        0,   518400, 0xc5694144 | ||||||
|  | 0,       2002,       2002,        0,   518400, 0xcf0e9e3a | ||||||
|  | 0,       3003,       3003,        0,   518400, 0xf620e459 | ||||||
|  | 0,       4004,       4004,        0,   518400, 0x4566453e | ||||||
		Reference in New Issue
	
	Block a user