[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64452] [octave forge] (struct) Fix cleaning o
From: |
Rafael Laboissière |
Subject: |
[Octave-bug-tracker] [bug #64452] [octave forge] (struct) Fix cleaning of files in src/Makefile.in |
Date: |
Thu, 20 Jul 2023 10:50:18 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64452>
Summary: [octave forge] (struct) Fix cleaning of files in
src/Makefile.in
Group: GNU Octave
Submitter: rlaboiss
Submitted: Thu 20 Jul 2023 02:50:16 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: other
Discussion Lock: Any
Operating System: GNU/Linux
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 20 Jul 2023 02:50:16 PM UTC By: Rafael Laboissière <rlaboiss>
This is probably a resurrection of bug #58451. The ppc64el autobuilder for the
Debian package octave-video (version 2.1.1) choked on the BIST in
VideoWriter.m that writes/reads rainbow.mp4. The full log can be seen
[https://buildd.debian.org/status/fetch.php?pkg=octave-video&arch=ppc64el&ver=2.1.1-1&stamp=1689797515&raw=0
here] and this is the relevant part:
***** test
fn = fullfile (tempdir(), "rainbow.mp4");
width = 200;
height = 150;
nframes = 120;
p = permute (rainbow (width), [3 1 2]);
raw_video = zeros (height, width, 3, nframes);
w = VideoWriter (fn);
for k=1:nframes
ps = circshift (p, k * 6);
img = uint8 (255 * repmat (ps, height, 1));
raw_video (:, :, :, k) = img;
writeVideo (w, img);
endfor
close (w)
## read video and compare
clear -x raw_video fn
r = VideoReader (fn);
for k=1:size (raw_video, 4)
img = readFrame (r);
d = double (img) - raw_video(:,:,:,k);
# FIXME: This write/read roundtrip check doesn't work well due to
compression artifacts
# see also bug #58451 (https://savannah.gnu.org/bugs/?58451)
# what would be a better way?
rel_err = sum (abs(d(:)))/numel(d)/255;
warn_thres = 0.025;
if (rel_err > warn_thres)
warning ("The realtive deviation exceeds the given threshold (%.3f >
%.3f).\n\
Please inspect '%s' manually. You should see a horizontal rainbow running
from left to right.", rel_err, warn_thres, fn);
endif
assert (rel_err < 2 * warn_thres)
endfor
close (r);
[swscaler @ 0x100115a7840] ALTIVEC: Color Space BGR24
warning: The realtive deviation exceeds the given threshold (0.148 > 0.025).
Please inspect '/tmp/rainbow.mp4' manually. You should see a horizontal
rainbow running from left to right.
warning: called from
__test__ at line 29 column 6
test at line 682 column 11
/tmp/tmp.U4KNDwlVn4 at line 14 column 31
!!!!! test failed
assert (rel_err < 2 * warn_thres) failed
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64452>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64452] [octave forge] (struct) Fix cleaning of files in src/Makefile.in,
Rafael Laboissière <=
- [Octave-bug-tracker] [bug #64452] [octave forge] (struct) Fix cleaning of files in src/Makefile.in, Rafael Laboissière, 2023/07/20
- [Octave-bug-tracker] [bug #64452] [octave forge] (video) BIST in VideoWriter.m fails on ppc64el, Markus Mützel, 2023/07/20
- [Octave-bug-tracker] [bug #64452] [octave forge] (video) BIST in VideoWriter.m fails on ppc64el, Andreas Weber, 2023/07/21
- [Octave-bug-tracker] [bug #64452] [octave forge] (video) BIST in VideoWriter.m fails on ppc64el, Andreas Weber, 2023/07/21
- [Octave-bug-tracker] [bug #64452] [octave forge] (video) BIST in VideoWriter.m fails on ppc64el, Rafael Laboissière, 2023/07/23
- [Octave-bug-tracker] [bug #64452] [octave forge] (video) BIST in VideoWriter.m fails on ppc64el, Rafael Laboissière, 2023/07/23
- [Octave-bug-tracker] [bug #64452] [octave forge] (video) BIST in VideoWriter.m fails on ppc64el, Andreas Weber, 2023/07/23
- [Octave-bug-tracker] [bug #64452] [octave forge] (video) BIST in VideoWriter.m fails on ppc64el, Dmitri A. Sergatskov, 2023/07/23