Using https://openexr.com/en/latest/HelloWorld.html as example

so for now I have base

commit d51dc1ff2dbd920c6488af4380b8064c9b6a7b4c (origin/master, origin/HEAD)
Author: Good Guy <[email protected]>
Date:   Tue Aug 29 20:20:10 2023 -0600

    Credit Andrew - rest of fix for Arch (and termux) which includes
thirdparty/Makefile


plus

commit afa6a601fd3228be18aef413061b3d0165344d7c (HEAD -> master)
Author: Andrew Randrianasulu <[email protected]>
Date:   Wed Aug 30 07:27:57 2023 +0300

    Fileext reading error handling for bg render

commit cac447973db936f7d5594c83521c34f3e5a9c187
Author: Andrew Randrianasulu <[email protected]>
Date:   Wed Aug 30 05:27:10 2023 +0300

    Add libjpeg dep to.libtiff in thirdparty/Makefile

commit 8297b38e49da0ce73e119138c158e806eb1fb45d
Author: Andrew Randrianasulu <[email protected]>
Date:   Wed Aug 30 02:48:47 2023 +0300

    Possible fix for ffmpeg 4.4 in pluginfclient.C

====

so, ffmpeg 5.1 based cin seems to work on Slackware 15.0 i586 (with
some self-build packages).

Tested adding ffmpeg video filter to video track, and of course
background render with  on-the-fly compressor switch.

aggrh, in commit message fileert instead of fileexr. I hope this is
not a big problem



will try  my virtual machines next
From afa6a601fd3228be18aef413061b3d0165344d7c Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Wed, 30 Aug 2023 07:27:57 +0300
Subject: [PATCH] Fileext reading error handling for bg render

---
 cinelerra-5.1/cinelerra/fileexr.C | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/cinelerra-5.1/cinelerra/fileexr.C b/cinelerra-5.1/cinelerra/fileexr.C
index e786d4e9..a705f6c8 100644
--- a/cinelerra-5.1/cinelerra/fileexr.C
+++ b/cinelerra-5.1/cinelerra/fileexr.C
@@ -312,6 +312,9 @@ int FileEXR::read_frame_header(char *path)
 
 int FileEXR::read_frame(VFrame *frame, VFrame *data)
 {
+
+    try {
+
 	Imf::setGlobalThreadCount(file->cpus);
 	EXRIStream exr_stream((char*)data->get_data(), data->get_compressed_size());
 	Imf::InputFile file(exr_stream);
@@ -426,6 +429,10 @@ int FileEXR::read_frame(VFrame *frame, VFrame *data)
 		}
 	}
 	return 0;
+    } catch (const std::exception &e) {
+    std::cerr << "error reading EXR image file:" << e.what() << std::endl;
+    return 1;
+    }
 }
 
 
-- 
2.35.7

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to