Hi, On Mon, 07. Dec 10:32, Harry Mallon wrote: > Signed-off-by: Harry Mallon <harry.mallon@codex.online> > --- > tests/fate/image.mak | 4 ++ > tests/ref/fate/dpx-probe | 85 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 89 insertions(+) > create mode 100644 tests/ref/fate/dpx-probe > > diff --git a/tests/fate/image.mak b/tests/fate/image.mak > index 22072a62f1..d18054d3d8 100644 > --- a/tests/fate/image.mak > +++ b/tests/fate/image.mak > @@ -97,6 +97,10 @@ fate-dpx: CMD = framecrc -i > $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx > FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += > fate-dpxparser > fate-dpxparser: CMD = framecrc -f image2pipe -i > $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact > > +FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx-probe > +fate-dpx-probe: SRC = $(TARGET_SAMPLES)/dpx/cyan.dpx > +fate-dpx-probe: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_streams > -show_frames -print_format default -bitexact -v 0 -i "$(SRC)" > + > FATE_EXR += fate-exr-slice-raw > fate-exr-slice-raw: CMD = framecrc -i > $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt gbrapf32le > > diff --git a/tests/ref/fate/dpx-probe b/tests/ref/fate/dpx-probe > new file mode 100644 > index 0000000000..a69c45ad29 > --- /dev/null > +++ b/tests/ref/fate/dpx-probe > @@ -0,0 +1,85 @@ > +[FRAME] > +media_type=video > +stream_index=0 > +key_frame=1 > +pkt_pts=0 > +pkt_pts_time=0.000000 > +pkt_dts=0 > +pkt_dts_time=0.000000 > +best_effort_timestamp=0 > +best_effort_timestamp_time=0.000000 > +pkt_duration=1 > +pkt_duration_time=0.040000 > +pkt_pos=0 > +pkt_size=419072 > +width=428 > +height=240 > +pix_fmt=gbrp10le > +sample_aspect_ratio=1:1 > +pict_type=? > +coded_picture_number=0 > +display_picture_number=0 > +interlaced_frame=0 > +top_field_first=0 > +repeat_pict=0 > +color_range=unknown > +color_space=unknown > +color_primaries=unknown > +color_transfer=unknown > +chroma_location=unspecified > +TAG:Creator=Apple Compressor > +TAG:Input Device= > +[/FRAME] > +[STREAM] > +index=0 > +codec_name=dpx > +profile=unknown > +codec_type=video > +codec_time_base=1/24 > +codec_tag_string=[0][0][0][0] > +codec_tag=0x0000 > +width=428 > +height=240 > +coded_width=428 > +coded_height=240 > +closed_captions=0 > +has_b_frames=0 > +sample_aspect_ratio=1:1 > +display_aspect_ratio=107:60 > +pix_fmt=gbrp10le > +level=-99 > +color_range=unknown > +color_space=unknown > +color_transfer=unknown > +color_primaries=unknown > +chroma_location=unspecified > +field_order=unknown > +timecode=N/A > +refs=1 > +id=N/A > +r_frame_rate=24/1 > +avg_frame_rate=0/0 > +time_base=1/25 > +start_pts=N/A > +start_time=N/A > +duration_ts=N/A > +duration=N/A > +bit_rate=N/A > +max_bit_rate=N/A > +bits_per_raw_sample=10 > +nb_frames=N/A > +nb_read_frames=1 > +nb_read_packets=N/A > +DISPOSITION:default=0 > +DISPOSITION:dub=0 > +DISPOSITION:original=0 > +DISPOSITION:comment=0 > +DISPOSITION:lyrics=0 > +DISPOSITION:karaoke=0 > +DISPOSITION:forced=0 > +DISPOSITION:hearing_impaired=0 > +DISPOSITION:visual_impaired=0 > +DISPOSITION:clean_effects=0 > +DISPOSITION:attached_pic=0 > +DISPOSITION:timed_thumbnails=0 > +[/STREAM]
This fails on big-endian PPC64 qemu: https://patchwork.ffmpeg.org/check/22076/ TEST dpx-probe --- ./tests/ref/fate/dpx-probe 2020-12-08 16:37:42.631082285 +0000 +++ tests/data/fate/dpx-probe 2020-12-08 16:54:05.673088160 +0000 @@ -14,7 +14,7 @@ pkt_size=419072 width=428 height=240 -pix_fmt=gbrp10le +pix_fmt=gbrp10be sample_aspect_ratio=1:1 pict_type=? coded_picture_number=0 @@ -46,7 +46,7 @@ has_b_frames=0 sample_aspect_ratio=1:1 display_aspect_ratio=107:60 -pix_fmt=gbrp10le +pix_fmt=gbrp10be level=-99 color_range=unknown color_space=unknown Test dpx-probe failed. Look at tests/data/fate/dpx-probe.err for details. tests/Makefile:255: recipe for target 'fate-dpx-probe' failed make: *** [fate-dpx-probe] Error 1 -- Andriy _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".