mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 03:28:27 +00:00
tests: update fate-ffprobe test to make use of -bitexact flag
Should fix tests with --enable-small.
This commit is contained in:
parent
42047c3e86
commit
ab4ee9fd5e
@ -1,5 +1,5 @@
|
||||
FFPROBE_TEST_FILE=tests/data/ffprobe-test.nut
|
||||
FFPROBE_COMMAND=ffprobe$(EXESUF) -show_streams -show_packets -show_format -show_frames $(FFPROBE_TEST_FILE)
|
||||
FFPROBE_COMMAND=ffprobe$(EXESUF) -show_streams -show_packets -show_format -show_frames -bitexact $(FFPROBE_TEST_FILE)
|
||||
|
||||
FATE_FFPROBE += fate-ffprobe_compact
|
||||
fate-ffprobe_compact: $(FFPROBE_TEST_FILE)
|
||||
|
@ -26,7 +26,7 @@ packet|codec_type=video|stream_index=1|pts=3|pts_time=0.120000|dts=3|dts_time=0.
|
||||
frame|media_type=video|key_frame=1|pkt_pts=3|pkt_pts_time=0.120000|pkt_dts=3|pkt_dts_time=0.120000|pkt_duration=1|pkt_duration_time=0.040000|pkt_pos=794127|width=320|height=240|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_number=0|display_picture_number=0|interlaced_frame=0|top_field_first=0|repeat_pict=0|reference=0
|
||||
packet|codec_type=video|stream_index=2|pts=3|pts_time=0.120000|dts=3|dts_time=0.120000|duration=1|duration_time=0.040000|convergence_duration=N/A|convergence_duration_time=N/A|size=30000|pos=1024549|flags=K
|
||||
frame|media_type=video|key_frame=1|pkt_pts=3|pkt_pts_time=0.120000|pkt_dts=3|pkt_dts_time=0.120000|pkt_duration=1|pkt_duration_time=0.040000|pkt_pos=1024549|width=100|height=100|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_number=0|display_picture_number=0|interlaced_frame=0|top_field_first=0|repeat_pict=0|reference=0
|
||||
stream|index=0|codec_name=pcm_s16le|codec_long_name=PCM signed 16-bit little-endian|profile=unknown|codec_type=audio|codec_time_base=1/44100|codec_tag_string=[1][0][0][0]|codec_tag=0x0001|default=0|forced=0|sample_fmt=s16|sample_rate=44100|channels=1|bits_per_sample=16|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/44100|start_pts=0|start_time=0.000000|duration_ts=527312|duration=11.957188|bit_rate=705600|nb_frames=N/A|nb_read_frames=6|nb_read_packets=6
|
||||
stream|index=1|codec_name=rawvideo|codec_long_name=raw video|profile=unknown|codec_type=video|codec_time_base=1/25|codec_tag_string=RGB[24]|codec_tag=0x18424752|default=0|forced=0|width=320|height=240|has_b_frames=0|sample_aspect_ratio=1:1|display_aspect_ratio=4:3|pix_fmt=rgb24|level=-99|timecode=N/A|attached_pic=0|id=N/A|r_frame_rate=25/1|avg_frame_rate=0/0|time_base=1/25|start_pts=0|start_time=0.000000|duration_ts=299|duration=11.960000|bit_rate=N/A|nb_frames=N/A|nb_read_frames=4|nb_read_packets=4
|
||||
stream|index=2|codec_name=rawvideo|codec_long_name=raw video|profile=unknown|codec_type=video|codec_time_base=1/25|codec_tag_string=RGB[24]|codec_tag=0x18424752|default=0|forced=0|width=100|height=100|has_b_frames=0|sample_aspect_ratio=1:1|display_aspect_ratio=1:1|pix_fmt=rgb24|level=-99|timecode=N/A|attached_pic=0|id=N/A|r_frame_rate=25/1|avg_frame_rate=0/0|time_base=1/25|start_pts=0|start_time=0.000000|duration_ts=299|duration=11.960000|bit_rate=N/A|nb_frames=N/A|nb_read_frames=4|nb_read_packets=4
|
||||
format|filename=tests/data/ffprobe-test.nut|nb_streams=3|format_name=nut|format_long_name=NUT|start_time=0.000000|duration=11.960000|size=1054624|bit_rate=705434|tag:title=ffprobe test file|tag:comment='A comment wih CSV, XML & JSON special chars': <tag value="x">|tag:comment2=I ♥ Üñîçød€
|
||||
stream|index=0|codec_name=pcm_s16le|profile=unknown|codec_type=audio|codec_time_base=1/44100|codec_tag_string=[1][0][0][0]|codec_tag=0x0001|default=0|forced=0|sample_fmt=s16|sample_rate=44100|channels=1|bits_per_sample=16|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/44100|start_pts=0|start_time=0.000000|duration_ts=527312|duration=11.957188|bit_rate=705600|nb_frames=N/A|nb_read_frames=6|nb_read_packets=6
|
||||
stream|index=1|codec_name=rawvideo|profile=unknown|codec_type=video|codec_time_base=1/25|codec_tag_string=RGB[24]|codec_tag=0x18424752|default=0|forced=0|width=320|height=240|has_b_frames=0|sample_aspect_ratio=1:1|display_aspect_ratio=4:3|pix_fmt=rgb24|level=-99|timecode=N/A|attached_pic=0|id=N/A|r_frame_rate=25/1|avg_frame_rate=0/0|time_base=1/25|start_pts=0|start_time=0.000000|duration_ts=299|duration=11.960000|bit_rate=N/A|nb_frames=N/A|nb_read_frames=4|nb_read_packets=4
|
||||
stream|index=2|codec_name=rawvideo|profile=unknown|codec_type=video|codec_time_base=1/25|codec_tag_string=RGB[24]|codec_tag=0x18424752|default=0|forced=0|width=100|height=100|has_b_frames=0|sample_aspect_ratio=1:1|display_aspect_ratio=1:1|pix_fmt=rgb24|level=-99|timecode=N/A|attached_pic=0|id=N/A|r_frame_rate=25/1|avg_frame_rate=0/0|time_base=1/25|start_pts=0|start_time=0.000000|duration_ts=299|duration=11.960000|bit_rate=N/A|nb_frames=N/A|nb_read_frames=4|nb_read_packets=4
|
||||
format|filename=tests/data/ffprobe-test.nut|nb_streams=3|format_name=nut|start_time=0.000000|duration=11.960000|size=1054624|bit_rate=705434|tag:title=ffprobe test file|tag:comment='A comment wih CSV, XML & JSON special chars': <tag value="x">|tag:comment2=I ♥ Üñîçød€
|
||||
|
@ -26,7 +26,7 @@ packet,video,1,3,0.120000,3,0.120000,1,0.040000,N/A,N/A,230400,794127,K
|
||||
frame,video,1,3,0.120000,3,0.120000,1,0.040000,794127,320,240,rgb24,1:1,I,0,0,0,0,0,0
|
||||
packet,video,2,3,0.120000,3,0.120000,1,0.040000,N/A,N/A,30000,1024549,K
|
||||
frame,video,1,3,0.120000,3,0.120000,1,0.040000,1024549,100,100,rgb24,1:1,I,0,0,0,0,0,0
|
||||
stream,0,pcm_s16le,PCM signed 16-bit little-endian,unknown,audio,1/44100,[1][0][0][0],0x0001,0,0,s16,44100,1,16,N/A,0/0,0/0,1/44100,0,0.000000,527312,11.957188,705600,N/A,6,6
|
||||
stream,1,rawvideo,raw video,unknown,video,1/25,RGB[24],0x18424752,0,0,320,240,0,1:1,4:3,rgb24,-99,N/A,0,N/A,25/1,0/0,1/25,0,0.000000,299,11.960000,N/A,N/A,4,4
|
||||
stream,2,rawvideo,raw video,unknown,video,1/25,RGB[24],0x18424752,0,0,100,100,0,1:1,1:1,rgb24,-99,N/A,0,N/A,25/1,0/0,1/25,0,0.000000,299,11.960000,N/A,N/A,4,4
|
||||
format,tests/data/ffprobe-test.nut,3,nut,NUT,0.000000,11.960000,1054624,705434,ffprobe test file,"'A comment wih CSV, XML & JSON special chars': <tag value=""x"">",I ♥ Üñîçød€
|
||||
stream,0,pcm_s16le,unknown,audio,1/44100,[1][0][0][0],0x0001,0,0,s16,44100,1,16,N/A,0/0,0/0,1/44100,0,0.000000,527312,11.957188,705600,N/A,6,6
|
||||
stream,1,rawvideo,unknown,video,1/25,RGB[24],0x18424752,0,0,320,240,0,1:1,4:3,rgb24,-99,N/A,0,N/A,25/1,0/0,1/25,0,0.000000,299,11.960000,N/A,N/A,4,4
|
||||
stream,2,rawvideo,unknown,video,1/25,RGB[24],0x18424752,0,0,100,100,0,1:1,1:1,rgb24,-99,N/A,0,N/A,25/1,0/0,1/25,0,0.000000,299,11.960000,N/A,N/A,4,4
|
||||
format,tests/data/ffprobe-test.nut,3,nut,0.000000,11.960000,1054624,705434,ffprobe test file,"'A comment wih CSV, XML & JSON special chars': <tag value=""x"">",I ♥ Üñîçød€
|
||||
|
@ -477,7 +477,6 @@ reference=0
|
||||
[STREAM]
|
||||
index=0
|
||||
codec_name=pcm_s16le
|
||||
codec_long_name=PCM signed 16-bit little-endian
|
||||
profile=unknown
|
||||
codec_type=audio
|
||||
codec_time_base=1/44100
|
||||
@ -505,7 +504,6 @@ nb_read_packets=6
|
||||
[STREAM]
|
||||
index=1
|
||||
codec_name=rawvideo
|
||||
codec_long_name=raw video
|
||||
profile=unknown
|
||||
codec_type=video
|
||||
codec_time_base=1/25
|
||||
@ -538,7 +536,6 @@ nb_read_packets=4
|
||||
[STREAM]
|
||||
index=2
|
||||
codec_name=rawvideo
|
||||
codec_long_name=raw video
|
||||
profile=unknown
|
||||
codec_type=video
|
||||
codec_time_base=1/25
|
||||
@ -572,7 +569,6 @@ nb_read_packets=4
|
||||
filename=tests/data/ffprobe-test.nut
|
||||
nb_streams=3
|
||||
format_name=nut
|
||||
format_long_name=NUT
|
||||
start_time=0.000000
|
||||
duration=11.960000
|
||||
size=1054624
|
||||
|
@ -420,7 +420,6 @@ packets_and_frames.frame.13.repeat_pict=0
|
||||
packets_and_frames.frame.13.reference=0
|
||||
streams.stream.0.index=0
|
||||
streams.stream.0.codec_name="pcm_s16le"
|
||||
streams.stream.0.codec_long_name="PCM signed 16-bit little-endian"
|
||||
streams.stream.0.profile="unknown"
|
||||
streams.stream.0.codec_type="audio"
|
||||
streams.stream.0.codec_time_base="1/44100"
|
||||
@ -446,7 +445,6 @@ streams.stream.0.nb_read_frames="6"
|
||||
streams.stream.0.nb_read_packets="6"
|
||||
streams.stream.1.index=1
|
||||
streams.stream.1.codec_name="rawvideo"
|
||||
streams.stream.1.codec_long_name="raw video"
|
||||
streams.stream.1.profile="unknown"
|
||||
streams.stream.1.codec_type="video"
|
||||
streams.stream.1.codec_time_base="1/25"
|
||||
@ -477,7 +475,6 @@ streams.stream.1.nb_read_frames="4"
|
||||
streams.stream.1.nb_read_packets="4"
|
||||
streams.stream.2.index=2
|
||||
streams.stream.2.codec_name="rawvideo"
|
||||
streams.stream.2.codec_long_name="raw video"
|
||||
streams.stream.2.profile="unknown"
|
||||
streams.stream.2.codec_type="video"
|
||||
streams.stream.2.codec_time_base="1/25"
|
||||
@ -509,7 +506,6 @@ streams.stream.2.nb_read_packets="4"
|
||||
format.filename="tests/data/ffprobe-test.nut"
|
||||
format.nb_streams=3
|
||||
format.format_name="nut"
|
||||
format.format_long_name="NUT"
|
||||
format.start_time="0.000000"
|
||||
format.duration="11.960000"
|
||||
format.size="1054624"
|
||||
|
@ -479,7 +479,6 @@ reference=0
|
||||
[streams.stream.0]
|
||||
index=0
|
||||
codec_name=pcm_s16le
|
||||
codec_long_name=PCM signed 16-bit little-endian
|
||||
profile=unknown
|
||||
codec_type=audio
|
||||
codec_time_base=1/44100
|
||||
@ -507,7 +506,6 @@ nb_read_packets=6
|
||||
[streams.stream.1]
|
||||
index=1
|
||||
codec_name=rawvideo
|
||||
codec_long_name=raw video
|
||||
profile=unknown
|
||||
codec_type=video
|
||||
codec_time_base=1/25
|
||||
@ -540,7 +538,6 @@ nb_read_packets=4
|
||||
[streams.stream.2]
|
||||
index=2
|
||||
codec_name=rawvideo
|
||||
codec_long_name=raw video
|
||||
profile=unknown
|
||||
codec_type=video
|
||||
codec_time_base=1/25
|
||||
@ -574,7 +571,6 @@ nb_read_packets=4
|
||||
filename=tests/data/ffprobe-test.nut
|
||||
nb_streams=3
|
||||
format_name=nut
|
||||
format_long_name=NUT
|
||||
start_time=0.000000
|
||||
duration=11.960000
|
||||
size=1054624
|
||||
|
@ -475,7 +475,6 @@
|
||||
{
|
||||
"index": 0,
|
||||
"codec_name": "pcm_s16le",
|
||||
"codec_long_name": "PCM signed 16-bit little-endian",
|
||||
"codec_type": "audio",
|
||||
"codec_time_base": "1/44100",
|
||||
"codec_tag_string": "[1][0][0][0]",
|
||||
@ -500,7 +499,6 @@
|
||||
{
|
||||
"index": 1,
|
||||
"codec_name": "rawvideo",
|
||||
"codec_long_name": "raw video",
|
||||
"codec_type": "video",
|
||||
"codec_time_base": "1/25",
|
||||
"codec_tag_string": "RGB[24]",
|
||||
@ -528,7 +526,6 @@
|
||||
{
|
||||
"index": 2,
|
||||
"codec_name": "rawvideo",
|
||||
"codec_long_name": "raw video",
|
||||
"codec_type": "video",
|
||||
"codec_time_base": "1/25",
|
||||
"codec_tag_string": "RGB[24]",
|
||||
@ -558,7 +555,6 @@
|
||||
"filename": "tests/data/ffprobe-test.nut",
|
||||
"nb_streams": 3,
|
||||
"format_name": "nut",
|
||||
"format_long_name": "NUT",
|
||||
"start_time": "0.000000",
|
||||
"duration": "11.960000",
|
||||
"size": "1054624",
|
||||
|
@ -32,12 +32,12 @@
|
||||
</packets_and_frames>
|
||||
|
||||
<streams>
|
||||
<stream index="0" codec_name="pcm_s16le" codec_long_name="PCM signed 16-bit little-endian" codec_type="audio" codec_time_base="1/44100" codec_tag_string="[1][0][0][0]" codec_tag="0x0001" default="0" forced="0" sample_fmt="s16" sample_rate="44100" channels="1" bits_per_sample="16" r_frame_rate="0/0" avg_frame_rate="0/0" time_base="1/44100" start_pts="0" start_time="0.000000" duration_ts="527312" duration="11.957188" bit_rate="705600" nb_read_frames="6" nb_read_packets="6"/>
|
||||
<stream index="1" codec_name="rawvideo" codec_long_name="raw video" codec_type="video" codec_time_base="1/25" codec_tag_string="RGB[24]" codec_tag="0x18424752" default="0" forced="0" width="320" height="240" has_b_frames="0" sample_aspect_ratio="1:1" display_aspect_ratio="4:3" pix_fmt="rgb24" level="-99" attached_pic="0" r_frame_rate="25/1" avg_frame_rate="0/0" time_base="1/25" start_pts="0" start_time="0.000000" duration_ts="299" duration="11.960000" nb_read_frames="4" nb_read_packets="4"/>
|
||||
<stream index="2" codec_name="rawvideo" codec_long_name="raw video" codec_type="video" codec_time_base="1/25" codec_tag_string="RGB[24]" codec_tag="0x18424752" default="0" forced="0" width="100" height="100" has_b_frames="0" sample_aspect_ratio="1:1" display_aspect_ratio="1:1" pix_fmt="rgb24" level="-99" attached_pic="0" r_frame_rate="25/1" avg_frame_rate="0/0" time_base="1/25" start_pts="0" start_time="0.000000" duration_ts="299" duration="11.960000" nb_read_frames="4" nb_read_packets="4"/>
|
||||
<stream index="0" codec_name="pcm_s16le" codec_type="audio" codec_time_base="1/44100" codec_tag_string="[1][0][0][0]" codec_tag="0x0001" default="0" forced="0" sample_fmt="s16" sample_rate="44100" channels="1" bits_per_sample="16" r_frame_rate="0/0" avg_frame_rate="0/0" time_base="1/44100" start_pts="0" start_time="0.000000" duration_ts="527312" duration="11.957188" bit_rate="705600" nb_read_frames="6" nb_read_packets="6"/>
|
||||
<stream index="1" codec_name="rawvideo" codec_type="video" codec_time_base="1/25" codec_tag_string="RGB[24]" codec_tag="0x18424752" default="0" forced="0" width="320" height="240" has_b_frames="0" sample_aspect_ratio="1:1" display_aspect_ratio="4:3" pix_fmt="rgb24" level="-99" attached_pic="0" r_frame_rate="25/1" avg_frame_rate="0/0" time_base="1/25" start_pts="0" start_time="0.000000" duration_ts="299" duration="11.960000" nb_read_frames="4" nb_read_packets="4"/>
|
||||
<stream index="2" codec_name="rawvideo" codec_type="video" codec_time_base="1/25" codec_tag_string="RGB[24]" codec_tag="0x18424752" default="0" forced="0" width="100" height="100" has_b_frames="0" sample_aspect_ratio="1:1" display_aspect_ratio="1:1" pix_fmt="rgb24" level="-99" attached_pic="0" r_frame_rate="25/1" avg_frame_rate="0/0" time_base="1/25" start_pts="0" start_time="0.000000" duration_ts="299" duration="11.960000" nb_read_frames="4" nb_read_packets="4"/>
|
||||
</streams>
|
||||
|
||||
<format filename="tests/data/ffprobe-test.nut" nb_streams="3" format_name="nut" format_long_name="NUT" start_time="0.000000" duration="11.960000" size="1054624" bit_rate="705434">
|
||||
<format filename="tests/data/ffprobe-test.nut" nb_streams="3" format_name="nut" start_time="0.000000" duration="11.960000" size="1054624" bit_rate="705434">
|
||||
<tag key="title" value="ffprobe test file"/>
|
||||
<tag key="comment" value="'A comment wih CSV, XML & JSON special chars': <tag value="x">"/>
|
||||
<tag key="comment2" value="I ♥ Üñîçød€"/>
|
||||
|
Loading…
Reference in New Issue
Block a user