mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-07 11:13:41 +02:00
5ef1959080
This commit is initially largely based on commit4426540
from Anton Khirnov <anton@khirnov.net> and two following fixes (80fb19b
andfe7b21c
) which were previously skipped respectively in98e3153
,c9ee36e
, and7fe7cdc
. mpeg4-bsf-unpack-bframes FATE reference is updated because the bsf filter now actually fixes the extradata (mpeg4_unpack_bframes_init() changing one byte is now honored on the output extradata). The FATE references for remove_extra change because the packet flags were wrong and the keyframes weren't marked, causing the bsf relying on these proprieties to not actually work as intended. The following was fixed by James Almer: The filter option arguments are now also parsed correctly. A hack to propagate extradata changed by bitstream filters after the first av_bsf_receive_packet() call is added to maintain the current behavior. This was previously done by av_bitstream_filter_filter() and is needed for the aac_adtstoasc bsf. The exit_on_error was not being checked anymore, and led to an exit error in the last frame of h264_mp4toannexb test. Restoring this behaviour prevents erroring out. The test is still changed as a result due to the badly filtered frame now not being written after the failure. Signed-off-by: Clément Bœsch <u@pkh.me> Signed-off-by: James Almer <jamrial@gmail.com>
34 lines
1.8 KiB
Plaintext
34 lines
1.8 KiB
Plaintext
6196f1d6b59d16c045de627221d8685f *tests/data/fate/ffmpeg-bsf-remove-k.avi
|
|
130072 tests/data/fate/ffmpeg-bsf-remove-k.avi
|
|
#extradata 0: 30, 0x4a4d065a
|
|
#tb 0: 1/25
|
|
#media_type 0: video
|
|
#codec_id 0: mpeg4
|
|
#dimensions 0: 716x236
|
|
#sar 0: 1/1
|
|
0, 0, 0, 1, 20194, 0x174f64ac
|
|
0, 1, 1, 1, 17878, 0xc081a405, F=0x0
|
|
0, 2, 2, 1, 22723, 0x60935d28, F=0x0
|
|
0, 3, 3, 1, 18655, 0xe5c33ada, F=0x0
|
|
0, 4, 4, 1, 12928, 0x84d6a9d7, F=0x0
|
|
0, 5, 5, 1, 4788, 0xbf9e1939, F=0x0
|
|
0, 6, 6, 1, 3160, 0x867423c7, F=0x0
|
|
0, 7, 7, 1, 2049, 0x523ffd85, F=0x0
|
|
0, 8, 8, 1, 1440, 0x363ff725, F=0x0
|
|
0, 9, 9, 1, 1300, 0x0d3c9c74, F=0x0
|
|
0, 10, 10, 1, 1081, 0xbfb0365c, F=0x0
|
|
0, 11, 11, 1, 1011, 0x9d310f90, F=0x0
|
|
0, 12, 12, 1, 2543, 0x64500a0f
|
|
0, 13, 13, 1, 881, 0x7492d262, F=0x0
|
|
0, 14, 14, 1, 896, 0x1ff1d335, F=0x0
|
|
0, 15, 15, 1, 973, 0x72c1fc04, F=0x0
|
|
0, 16, 16, 1, 1075, 0xa5881d73, F=0x0
|
|
0, 17, 17, 1, 933, 0xf0aae974, F=0x0
|
|
0, 18, 18, 1, 1079, 0xbdce1b40, F=0x0
|
|
0, 19, 19, 1, 964, 0x323fe4ab, F=0x0
|
|
0, 20, 20, 1, 1015, 0x78a4fe96, F=0x0
|
|
0, 21, 21, 1, 990, 0x9cd4ff25, F=0x0
|
|
0, 22, 22, 1, 1093, 0x98712e2e, F=0x0
|
|
0, 23, 23, 1, 1200, 0x37957156, F=0x0
|
|
0, 24, 24, 1, 2881, 0xbb1feefb
|